Skip to content

Commit 3a2869d

Browse files
committed
🔥 Remove transpilation from new test
Signed-off-by: burgholzer <burgholzer@me.com>
1 parent ec0998b commit 3a2869d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

test/python/plugins/qiskit/test_backend.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import numpy as np
1616
import pytest
17-
from qiskit import QuantumCircuit, transpile
17+
from qiskit import QuantumCircuit
1818
from qiskit.circuit import Parameter
1919
from qiskit.circuit.library import UnitaryGate
2020
from qiskit.providers import JobStatus
@@ -572,10 +572,7 @@ def test_backend_supports_multicontrolled_gates(ddsim_backend: QDMIBackend) -> N
572572
qc.mcp(1.5708, [0, 1], 2) # Multi-controlled Phase
573573
qc.measure_all()
574574

575-
transpiled_qc = transpile(qc, ddsim_backend)
576-
assert qc == transpiled_qc, "Transpilation should not modify the circuit for supported gates"
577-
578-
job = ddsim_backend.run(transpiled_qc, shots=100)
575+
job = ddsim_backend.run(qc, shots=100)
579576
counts = job.result().get_counts()
580577
assert sum(counts.values()) == 100
581578

0 commit comments

Comments
 (0)