VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Quantum Computing, Qubits and Probability Amplitudes

Why is mathematics important to quantum computing? A quantum computer is physical hardware, but the useful description of what its qubits can do is mathematical. States are represented by vectors with complex-number entries. Gates are represented by matrices. Measurement produces probabilities from squared amplitude magnitudes. A quantum algorithm is therefore not “magic parallel thinking”; it is a carefully arranged sequence of transformations in which amplitudes combine, cancel and reinforce.

That distinction matters for students. News headlines sometimes make quantum computing sound like a machine that tries every answer and simply selects the correct one. Real quantum computation is more disciplined. A designer must prepare a state, apply valid operations, create the right interference pattern and choose measurements that reveal useful classical information. Mathematics explains both the possibilities and the limits.

This article builds an honest first model. It does not claim that every problem becomes faster, that today’s devices are error-free, or that learning school mathematics guarantees a quantum career. It shows how algebra, vectors, matrices, trigonometry, probability and logical reasoning connect. The IBM Quantum Learning introduction likewise describes quantum states with complex vectors, measurements that extract classical information and operations represented by unitary matrices.


Choose the quantum question you want to answer

The best route depends on your starting point. A younger student can begin with vectors, rotations and probability. A Secondary student can test two-by-two matrix calculations. A student comfortable with Additional Mathematics can connect trigonometric identities, complex numbers and linear transformations. Nobody needs to pretend the advanced physics is simple; the rewarding part is seeing how familiar mathematical ideas form a precise language.


A qubit is a normalised vector

A classical bit has one of two displayed values, 0 or 1. A qubit is modelled by a state vector often written as ψ = α|0⟩ + β|1⟩. The symbols α and β are probability amplitudes, generally complex numbers. In column-vector form, |0⟩ is represented by (1, 0) and |1⟩ by (0, 1), so ψ can be represented by the column vector (α, β). This is a mathematical representation of a physical system, not a tiny arrow floating inside the hardware.

The state must be normalised: |α|² + |β|² = 1. The vertical bars mean magnitude, not ordinary absolute value only. For a real-number example, take α = 3/5 and β = 4/5. Then |α|² + |β|² = 9/25 + 16/25 = 1. The state is valid. If someone proposes α = 3/4 and β = 4/5, the squares total 0.5625 + 0.64 = 1.2025, so the vector is not normalised. It must be rescaled before it can represent a pure qubit state.

Normalisation is a familiar mathematical habit: establish the scale that makes comparisons meaningful. Probability distributions sum to one. Unit vectors have length one. Percentages for a complete set total 100%. In quantum information, normalisation ensures that the probabilities of all possible outcomes total one. The connection is conceptually useful, although amplitudes are not themselves ordinary probabilities.

A worked normalisation example

Suppose a calculation produces the unnormalised vector (1, 2). Its squared length is 1² + 2² = 5, so its length is √5. Divide each component by √5. The normalised state is (1/√5, 2/√5). If measured in the standard basis, the probabilities will be 1/5 and 4/5. Notice that doubling the amplitude from 1 to 2 makes the corresponding probability four times as large because measurement uses squares.

The same idea works for complex entries. Consider α = 1/2 and β = i√3/2, where i² = −1. The magnitude squared of i√3/2 is 3/4, so the total is 1/4 + 3/4 = 1. The imaginary unit does not create a negative probability. Complex amplitudes retain phase information that later affects interference, while their magnitude squares give non-negative measurement probabilities.

**Did You Know?** Two quantum states can produce the same standard-basis probabilities and still behave differently in a later circuit. The states (1/√2, 1/√2) and (1/√2, −1/√2) each give 50% for 0 and 50% for 1 when measured immediately. Their relative sign changes how they interfere after another gate. Probability alone does not capture the complete state.


Measurement squares amplitude magnitudes

For a standard-basis measurement of α|0⟩ + β|1⟩, the probability of observing 0 is |α|² and the probability of observing 1 is |β|². Once a single measurement is made, the output is a classical result. Repeating the same prepared circuit many times produces counts that can be compared with the predicted probability distribution.

Imagine 1,000 independent runs of a circuit whose ideal probabilities are 0.36 for 0 and 0.64 for 1. The expected counts are 360 and 640, but an actual sample might be 347 and 653. Random variation is normal. The empirical proportion for 1 would be 0.653. It is evidence about the underlying distribution, not proof that the exact theoretical probability is 0.653.

This is where school statistics becomes unexpectedly relevant. Relative frequency, expected value, sampling variation, confidence intervals and hypothesis checks all help people interpret quantum experiments. Hardware noise adds another layer: an observed difference may reflect finite sampling, device errors, imperfect calibration or an inaccurate model. Good analysis asks which source of variation is plausible.

Probability is not a hidden answer waiting to be read

A common misconception says the qubit “really contains” either 0 or 1 and measurement merely reveals it. That story does not reproduce the full mathematical behaviour of superposition, basis changes and interference. Another misconception says a qubit literally stores both classical answers in a way that allows both to be printed. A single standard measurement still yields one classical outcome.

The advantage of a quantum algorithm comes from transforming amplitudes before measurement so that useful outcomes become more likely or a global property becomes accessible. Measurement is therefore the final accounting step of a design, not a free window into every branch. A circuit that prepares an impressive superposition but does not shape the amplitudes toward an informative output may offer no useful computational advantage.

Students can simulate this with coins only as a limited analogy. A biased coin can reproduce measurement frequencies, but it does not capture complex phase or interference. Analogies are helpful when their boundary is stated. Mathematics tells us exactly where the analogy stops.


Gates are matrices that preserve total probability

A quantum gate acts linearly on a state vector. For one qubit, it is represented by a two-by-two unitary matrix. “Unitary” means, among other equivalent statements, that the matrix preserves vector length. This preservation keeps a normalised quantum state normalised, so total probability remains one.

The Pauli-X gate is represented by the matrix with rows (0, 1) and (1, 0). Multiplying it by |0⟩ = (1, 0) produces (0, 1) = |1⟩. Multiplying it by |1⟩ produces |0⟩. It resembles a classical NOT operation when used on basis states, although its linear action on superpositions is part of a wider quantum framework.

The Hadamard gate H is 1/√2 times the matrix with rows (1, 1) and (1, −1). Applying H to |0⟩ produces (1/√2, 1/√2), often called |+⟩. Applying H to |1⟩ produces (1/√2, −1/√2), often called |−⟩. Both results give equal immediate measurement probabilities, but they carry different relative phases.

A matrix calculation students can check

Apply H twice to |0⟩. The first application gives |+⟩. Multiply again:

H(1/√2, 1/√2) = (1/2)(1+1, 1−1) = (1, 0).

The state returns to |0⟩. This is not because two random steps happened to cancel. The matrix product H² equals the identity matrix. A student can verify this using ordinary matrix multiplication. That small calculation reveals a big idea: a circuit can be simplified by algebra before anyone runs it on hardware.

Matrix order matters. In general, AB is not the same as BA. If a circuit applies gate A and then gate B, the state is transformed by BA when column vectors are used. Confusing the written order is a common error in linear algebra and circuit reasoning. A reliable habit is to write the state after every operation and check dimensions.

The connection to Boolean algebra and logic gates is useful but should not be overstated. Classical digital circuits manipulate definite bit strings with gates such as AND, OR and NOT. Quantum circuits use reversible unitary transformations, amplitudes and measurement. Both rely on abstraction and composition; their mathematical rules are not identical.


Interference is controlled addition and cancellation

Interference occurs because amplitudes can add before their magnitude squares are taken. Positive and negative real amplitudes can reinforce or cancel, and complex phases generalise that behaviour. This is one of the central mechanisms a quantum algorithm tries to control.

Start with |0⟩. Apply H to create |+⟩. Apply H again and the amplitude for |1⟩ cancels: (1/2) − (1/2) = 0, while the amplitude for |0⟩ reinforces: (1/2) + (1/2) = 1. Measurement now gives 0 with certainty in the ideal model. If the relative phase had been changed between the two Hadamard gates, the interference pattern could change.

This is mathematically closer to waves than to independent lottery tickets. When two ordinary probabilities are combined, they do not usually cancel to zero. Amplitudes can cancel because they have signs and phases. Only after the amplitudes for indistinguishable alternatives are combined do we square magnitudes to obtain probabilities.

A phase example on the unit circle

Complex numbers can be written in polar form re^{iθ}. For a normalised amplitude, the angle θ records phase. Euler’s relation connects e^{iθ} with cos θ + i sin θ. That is why trigonometry and complex numbers appear naturally in quantum theory: rotations of phase become multiplication by unit-magnitude complex numbers.

If two paths contribute amplitudes a and ae^{iπ}, the second equals −a, so their sum is zero. If their phase difference is 0, the sum is 2a. In real devices and algorithms, the geometry can be more complicated, but the principle is recognisable: phase differences determine whether contributions strengthen or weaken the final amplitude.

Students sometimes ask whether negative amplitude means “negative probability”. It does not. The probability uses the magnitude squared and remains non-negative. The sign or phase matters indirectly because amplitudes are combined before squaring. This sequencing is the heart of the calculation.


Multiple qubits use tensor products

Two classical bits have four possible strings: 00, 01, 10 and 11. A pure two-qubit state is represented by a four-component normalised vector, with one amplitude for each basis string. The mathematical operation that combines the individual spaces is the tensor product.

If the first qubit is α|0⟩ + β|1⟩ and the second is γ|0⟩ + δ|1⟩, their product state expands to αγ|00⟩ + αδ|01⟩ + βγ|10⟩ + βδ|11⟩. This looks like algebraic expansion of two brackets because it is bilinear. The four probabilities are the squared magnitudes of the four amplitudes.

For n qubits, the state vector has 2ⁿ components. Ten ideal qubits require 1,024 amplitudes; twenty require 1,048,576. This exponential growth helps explain why simulating arbitrary quantum states on classical computers can become expensive. It does not by itself prove that a quantum computer will solve every problem exponentially faster. Algorithm structure, input/output costs, noise and error correction all matter.

Entanglement is not ordinary correlation

Some multi-qubit states cannot be written as a product of single-qubit states. A standard example is (|00⟩ + |11⟩)/√2. Measurements in the standard basis give 00 or 11 with equal probability. There are correlations, but the deeper point is that no separate state vector for the first qubit and separate state vector for the second can multiply to produce only those two terms with those amplitudes.

Calling every correlation “entanglement” is a mistake. Two classical coins can be correlated by an ordinary shared cause. Entanglement has a precise mathematical definition involving non-separability, and its observable implications depend on which measurements are performed. Precise vocabulary protects the reader from dramatic but empty claims.

The expansion also connects to error-correcting codes and reliable data transfer. Quantum error correction encodes logical information across multiple physical systems, but it must respect quantum rules such as the no-cloning limitation. The classical article gives useful parity intuition; quantum codes require additional linear algebra and measurement ideas.


Geometry gives another view of one qubit

A pure one-qubit state can be represented, up to a global phase, as a point on the Bloch sphere. A common parameterisation is cos(θ/2)|0⟩ + e^{iφ}sin(θ/2)|1⟩. The angles θ and φ provide a geometric picture of state preparation and rotations.

The half-angle is not a typographical accident. Quantum spin representations and the geometry of the state space lead to this form. For an introductory learner, the important checks are simpler: cos²(θ/2) + sin²(θ/2) = 1, so the state is normalised; φ changes the relative phase; and standard-basis measurement probabilities depend on θ but not directly on φ.

At θ = 0, the state is |0⟩. At θ = π, it is |1⟩ up to phase. At θ = π/2 and φ = 0, it is |+⟩. Visualising these points turns abstract amplitudes into rotations, while the equations stop the picture from becoming vague.

Geometry is a model, not a photograph of a qubit. It is most useful for one-qubit states and certain controls. Multi-qubit state spaces have far more dimensions than a sphere in ordinary three-dimensional space. A diagram helps orientation; algebra carries the general calculation.


Noise turns ideal equations into statistical engineering

Real quantum devices interact with their surroundings and contain imperfect controls and measurements. Coherence can decay. Gates can deviate from their targets. Readout can misclassify outcomes. The ideal unitary circuit is therefore only one layer of the full model.

Suppose an ideal circuit should return 0 with probability one, but 10,000 hardware runs return 0 on 9,630 runs. The observed error fraction is 3.7%. That number alone does not identify the cause. Errors may be correlated, vary over time or depend on the circuit. Treating every error as an independent coin flip may be a useful first approximation, not a universal truth.

Engineers use calibration, benchmarking, error mitigation and, at larger scale, quantum error correction. Each method has mathematical assumptions and costs. More physical qubits, more measurements or more circuit executions may be needed to protect or estimate one logical result. Quantum advantage must be assessed end to end, not declared from a single impressive device specification.

This is similar to the lesson in survey sampling and margin of error: a large count does not automatically remove bias, and uncertainty must be connected to how data were generated. In quantum experiments, shots, calibration conditions and device drift are part of the evidence.


Limits, noise and honest claims

Quantum computers do not replace ordinary computers. They are designed to exploit particular structures in particular problems. Many everyday tasks—writing documents, displaying websites, adding small numbers—do not become sensible quantum workloads. Even when a theoretical speed-up exists, state preparation, error correction, measurement and classical post-processing can affect practical value.

Nor does “quantum” mean unconstrained randomness. Gates follow strict linear algebra. Measurement probabilities follow rules. No-cloning limits copying arbitrary unknown quantum states. Measurement can disturb a state. These constraints shape algorithms just as much as the opportunities do.

A fair article also separates three layers:

  • mathematical possibility: what an ideal model proves;
  • algorithmic usefulness: what complexity analysis predicts for a specified problem;
  • engineering practicality: what hardware, error rates, scale and total resources permit.

Confusing these layers produces exaggerated promises. A demonstration can be scientifically valuable without becoming a general commercial solution. A mathematical proof of speed-up can be important even when current hardware is not ready. Optimism is strongest when it is specific.

The IBM Basics of Quantum Information material is useful next reading because it states the vector and measurement framework directly. Students should expect unfamiliar notation and take it slowly.


A practical learning path for students

Start with the mathematics that transfers widely:

  • fractions, ratios and probability totals;
  • coordinates, vectors and vector length;
  • simultaneous equations and functions;
  • trigonometric identities and rotations;
  • matrices and matrix multiplication;
  • complex numbers, magnitude and phase;
  • conditional probability, sampling and error;
  • proof habits: define, calculate, check and explain.

A useful four-week exploration does not require quantum hardware. In week one, normalise real two-component vectors and convert amplitudes to probabilities. In week two, multiply the X and H matrices by simple states and verify that lengths remain one. In week three, simulate repeated measurements with a spreadsheet and compare predicted with observed frequencies. In week four, study interference by applying H twice and changing a relative sign.

Keep a “state ledger” for every exercise: initial vector, operation, resulting vector, normalisation check and measurement probabilities. This prevents magical thinking. If the probabilities do not total one, stop and repair the algebra. If matrix dimensions do not match, stop and repair the representation. Good quantum reasoning is often good bookkeeping.

Students who enjoy coding can implement two-component vectors and two-by-two matrices in a simple program, then compare with a library such as Qiskit later. Build the mathematics first enough that the software output can be questioned. A tool is most educational when the learner can predict a result and explain a discrepancy.

What parents can encourage

Parents do not need to buy a “quantum course” immediately. Encourage curiosity without career pressure. Ask the student to explain why amplitudes are not probabilities, why gates preserve length and why measurement needs repeated trials. These questions reveal understanding more clearly than memorising futuristic vocabulary.

If a student finds complex numbers or matrices difficult, that is not proof they are “not a quantum person”. It simply identifies a foundation to build. The machine-learning article on loss functions and gradient descent offers another example of advanced technology resting on ordinary algebra, graphs and rates of change.

Career options should remain open. Quantum work can involve physics, mathematics, computer science, electrical engineering, materials, control systems, cryogenics or software. Mathematics supports these pathways but does not grant automatic admission or employment. Students benefit from strong fundamentals, honest exploration and time to discover which problems they actually enjoy.


Misconceptions worth repairing

**“A qubit stores infinitely many readable values.”** A state description uses continuous amplitudes, but measurement does not print all amplitudes. Extracting information is constrained.

**“Superposition means trying every answer and choosing the best.”** An algorithm must create interference that makes useful information measurable. A uniform superposition by itself is not a solution.

**“Entanglement sends usable information instantly.”** Correlations do not remove the need for ordinary communication in protocols that transmit classical information.

**“More qubits always means a better computer.”** Qubit quality, connectivity, gate performance, coherence, error correction and workload design matter.

**“Quantum randomness means there are no rules.”** The probabilities are generated by a highly structured mathematical model.

**“Classical cryptography is already useless.”** Security transitions require careful, current assessment. Read the separate cryptography and prime numbers article for foundational ideas, and rely on current security authorities for operational decisions.


Frequently asked questions

Do I need Additional Mathematics before learning quantum computing?

Not to begin. A student can explore vectors, probability and simple matrices at an introductory level. Deeper work becomes easier with trigonometry, complex numbers, calculus and linear algebra. Treat the subject as a staircase, not a gate.

Why are complex numbers necessary?

They represent both magnitude and phase compactly. Relative phase changes interference, so a real-probability description alone is not enough for the general theory. Some simple circuits can be introduced with real amplitudes, but that is a restricted case.

Is the Bloch sphere the whole story?

No. It is a powerful picture for one pure qubit, with extensions for mixed states. Multiple qubits live in much higher-dimensional mathematical spaces.

Can a school student run a quantum computer?

Cloud platforms may provide access to simulators and hardware, subject to their current terms. The more important first question is whether the student can predict and interpret the circuit. Running code without a model can turn a rich subject into button pressing.

Does quantum computing prove mathematics is useful?

It provides a vivid example. Vectors describe states, matrices describe operations, complex numbers carry phase, probability describes measurement and statistics interprets experiments. The usefulness comes from the system of ideas, not from any single formula.


The deeper lesson: mathematics makes strange systems discussable

Quantum computing feels strange because everyday intuition was built for everyday scales. Mathematics gives a shared language that can be checked line by line. A vector can be normalised. A matrix product can be verified. A probability prediction can be compared with data. A claim can be separated into ideal theory, algorithm and engineering.

That is one of the broad benefits of learning mathematics. It lets a student work with systems that cannot be understood through pictures or slogans alone. The goal is not to remove wonder. It is to give wonder a structure strong enough to support questions.

Read next:


Further worked examples: from vectors to a small circuit

Consider the state |ψ⟩ = (√3/2)|0⟩ + (1/2)|1⟩. Its probabilities are 3/4 and 1/4. Apply the X gate, which swaps the two amplitudes. The new state is (1/2)|0⟩ + (√3/2)|1⟩, so the probabilities swap to 1/4 and 3/4. X changes the basis-state labels but does not alter the total probability.

Now apply the Z gate, represented by the diagonal matrix with entries 1 and −1. The state becomes (√3/2)|0⟩ − (1/2)|1⟩. Immediate standard-basis probabilities remain 3/4 and 1/4 because a sign disappears when magnitude is squared. Yet the state is not equivalent for every later operation: the changed relative phase can alter interference.

Apply H to the original state. The output amplitudes are (√3+1)/(2√2) for 0 and (√3−1)/(2√2) for 1. Squaring gives probabilities approximately 0.933 and 0.067. Apply H after the Z gate instead and those probabilities exchange. The calculation shows why an unobserved phase can later become an observed frequency difference.

The global-phase distinction

Multiply every amplitude in a state by the same unit-magnitude complex number e^{iγ}. All standard measurement probabilities stay the same, and so do predictions for subsequent quantum operations and measurements when the phase is truly global. The vectors ψ and e^{iγ}ψ represent the same physical pure state.

A relative phase is different. Multiplying only the |1⟩ amplitude by −1 changes |+⟩ into |−⟩, and a later Hadamard sends them to different basis states. Students should ask, “Was the phase applied to the whole vector or between components?” That one question repairs many confusions.

An inner-product check

The inner product measures overlap. For real examples, |+⟩ = (1/√2, 1/√2) and |−⟩ = (1/√2, −1/√2). Their inner product is 1/2 − 1/2 = 0, so they are orthogonal. Orthogonal pure states can be perfectly distinguished by an appropriate measurement basis.

By contrast, |0⟩ and |+⟩ have inner product 1/√2, not zero. They are not orthogonal, so no measurement can perfectly distinguish an unknown state promised to be one of those two in a single attempt. The geometry creates an information limit, not merely a technological inconvenience.

Two routes through the same circuit

Suppose a circuit begins at |0⟩ and has three gates: H, Z, H. Track it:

  • after H: |+⟩;
  • after Z: |−⟩;
  • after H: |1⟩.

The ideal measurement is 1 with certainty. If the middle Z is removed, H followed by H returns |0⟩. One phase flip changes the final bit because the two Hadamards convert phase information into basis information.

This miniature pattern appears inside larger algorithms. The important computation can be the placement of phase, followed by interference that turns it into a measurable distinction. A student who understands this three-gate example has learned more than someone who memorises dozens of gate names.


Counting resources honestly

When comparing classical and quantum methods, specify what is counted. Circuit depth counts layers of operations that cannot all occur simultaneously. Gate count measures total operations. Width counts qubits. Shot count records repeated executions used for statistical estimates. Error-correction overhead counts physical resources needed for reliable logical operations.

An algorithm with attractive asymptotic gate complexity may still require expensive input preparation. If a classical dataset has N values, loading arbitrary values into amplitudes can itself cost substantial work. Reading out N separate answers is also constrained because measurement does not expose every amplitude.

Complexity notation such as O(n²) suppresses constants and lower-order terms. It describes growth, not the exact runtime of a particular device. The computer-algorithms article provides the classical foundation for reading such claims.

A shot-count example

Suppose a circuit produces outcome 1 with probability p and we estimate p from N independent shots. The standard deviation of the sample proportion is √[p(1−p)/N]. At p = 0.5 and N = 1,000, this is √(0.25/1000) ≈ 0.0158. At N = 10,000, it becomes 0.005.

Ten times as many shots reduces standard error by √10, not by ten. To halve the standard error, approximately four times as many independent shots are required. Hardware correlations or drift can make the independent-shot formula optimistic, so diagnostic data matter.

If an expected difference between two algorithms is only 0.002 in outcome probability, a few hundred shots will not resolve it reliably. Computational cost includes the precision demanded from measurement.


A transfer exercise for Singapore mathematics students

A Secondary student can connect each school topic to a quantum task:

School mathematicsQuantum-computing use
Pythagoras’ theoremVector norm and normalisation
TrigonometryBloch-sphere angles and rotations
MatricesGate action and circuit composition
Complex numbersAmplitude magnitude and phase
ProbabilityMeasurement predictions
StatisticsShot noise and experimental comparison
Algebraic proofGate identities and algorithm correctness

The table is a bridge, not a claim that the school syllabus teaches full quantum mechanics. It shows why foundational mathematics remains valuable even when technology changes. New notation usually sits on old structures.

Try this sequence: prove X² = I and H² = I; calculate XH and HX to show order matters; normalise (2, i); compute its standard-basis probabilities; and estimate how 4,000 shots change the sampling standard error compared with 1,000. Each answer can be independently checked.

Finally, write one paragraph separating fact, model and interpretation. Fact: IBM’s learning material represents states as complex vectors and operations as unitary matrices. Model: an ideal circuit neglects hardware noise. Interpretation: linear algebra is a transferable foundation for quantum information. Keeping these categories separate is a mature research habit.


Did You Know? Four precision habits from quantum mathematics

First, notation is a compression system. The ket |ψ⟩ names a column vector; the bra ⟨ψ| names its conjugate transpose. Their product ⟨ψ|ψ⟩ is a scalar norm, while |ψ⟩⟨ψ| is a matrix. Similar-looking symbols perform different jobs. Reading the shape of an object before manipulating it prevents many errors.

Second, reversible does not mean that every laboratory process runs backward. An ideal unitary gate has an inverse, but measurement, noise and discarded information require wider physical descriptions. Always ask which layer a statement belongs to.

Third, a probability distribution does not reveal every amplitude. Quantum state tomography estimates a state from many measurements in different settings; it is not a single snapshot. The number of parameters grows rapidly with system size, reminding us that verification can be hard even when preparation instructions are short.

Fourth, “quantum supremacy” or “advantage” claims need a named task, comparison method and resource accounting. A device may outperform a specific classical method on a benchmark without replacing classical computing generally. Better classical algorithms can also change the comparison.

These habits transfer beyond quantum computing: identify the mathematical object, separate model layers, match evidence to what is claimed and state the comparison. That is mathematical literacy at its best.

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading