Quantum Programming in Qiskit

Quantum Coding Lab

Write quantum programs in your browser. We run them on our server in a sandbox and show you the results. Nothing to install.

Choose Your Quantum Framework

Qiskit is the framework available in the Coding Lab.

Select a framework
▼
Qiskit Available
Qiskit Environment Ready
Environment Active
Framework Qiskit
Python —
Qiskit Core —
Qiskit Aer —
NumPy —
Matplotlib —
SciPy —
Qiskit Runtime —
Runs on our server · Up to 25 seconds per run · 1024 shots

One run at a time on the server. If someone else is running code, yours waits in the queue and starts when theirs ends. Your code is not saved to your account. Use Save to download a copy. See the Privacy Policy for how submitted code is handled.

Qiskit
Python Simulator: AerSimulator
Examples
01 Hello Quantum
02 Bell State
03 Bloch Sphere
04 Quantum Teleportation
05 Grover Search
06 QAOA
07 VQE
08 Fake IBM Device
09 Transpilation Levels
10 Readout Mitigation
11 Zero-Noise Extrapolation
12 Bit-Flip Code
13 Measuring T1
14 OpenQASM 3
main.py
1

            
          
─── Quantum Discord Coding Lab ─── Qiskit | AerSimulator | Python ─────────────────────────────────────────────── Ready. Press Run ▶ to execute your program.
Quantum Circuit Diagram
◻
No circuit yet
Run your code to render the circuit diagram
Measurement Histogram
▦
No results yet
Run your code to see measurement outcomes
Theoretical Probability Distribution
%
No state yet
Run your code to see the exact per-state probabilities
Matplotlib Output
📈
No plots yet
Use matplotlib in your code to generate plots
Qubit 0 (q0) on the Bloch Sphere · Drag sideways to turn the view
θ Theta
—
φ Phi
—
P(|0⟩)
—
Shows qubit 0 only. If q0 is entangled with other qubits, or the state is mixed, the arrow is shorter than the sphere's radius.
Quantum State Vector
ψ
No state yet
Run your code to visualize the quantum state
Quantum State City
🏙
No state yet
Run your code to render the real/imaginary amplitude city plot
Execution Results
◎
No results yet
Run your code to see execution details
Ready
Backend AerSimulator
Shots 1000
Exec Time —
Memory —
Qiskit —