diff --git a/tests/test_models_circuit.py b/tests/test_models_circuit.py index 8ffa586740..c6a72a39ff 100644 --- a/tests/test_models_circuit.py +++ b/tests/test_models_circuit.py @@ -351,19 +351,19 @@ def test_circuit_light_cone(): OPENQASM 2.0; include "qelib1.inc"; qreg q[6]; -ry(0) q[0]; -ry(0) q[1]; -ry(0) q[2]; -ry(0) q[3]; -ry(0) q[4]; -ry(0) q[5]; +ry(0.0) q[0]; +ry(0.0) q[1]; +ry(0.0) q[2]; +ry(0.0) q[3]; +ry(0.0) q[4]; +ry(0.0) q[5]; cz q[0],q[1]; cz q[2],q[3]; cz q[4],q[5]; -ry(0) q[1]; -ry(0) q[2]; -ry(0) q[3]; -ry(0) q[4]; +ry(0.0) q[1]; +ry(0.0) q[2]; +ry(0.0) q[3]; +ry(0.0) q[4]; cz q[1],q[2]; cz q[3],q[4];""" assert qubit_map == {2: 0, 3: 1, 4: 2, 5: 3, 6: 4, 7: 5}