Skip to main content

Installation

Install the qiskit extra:
Requires Qiskit >= 2.0.

Example Usage

Convert a Qiskit QuantumCircuit to QIR:

Transpilation

If your circuit contains gates not directly supported by QIR, you can set transpile=True to automatically decompose them into the supported basis gate set before conversion:

Supported Operations