Qrisp

Run Qrisp Programs on Real Quantum Hardware Beta

Keep your high-level Qrisp code, pass one backend object, and run on real QPUs from IonQ, Rigetti, IQM, and AQT. Running in under a minute.

The Qrisp plugin is in beta. Tell us what works and what doesn’t in the Open Quantum community.

What is Qrisp?

Qrisp is an open-source, high-level language for building and compiling quantum algorithms. Instead of wiring up qubits and gates, you program with typed quantum variables and functions, and Qrisp compiles them into efficient low-level circuits. Algorithms come out in substantially fewer lines than gate-level frameworks, and often compile to tighter circuits than hand-crafted alternatives.

It brings real software-engineering structure to quantum: automatic qubit allocation and uncomputation for memory management, built-in quantum arithmetic, and hybrid quantum-classical workflows through JAX. Qrisp is an Eclipse Foundation project developed with Fraunhofer FOKUS, IQM, and others.

Open Quantum provides a native Qrisp backend that plugs into the standard execution paths — QuantumVariable.get_measurement and QuantumCircuit.run. Your Qrisp program stays exactly the same; you simply hand it an Open Quantum backend and it executes on real QPUs.

How to Run Qrisp on Real Quantum Hardware

STEP 1

Install the Plugin

pip install "openquantum-sdk[qrisp]". Set your OPENQUANTUM_CLIENT_ID and OPENQUANTUM_CLIENT_SECRET environment variables. Done.

STEP 2

Write Programs with Qrisp

Use QuantumVariables and high-level Qrisp types. No vendor-specific code, no new syntax to learn. Your existing Qrisp programs work as-is.

STEP 3

Run on Any QPU

Pick a backend — IonQ, Rigetti, IQM, or AQT — and call get_measurement. Open Quantum handles conversion, submission, and result formatting.

Your First Qrisp Program on a QPU in 60 Seconds

A complete example: pip install the plugin, build a Bell state with Qrisp QuantumVariables, and run it on IonQ Forte-1 trapped ion hardware. No credit card required.

pip install "openquantum-sdk[qrisp]"
from qrisp import QuantumVariable, h, cx
from qrisp_openquantum import OpenQuantumBackend

# Auth via OPENQUANTUM_CLIENT_ID and OPENQUANTUM_CLIENT_SECRET env vars
oq = OpenQuantumBackend(backend="ionq:forte-1", shots=1024)

qv = QuantumVariable(2)
h(qv[0])
cx(qv[0], qv[1])

print(qv.get_measurement(backend=oq, shots=1024))

Quantum Hardware Available for Qrisp

Run your Qrisp algorithms on trapped ion and superconducting QPUs from IonQ, Rigetti, IQM, and AQT. No vendor lock-in — switch backends with a single string change.

QPUQubitsTechnologyHighlightsProvider
IonQ Forte-136 qubitsTrapped Ion99.6% 2Q fidelity, software-configurable topologyLearn more
Rigetti Cepheus-1108 qubitsSuperconducting99.1% CZ fidelity, modular chiplet architectureLearn more
IQM Emerald54 qubitsSuperconducting99.5% CZ fidelity, European HPC integrationLearn more
IQM Garnet20 qubitsSuperconducting99.5% CZ fidelity, European HPC integrationLearn more
AQT Ibex-Q112 qubitsTrapped IonFully-connected, room temperature, rack-mountedLearn more

Frequently Asked Questions