qir-alliance / pyqir

PyQIR is a set of APIs for generating, parsing, and evaluating Quantum Intermediate Representation (QIR).
https://qir-alliance.github.io/pyqir
MIT License
54 stars 24 forks source link

Delay instruction #233

Open jrj-d opened 1 year ago

jrj-d commented 1 year ago

Hello, This PR introduces a delay instruction in the QIS:

declare void @__quantum__qis__delay__body(double, %Qubit*)

The main objective is interoperability with Qiskit, which defines a delay operation at the gate level.

Using the delay instruction, users will be able to do must-have experiments with qubits like T1 measurements, T2 Ramsey measurements, T2 Hahn measurements, etc.

This PR is related to a PR on the qiskit-qir repository, which I'll link.

Thanks for considering it!