Skip to main content

Qubit State Simulator

Simula stati quantistici fino a 4 qubit, applica gate logici e visualizza la Bloch sphere. Tool educativo client-side: nessun dato trasmesso.

Configurazione stato

Numero di qubit
Stato base |ψ⟩ = α|0⟩ + β|1⟩
|β| = 0.000
Esempi predefiniti
Applica gate

Bloch Sphere (proiezione XZ)

θ (polar)
0 rad
φ (azimuthal)
0 rad
x component
0
z component
1

Basis states - sistema 1 qubit

|0⟩100.0%
|1⟩0.0%

Quantum Computing - risorse per studenti IT

Questo tool supporta studenti dei corsi magistrali in Quantum Engineering e Information Technology di:

Approfondisci la teoria con la serie UniAppunti / Quantum Computing.

Nota educativa: il simulatore usa product states (no entanglement reale eccetto per l'esempio Bell |Φ+⟩ precaricato). Per simulazione full-density-matrix con noise model, usa Qiskit o Cirq.

Notifica nuovi tool Quantum e Università

Iscriviti per ricevere alert su nuovi dev-tools e articoli UniAppunti.

Come utilizzare Qubit State Simulator

Choose the number of qubits

Select from 1 to 4 qubits with dedicated buttons in the configuration panel.

Configure Base State

Set the basis state |ψ⟩ = α|0⟩ + β|1⟩ with phase and amplitude sliders or load a predefined example (|+⟩, |−⟩, |i⟩, Bell).

Apply a gate

Select a gate (H, X, Y, Z, S, T) and the target qubit, then click "Apply Gate".

Read the result

Check the probabilities of basis states and position on the Bloch sphere for a single qubit.

Suggerimenti

  • Start with predefined examples (|+⟩, |−⟩, |i⟩, Bell) to quickly understand how to read amplitudes and probabilities.
  • Apply multiple gates in sequence on the same state to observe how overlap evolves.
  • Use "Reset |0⟩" to start over without reloading the page.

Domande frequenti

What does the Bloch sphere shown in the tool represent?

It's a 2D projection (XZ plane) of the Bloch sphere, visualizing geometrically the state of a single qubit through polar angles theta and phi derived from alpha and beta amplitudes.

Why is the Bloch sphere not visible with more than 1 qubit?

The Bloch sphere representation is defined only for a single qubit. With multi-qubit systems, the tool shows instead the list of basis states with their respective probabilities.

Does the simulator handle real entanglement between qubits?

No, by default it constructs a product state without entanglement by duplicating the same basis qubit on N qubits. The only exception is the pre-loaded Bell |Φ+⟩ example, which is actually entangled.

What's the difference between gates S and T?

Both are phase gates: S applies a π/2 phase to |1⟩, while T applies a π/4 phase. T is therefore a smaller phase rotation than S.

Do you need additional settings for simulations with noise models or density matrices?

Yes, this tool is designed for educational use with pure states. For advanced simulations with noise and density matrices, dedicated libraries like Qiskit or Cirq are required.