Multiple qubits and tensor products
Combining two systems creates four amplitudes, with an ordering convention that matters.
- Compute a two-qubit product state numerically.
- Use the site’s most-significant-bit ordering convention.
Combine the components
Section titled “Combine the components”For and ,
Our basis order is . The leftmost qubit, q0, is the most significant bit. Other frameworks may display bitstrings differently; check before comparing results.
A complete example
Section titled “A complete example”Take and . Their joint vector is
Measuring gives 01 or 11 equally often. The second qubit is always 1; the first is equally likely to be 0 or 1.
More states, more memory
Section titled “More states, more memory”An n-qubit pure state has complex amplitudes. A general classical statevector simulation therefore needs exponential memory. This describes the cost of storing an arbitrary statevector, not a claim that a quantum device lets you read all those amplitudes in one shot.
Some structured states and circuits admit much more efficient classical simulation. Exponential state-space dimension alone is not evidence of useful quantum advantage.
Practise
Section titled “Practise”In the gate playground, apply H to q0 and X to q1. Verify the expected 01/11 distribution. Then change X to q0 instead: explain the result by tracing the ordering rather than guessing from the bitstring labels.
Reference: IBM Quantum — Multiple systems.
Ready for the next step?
Your progress stays in this browser.