Skip to main content

Quantum Circuit Visualizer

Crea e simula circuiti quantistici fino a 3 qubit con gate H, X, Y, Z, S e CNOT. Calcolo client-side - nessun dato lascia il browser.

1. Seleziona gate

2. Costruisci il circuito

Clicca su una cella per piazzare il gate selezionato. Clicca su un gate già piazzato per rimuoverlo.

Quantum Computing in Italia: PoliTo e IQM

Il Politecnico di Torino ha lanciato il primo Master in Quantum Engineering in Italia, con piano di studi che copre algoritmi quantistici, crittografia post-quantistica e hardware a superconduttori.

Nel Q1 2025, PoliTo ha installato un computer quantistico IQM a 5 qubit nel proprio laboratorio, rendendolo uno dei pochi atenei europei con hardware quantistico accessibile agli studenti per esercitazioni pratiche.

Gate implementati in questo visualizzatore

GateOperazioneEffetto su |0⟩Effetto su |1⟩
HHadamard|+⟩ = (|0⟩+|1⟩)/√2|−⟩ = (|0⟩−|1⟩)/√2
XPauli-X (NOT)|1⟩|0⟩
YPauli-Yi|1⟩−i|0⟩
ZPauli-Z|0⟩−|1⟩
SPhase S|0⟩i|1⟩
CNOTControlled-NOTFlip target se control=|1⟩

Notifiche su nuovi tool Quantum Computing

Iscriviti per ricevere alert su nuovi dev-tools e articoli della serie Quantum Computing.

Come utilizzare Quantum Circuit Visualizer

Select a gate

Choose a gate from the toolbar: H, X, Y, Z, S or CNOT.

Place the gate on the grid.

Click on a box to place the gate on the qubit and desired step. For CNOT: first click = control qubit, second click = target qubit.

Simulate the Circuit

Click "Simulate" to calculate the exact quantum state and probabilities of basis states.

Try the Bell State

Use "Bell State Load" for a precompiled example of entanglement (H + CNOT).

Suggerimenti

  • Use "Bell State Load" to immediately understand how entanglement is constructed with H and CNOT.
  • Click on an already placed gate to remove it: works like a toggle.
  • Check the table "Implemented Gates" at the bottom of the page for the mathematical effect of each gate on |0⟩ and |1⟩.

Domande frequenti

How many qubits can I use in the circuit?

The viewer supports circuits up to 3 qubits, with up to 8 time steps to build the sequence of gates.

How do I set up a gate CNOT?

Select CNOT from the toolbar, then click first on the control qubit and then on the target qubit in the same step: both clicks must occur in the same temporal column.

What do the percentages represent in the simulation result?

Probabilities of measuring each basis state (e.g. |000⟩, |001⟩) calculated as the square modulus of complex amplitude after applying all gates in the circuit.

Why don't some probabilities add up exactly to 100%?

For rounding of floating-point numbers in complex arithmetic. Values below 0.01% are considered negligible numerical artifacts.

Are my circuits saved or sent to a server?

No, all simulation (matrix multiplication, Kronecker product) happens client-side in the browser: no data leaves the device.