Skip to content

Commit 78233bd

Browse files
committed
delete duplicate test
1 parent b093f33 commit 78233bd

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

tests/qiskit_convert_test.py

+1-22
Original file line numberDiff line numberDiff line change
@@ -1274,27 +1274,6 @@ def test_ifelseop_one_branch() -> None:
12741274
assert tket_circ_if_else == expected_circ
12751275

12761276

1277-
def test_ifelseop_multi_bit_cond() -> None:
1278-
qreg = QuantumRegister(2, "q")
1279-
creg = ClassicalRegister(2, "c")
1280-
circuit = QuantumCircuit(creg, qreg)
1281-
(q0, q1) = qreg
1282-
(c0, c1) = creg
1283-
1284-
circuit.h(q0)
1285-
circuit.h(q1)
1286-
circuit.measure(q0, c0)
1287-
circuit.measure(q1, c1)
1288-
with circuit.if_test((creg, 2)):
1289-
circuit.x(q0)
1290-
circuit.x(q1)
1291-
circuit.measure(q0, c0)
1292-
circuit.measure(q1, c1)
1293-
# This currently gives an error as register exp not supported.
1294-
with pytest.raises(NotImplementedError):
1295-
qiskit_to_tk(circuit)
1296-
1297-
12981277
# https://github.com/CQCL/pytket-qiskit/issues/452
12991278
def test_ifelseop_reg_cond() -> None:
13001279
qreg = QuantumRegister(2, "q")
@@ -1313,7 +1292,7 @@ def test_ifelseop_reg_cond() -> None:
13131292
circuit.x(q1)
13141293
circuit.measure(q0, c0)
13151294
circuit.measure(q1, c1)
1316-
tkc: Circuit = qiskit_to_tk(circuit)
1295+
_: Circuit = qiskit_to_tk(circuit)
13171296

13181297

13191298
def test_range_preds_with_conditionals() -> None:

0 commit comments

Comments
 (0)