Skip to content

Commit

Permalink
Fix typo and use cirq.ops.SimpleQubitManager since dependence is not …
Browse files Browse the repository at this point in the history
…up to date
  • Loading branch information
tanujkhattar committed Oct 9, 2023
1 parent 0c2c82d commit 3e491bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qualtran/cirq_interop/_interop_qubit_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import cirq


class InteropQubitManager(cirq.SimpleQubitManager):
class InteropQubitManager(cirq.ops.SimpleQubitManager):
"""Qubit Manager to use to facilitate interop of Cirq gates and Bloqs."""

def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion qualtran/cirq_interop/_interop_qubit_manager_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_interop_qubit_manager():
q = cirq.q('junk')
with pytest.raises(ValueError, match='not allocated'):
qm.qfree([q])
# You can add delegate qubits to be "managed" by the InteropQubitManager.
# You can delegate qubits to be "managed" by the InteropQubitManager.
qm.manage_qubits([q])
qm.qfree([q])
# q was already deallocated.
Expand Down

0 comments on commit 3e491bd

Please sign in to comment.