qirc
/
play
Compile, optimise, route and simulate QIR. The compiler runs in your browser as WebAssembly, so your program never leaves this page.
Example
Open file
Copy link
Emit
run
circuit
qasm3
qir
ir
json
qasm2
stim
latex
svg
pulse
schedule
cost
resources
diff
Optimise
-O0
-O1
-O2
-O3
Gate set
all QIR gates
rz sx cx (IBM)
rz ry cz
h s t cx (Clifford+T)
rx ry cy
Precision
exact only
1e-2
1e-3
1e-4
Resynthesis
default
up to 2 gates
up to 3 gates
up to 4 gates
up to 6 gates
Minimise
gates
cx count
ibm weights
Coupling
none
line:4
line:8
ring:6
grid:3x3
grid:4x4
Relabel
off
on
Reuse
off
on
Device
ideal
line5.cal
line5.cal, noisy
noisy, mitigated
noisy, zero noise
detuned.cal, noisy
detuned, echo pulses
readout.cal, noisy
readout.cal, mitigated
pair.cal, noisy
Inputs
Vary
off
gradient
minimise
Observable
Shots
Seed
$ qirc
Run
Ctrl Enter
program.ll
Reset
output
circuit
results
loading
Stop
Save
Copy