Skip to content

Commit

Permalink
wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
cosenal committed Jul 26, 2024
1 parent ec15b64 commit 5b5198a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mitiq/pt/pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def generate_pauli_twirl_variants(
noise on these gates.
Returns:
A list of `num_circuits` twirled versions of `circuit`
A list of `num_circuits` twirled versions of `circuit`
"""
CNOT_twirled_circuits = twirl_CNOT_gates(circuit, num_circuits)
twirled_circuits = [
Expand Down
3 changes: 2 additions & 1 deletion mitiq/pt/tests/test_pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def test_generate_pauli_twirl_variants():


@pytest.mark.parametrize(
"twirl_func", [generate_pauli_twirl_variants, twirl_CNOT_gates, twirl_CZ_gates]
"twirl_func",
[generate_pauli_twirl_variants, twirl_CNOT_gates, twirl_CZ_gates],
)
def test_no_CNOT_CZ_circuit(twirl_func):
num_qubits = 2
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-cirq.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is redundant, since Cirq is the core internal representation
# for quantum circuits in Mitiq.
# Keeping this file anyway for consistency with other integrations.
cirq-core>=1.0.0,<1.5.0
cirq-core>=1.0.0,<1.4.0

0 comments on commit 5b5198a

Please sign in to comment.