Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
3dd392c8
Unverified
Commit
3dd392c8
authored
Nov 19, 2019
by
Mccaskey, Alex
Committed by
GitHub
Nov 19, 2019
Browse files
Update bell_aer_readout_error.py
parent
5500c664
Pipeline
#80566
passed with stage
in 3 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/examples/bell_aer_readout_error.py
View file @
3dd392c8
...
...
@@ -8,7 +8,7 @@ qpu = xacc.getAccelerator(
# Define the quantum kernel in standard Python
@
xacc
.
qpu
(
accelerator
=
qpu
)
def
bell
(
q
bits
):
def
bell
(
q
):
H
(
q
[
0
])
CX
(
q
[
0
],
q
[
1
])
Measure
(
q
[
0
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment