Skip to content

Commit

Permalink
Update test_qpy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adjs committed Apr 21, 2023
1 parent 17ce419 commit fab1c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/qpy_compat/test_qpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def generate_controlled_gates():
custom_gate = Gate("black_box", 1, [])
custom_definition = QuantumCircuit(1)
custom_definition.h(0)
custom_definition.rz(1.5, 0)
custom_definition.p(1.5, 0)
custom_definition.sdg(0)
custom_gate.definition = custom_definition
nested_qc = QuantumCircuit(3, name="nested_qc")
Expand All @@ -561,7 +561,7 @@ def generate_open_controlled_gates():
custom_gate = Gate("black_box", 1, [])
custom_definition = QuantumCircuit(1)
custom_definition.h(0)
custom_definition.rz(1.5, 0)
custom_definition.p(1.5, 0)
custom_definition.sdg(0)
custom_gate.definition = custom_definition
nested_qc = QuantumCircuit(3, name="open_controls_nested")
Expand Down

0 comments on commit fab1c80

Please sign in to comment.