Skip to content

Commit

Permalink
Merge pull request #22 from zapatacomputing/kj/HTKB-201/add-conversio…
Browse files Browse the repository at this point in the history
…n-of-delay-instruction

Implement conversion of Delay instructions
  • Loading branch information
dexter2206 authored Aug 17, 2022
2 parents 71115dd + 42aa87c commit c6b8323
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def _orquestra_expr_from_qiskit(expr):
_builtin_gates.YY: qiskit.circuit.library.RYYGate,
_builtin_gates.ZZ: qiskit.circuit.library.RZZGate,
_builtin_gates.U3: qiskit.circuit.library.U3Gate,
_builtin_gates.Delay: qiskit.circuit.Delay,
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ def _make_qiskit_circuit(n_qubits, commands, n_cbits=0):
],
),
),
(
_circuit.Circuit([_builtin_gates.Delay(1)(0)]),
_make_qiskit_circuit(1, [("delay", (1, 0))]),
),
]


Expand Down

0 comments on commit c6b8323

Please sign in to comment.