Skip to content

Commit

Permalink
doc: correct the example in the measure docstring (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashlhans committed May 3, 2024
1 parent d966222 commit 84c3bb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/braket/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,6 @@ def measure(self, target_qubits: QubitSetInput) -> Circuit:
[Instruction('operator': H('qubit_count': 1), 'target': QubitSet([Qubit(0)]),
Instruction('operator': CNot('qubit_count': 2), 'target': QubitSet([Qubit(0),
Qubit(1)]),
Instruction('operator': H('qubit_count': 1), 'target': QubitSet([Qubit(2)]),
Instruction('operator': Measure, 'target': QubitSet([Qubit(0)])]
"""
if not isinstance(target_qubits, Iterable):
Expand Down

0 comments on commit 84c3bb7

Please sign in to comment.