Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Nov 30, 2023
1 parent af3f00c commit 82ee0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/compiler/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
from qiskit.exceptions import QiskitError
from qiskit.providers.backend import BackendV2
from qiskit.providers.fake_provider import FakeGeneric
from qiskit.providers.fake_provider import Fake5QV1, Fake20QV1
from qiskit.providers.fake_provider import Fake20QV1
from qiskit.providers.options import Options
from qiskit.pulse import InstructionScheduleMap
from qiskit.quantum_info import Operator, random_unitary
Expand Down Expand Up @@ -298,7 +298,7 @@ def test_transpile_qft_grid(self):

for instruction in new_circuit.data:
if isinstance(instruction.operation, CXGate):
self.assertIn([qubit_indices[x] for x in instruction.qubits], coupling_map)
self.assertIn([qubit_indices[x] for x in instruction.qubits], RUESCHLIKON_CMAP)

def test_already_mapped_1(self):
"""Circuit not remapped if matches topology.
Expand Down

0 comments on commit 82ee0a1

Please sign in to comment.