Qubits Explained: Superposition, Measurement and Entanglement With Circuit Examples
qubitsquantum basicssuperpositionquantum measuremententanglementquantum circuitsbeginners

Qubits Explained: Superposition, Measurement and Entanglement With Circuit Examples

QQuantum 365 Editorial Team
2026-12-01
8 min read

Learn what qubits are, how superposition and phase work, why measurement matters, and how entanglement appears in simple quantum circuits.

Qubits Explained: Superposition, Measurement and Entanglement With Circuit Examples

A qubit is the basic unit of quantum information, but it is not simply a classical bit that can hold more values. This guide explains qubits, superposition, phase, measurement and entanglement, then gives small circuit examples and a practical checklist for revisiting the fundamentals as your tools and understanding develop.

Overview

A classical bit has one definite value at a time: 0 or 1. A qubit also produces 0 or 1 when measured, but before measurement its state can be a combination of the two computational basis states. That difference is the starting point for quantum computing.

It is useful to describe a single qubit mathematically as:

|ψ⟩ = α|0⟩ + β|1⟩

Here, α and β are probability amplitudes. Their squared magnitudes determine the probabilities of the two measurement results, so |α|² + |β|² = 1. The amplitudes can also have a relative phase, which affects how a circuit behaves when paths of computation interfere.

This leads to an important distinction: a qubit is not a hidden classical value that is merely unknown to us. Its state is described by amplitudes, and a measurement samples an outcome according to those amplitudes. Repeating the same circuit many times, or shots, lets you estimate the resulting probability distribution.

ConceptClassical intuitionQuantum descriptionWhat to remember
Bit state0 or 1A qubit can be in a basis state |0⟩, |1⟩, or a combinationA combination is not the same as several readable values
SuperpositionSometimes compared with a coin in the airα|0⟩ + β|1⟩Measurement returns one outcome, with probabilities set by amplitudes
MeasurementReads a stored valueMaps a quantum state to a classical result in a chosen basisMeasurement can change the state being measured
PhaseNo direct bit equivalentA relative relationship between amplitudesPhase is often revealed through interference, not direct measurement
EntanglementOrdinary correlationA joint state that cannot be separated into independent single-qubit statesCorrelated results do not enable faster-than-light messaging

What to track

1. The state, the operation and the measurement

When reading a circuit, separate three questions:

  1. What is the initial state? Most introductory circuits begin with qubits in |0⟩.
  2. Which gates are applied? Gates change amplitudes, phase or correlations.
  3. What is measured, and in which basis? The final measurement turns quantum information into classical data.

This simple habit prevents a common mistake: interpreting a gate as if it directly writes a classical answer. Quantum gates transform a state; measurement is the step that produces an observable result.

2. Superposition: more than an even split

The Hadamard gate, commonly written as H, provides a useful first circuit. Applied to |0⟩, it creates:

H|0⟩ = (|0⟩ + |1⟩) / √2

If this circuit is measured repeatedly, the results should tend towards an even distribution in an ideal simulator. A single shot is still either 0 or 1. Superposition does not mean that a user can measure both values from one qubit and receive both as ordinary classical data.

Change the gates or the initial state and the probabilities need not be equal. A qubit can be biased towards 0 or 1, and phase can differ even when a basic measurement shows the same probabilities. That is why probability counts alone do not fully describe a quantum state.

3. Phase and interference

Consider these two states:

(|0⟩ + |1⟩) / √2 and (|0⟩ − |1⟩) / √2

Both give equal 0 and 1 probabilities when measured immediately in the computational basis. They are nevertheless different states. Applying another Hadamard gate distinguishes them: the first returns to |0⟩, while the second returns to |1⟩ in an ideal circuit. This is interference in a compact form. The relative minus sign is not visible in the first measurement, but later operations can make it observable.

When studying a circuit, track phase whenever two paths recombine or when gates such as H, X, Z and rotation gates are used. A probability-only explanation can miss the information that drives the next operation.

4. Measurement

Measurement is basis-dependent. Measuring in the computational basis asks whether the state produces 0 or 1 according to the |0⟩ and |1⟩ basis. Other measurement bases can be implemented by applying a suitable change of basis before measuring.

Measurement also generally disturbs the state. If a qubit is measured and the result is 0, repeating the same computational-basis measurement immediately will normally return 0, assuming no further operation or noise intervenes. This is different from inspecting a classical variable without changing it.

5. Entanglement

Two qubits can be prepared in an entangled state such as:

(|00⟩ + |11⟩) / √2

A standard teaching circuit creates this state by applying H to the first qubit and then a controlled-NOT, or CNOT, with the first qubit as control and the second as target. Measuring both qubits in the computational basis produces matching pairs: 00 or 11 in the ideal case.

Entanglement is not simply a pair of classical values chosen in advance, even though the measured results can look correlated. It is a property of the joint state. It also does not provide a method for sending a chosen message instantly: each individual result remains random in this example, and the correlation becomes clear only when the results are compared.

6. Small circuit examples

The following framework-neutral descriptions can be translated into Qiskit, Cirq, PennyLane or another quantum programming framework:

  • Random-looking bit: prepare one qubit in |0⟩, apply H, measure it.
  • Undoing a superposition: prepare |0⟩, apply H twice, measure. The two operations cancel, so an ideal circuit returns 0.
  • Entangled pair: prepare two qubits in |00⟩, apply H to qubit 0, apply CNOT(0, 1), measure both.
  • Phase test: prepare |0⟩, apply H, apply Z, apply H, measure. The result demonstrates how phase can become a measurable bit after interference.

Run each circuit for multiple shots rather than relying on one result. On a simulator, ideal results illustrate the concepts clearly. Hardware runs can add readout errors, gate errors, connectivity constraints and other effects. For a fuller debugging workflow, see How to Debug Quantum Circuits. For a comparison of simulator approaches, see Quantum Simulators Compared.

Cadence and checkpoints

Fundamental concepts do not change as frequently as software syntax, but the way you practise them does. Use a short checkpoint whenever you begin a new quantum computing course, switch frameworks or return to quantum programming after a break.

A useful monthly or quarterly review can include:

  • Recreating the single-qubit H, H-H and phase circuits.
  • Explaining the difference between amplitudes and measurement probabilities without using the phrase “both values at once” as the complete explanation.
  • Drawing the two-qubit entanglement circuit and identifying the control, target and measurement points.
  • Running ideal simulations with a fixed shot count and recording the observed counts.
  • Running the same circuit with a noise model or on available hardware, then separating algorithmic behaviour from device effects.

When framework APIs change, verify gate names, measurement syntax, circuit execution and result formats against the framework's current documentation. Keep the conceptual circuit separate from the code implementation so that an SDK update changes the wrapper, not your understanding of the algorithm.

How to interpret changes

Small differences between expected and observed counts are not automatically evidence that the circuit is wrong. In a probabilistic circuit, finite shots naturally produce variation. First compare the distribution with the ideal expectation, then increase the number of shots if you need a clearer estimate.

If a result is consistently different, check the circuit in this order:

  1. Initialisation: Were all qubits in the assumed state?
  2. Ordering: Did the code map the logical qubits to the intended wires and classical bits?
  3. Basis: Were gates applied before measurement that changed the basis?
  4. Compilation: Did transpilation or decomposition replace the intended gates with an equivalent but deeper circuit?
  5. Noise: Are readout, gate or connectivity effects influencing the result?

Do not confuse a simulator's statevector display with a measurement result. A statevector exposes amplitudes in an ideal mathematical model, while shot-based execution returns sampled classical outcomes. Both are useful, but they answer different questions. The same distinction matters when assessing demonstrations of algorithms, including VQE and QAOA; reproducibility requires recording circuit details, shots, backend conditions and post-processing choices.

For broader context, connect these basics to quantum error mitigation and quantum resource estimation. A circuit can be conceptually correct while still being too deep, noisy or expensive to run in a particular setting.

When to revisit

Revisit this guide when you can run circuits but find yourself relying on loose explanations of superposition or entanglement. It is also worth returning after a framework release, a change in simulator backend, a move from ideal simulation to hardware, or the start of a new topic such as quantum algorithms or quantum machine learning.

Use this practical sequence:

  1. Write down the initial state and expected result before running a circuit.
  2. Run the ideal version and record the counts or state representation.
  3. Explain what each gate changes: probability, phase, correlation or basis.
  4. Repeat with more shots, a noise model or hardware when appropriate.
  5. Record the SDK version, backend, shot count and circuit depth so the experiment can be reproduced.

Once these steps feel routine, move on to a structured learning path: read a research paper with an evaluation checklist, test a small algorithm against a classical baseline, and document the resources required. A qubit is the starting point, not the result. The most useful progress comes from connecting its mathematical description to a circuit, a measurement and a clearly stated experiment.

Related Topics

#qubits#quantum basics#superposition#quantum measurement#entanglement#quantum circuits#beginners
Q

Quantum 365 Editorial Team

Quantum Computing Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.