qSapien.ai Quantum Lab

Sign in

Sign in to the qSapien.ai circuit simulator.

← Back to qSapien.ai
qSapien.ai Quantum Lab
Ideal-state circuit simulator. Restricted Qiskit/Cirq syntax and OpenQASM 2.
← qSapien.aiSimulator · up to 15 qubits framework — user —
▌ Source program sample loaded

Not saved yet.

Research storage disclosure: Saved algorithms are stored on qSapien.ai for research purposes. You can reopen and update your saved work. Deletion is not available in this lab.

speed
Supported syntax and limits

Use direct gate calls with numeric angles or single-assignment numeric constants. No Python loops, functions, custom gates, conditionals, resets, noise channels, or training code. Upload .py, .qasm, or .txt, up to 128 KB. Circuits are limited to 15 qubits and 1,500 operations.

Qiskit: QuantumCircuit(N); h, x, y, z, s, sdg, t, tdg, rx, ry, rz, p, cx, cy, cz, swap, ccx, barrier, measure_all(). Cirq: LineQubit.range(N) or NamedQubit; Circuit and append; direct gates including H, X, Y, Z, S, T, rotations, CNOT, CY, CZ, SWAP, CCX, and final measure. OpenQASM 2: one qreg/creg, supported gates and final whole-register measurement.

All measurements must be at the end and cover all qubits in ascending order. Output bit strings use q[n−1] … q[0], with q0 on the right. Simulation runs in your browser. Clicking Save sends the circuit source and name to your private account in MySQL. Use My Algorithms to reopen and update saved circuits. Saved algorithms are stored for research purposes; deletion is not available in this lab.

qubits: — gates: — step 0 / 0

My Algorithms

Your saved circuits, available after sign-in on any device.

Research storage disclosure: Saved algorithms are stored on qSapien.ai for research purposes. You can reopen and update your saved work. Deletion is not available in this lab.

Code needs editing

The lab could not run this code. Review the error, then choose Edit code to fix it. Your source stays in the editor.


  

Supported: up to 15 qubits, direct circuit instructions and final measurement of all qubits. Python functions, loops and AerSimulator calls are not executed.

Expanded result