Skip to content

Commit 01625cc

Browse files
committed
Fix typo in qpy compat test
1 parent 39382bc commit 01625cc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/qpy_compat/test_qpy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,10 @@ def generate_delay_stretch():
968968
import uuid
969969

970970
stretch_expr = QuantumCircuit(name="stretch_expr")
971-
s = expr.Stretch(uuid.UUID(bytes=b"hello, qpy world", version=4), "a")
971+
s = expr.Stretch(uuid.UUID(bytes=b"hallo, QPY_world", version=4), "a")
972972
stretch = stretch_expr.add_stretch(s)
973973
qc = QuantumCircuit(1)
974+
qc.add_stretch(stretch)
974975
qc.delay(stretch)
975976
return [qc]
976977

0 commit comments

Comments
 (0)