CI-803-B Quantum Computing

Quantum Computing (CI-803-B) Important Questions

RGPV · B.Tech · CSIT · Semester 8 · Current scheme · 3 papers (2015 to 2020)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Quantum Computing important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Quantum Computing important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Qubits, quantum states and quantum gates: single, multiple qubit, controlled, universal and reversible gates

Asked 3 times in 2015, 2017, 2020 · Unit 1

From the papers

  • “Are Quantum gates Reversible or Irreversible? Explain.” (Jun 2017, Jun 2020)
  • “Explain controlled and composite gates.” (Jun 2020)
  • “Describe the action of a quantum controlled-Not gate.” (Jun 2017)
  • “Explain single and multiple Qubit gates.” (Jun 2017)

The short answer

A qubit is the basic unit of quantum information. Unlike a bit, which is 0 or 1, a qubit can be in a superposition |ψ⟩ = α|0⟩ + β|1⟩ with |α|² + |β|² = 1. Quantum gates are unitary matrices that change qubit states. Single qubit gates (X, Y, Z, H, S, T) act on one qubit. Multiple qubit gates such as CNOT act on two or more. Controlled gates act only when a control qubit is |1⟩.

Write these points

Bit and qubit

PointBitQubit
States0 or 1α|0⟩ + β|1⟩, any mix
Reading itGives the same valueGives 0 with |α|², 1 with |β|²
CopyingPossibleNot possible (no-cloning)
n of them holdOne of 2ⁿ values2ⁿ amplitudes at once

Common gates

GateMatrixAction
X (NOT)[[0,1],[1,0]]|0⟩ ↔ |1⟩
Z[[1,0],[0,−1]]|1⟩ → −|1⟩
H (Hadamard)(1/√2)[[1,1],[1,−1]]|0⟩ → (|0⟩ + |1⟩)/√2
CNOT4 × 4Flips target when control is 1
Toffoli8 × 8Flips target when both controls are 1

Controlled, composite and universal gates

  • Controlled gate: applies U to the target only when the control is |1⟩ (CNOT = controlled X).
  • Composite gate: several gates in series, whose matrix is the product (HZH = X).
  • Universal set: H, T and CNOT can approximate any unitary, like NAND for classical logic.
  • Reversible: every quantum gate is unitary (U†U = I), so it can be undone. Classical AND and OR lose information and cannot.

Applying gates.

H|0⟩ = (|0⟩ + |1⟩)/√2: measuring gives 0 or 1 with probability 1/2 each.

CNOT on |10⟩: control is 1, so the target flips: |11⟩.

H then CNOT on |00⟩ gives (|00⟩ + |11⟩)/√2, a Bell state.

H applied twice: H·H = I, so H|0⟩ followed by H returns |0⟩. This shows the gate is reversible.

Real-life example

A coin lying on a table is heads or tails, like a bit. A spinning coin is in a mix of both until it stops, like a qubit until it is measured.

Figure: the Bloch sphere
Figure: the Bloch sphere

Same or opposite: quantum gates and classical logic gates

PointQuantum gatesClassical gatesSame or opposite
ReversibleAlwaysOnly some (NOT)Opposite
Change the state of the inputYesYesSame
Described byUnitary matricesTruth tablesOpposite
Universal setH, T, CNOTNANDOpposite

Exam tip. Write the bit and qubit table, the gate table with matrices and one worked state. Say why quantum gates are reversible.

Back to the topic list

Q2. Density operator: pure and mixed states, properties, partial trace and reduced density operator

Asked 3 times in 2015, 2017, 2020 · Unit 2

From the papers

  • “Explain density operator for a pure state.” (Jun 2015, Jun 2020)
  • “Discuss the properties of Density Operator.” (Jun 2017, Jun 2020)
  • “A system is found to be in the state |ψ⟩ = (1/√5)|0⟩ + (2/√5)|1⟩. a) Write down the density operator for this state. b) Write down the matrix representation of the density operator in the {|0⟩, |1⟩} basis. Verify that Tr(ρ) = 1 and show this is a pure state.” (Jun 2020)
  • “Explain Partial Trace and Reduced Density Operator.” (Jun 2017)

The short answer

The density operator ρ describes a quantum state, including states we only know as a probability mix. For a pure state |ψ⟩, ρ = |ψ⟩⟨ψ|. For a mixed state that is |ψᵢ⟩ with probability pᵢ, ρ = Σ pᵢ |ψᵢ⟩⟨ψᵢ|. The partial trace over one part of a system gives the reduced density operator of the other part.

Write these points

Properties of a density operator

  • Hermitian: ρ† = ρ.
  • Trace one: Tr(ρ) = 1.
  • Positive: ⟨φ|ρ|φ⟩ ≥ 0 for every φ.
  • Pure state: Tr(ρ²) = 1 and ρ² = ρ. Mixed state: Tr(ρ²) < 1.
  • Expectation of an observable A: ⟨A⟩ = Tr(ρA).

Pure, mixed and completely mixed states

StateρTr(ρ²)
Pure |0⟩[[1,0],[0,0]]1
Mixed: |0⟩ or |1⟩ with 1/2 each[[1/2,0],[0,1/2]] = I/21/2
Completely mixed (n qubits)I/2ⁿ1/2ⁿ

Partial trace and reduced density operator

For a system AB, ρ_A = Tr_B(ρ_AB). For the Bell state (|00⟩ + |11⟩)/√2, ρ_A = I/2: each half alone looks completely mixed though the whole is pure. That is a sign of entanglement.

The Jun 2020 question: |ψ⟩ = (1/√5)|0⟩ + (2/√5)|1⟩.

ρ = |ψ⟩⟨ψ| = (1/5)|0⟩⟨0| + (2/5)|0⟩⟨1| + (2/5)|1⟩⟨0| + (4/5)|1⟩⟨1|.

Matrix: ρ = [[1/5, 2/5], [2/5, 4/5]] = [[0.2, 0.4], [0.4, 0.8]].

Tr(ρ) = 0.2 + 0.8 = 1.

ρ² = [[0.04 + 0.16, 0.08 + 0.32], [0.08 + 0.32, 0.16 + 0.64]] = [[0.2, 0.4], [0.4, 0.8]] = ρ. So Tr(ρ²) = 1 and the state is pure.

Real-life example

A box holds one coin. If you know it is heads, that is a pure state. If you only know it is heads or tails with equal chance, that is a mixed state. The density matrix writes both kinds of knowledge in one form.

Figure: testing whether a state is pure
Figure: testing whether a state is pure

Same or opposite: pure and mixed states

PointPureMixedSame or opposite
Written asOne ket |ψ⟩Mix of kets with probabilitiesOpposite
Tr(ρ) = 1YesYesSame
Tr(ρ²)1Less than 1Opposite
On the Bloch sphereOn the surfaceInsideOpposite

Exam tip. List the properties, give the pure and mixed table and work the 2 × 2 example with trace and ρ² checks.

Back to the topic list

Q3. Grover's search algorithm

Asked 3 times in 2015, 2017, 2020 · Unit 4

From the papers

  • “Explain Grover's search algorithm.” (Jun 2017, Jun 2020)
  • “Explain the following: Quantum searching and Grover's Algorithm.” (Jun 2015)

The short answer

Grover's algorithm searches an unsorted list of N items for a marked item using about (π/4)√N queries, while a classical search needs about N/2 on average. It works by amplitude amplification: an oracle flips the sign of the marked item's amplitude, then a diffusion step reflects all amplitudes about their mean, so the marked amplitude grows each round.

Write these points

Steps

  1. Start with n qubits in |0⟩ and apply H to all: equal superposition of N = 2ⁿ states.
  2. Oracle: multiply the amplitude of the marked state by −1.
  3. Diffusion: 2|s⟩⟨s| − I, which maps each amplitude a to 2 × mean − a.
  4. Repeat the oracle and diffusion about (π/4)√N times.
  5. Measure: the marked state appears with high probability.

Why it works

  • Each round turns the state by an angle 2θ, where sin θ = 1/√N.
  • After k rounds, P(marked) = sin²((2k + 1)θ).
  • Too many rounds turn past the target and the probability falls again.
  • The speedup is quadratic, not exponential.

N = 4, marked item |10⟩.

Start: all amplitudes 0.5.

Oracle: 0.5, 0.5, −0.5, 0.5. Mean = 0.25.

Diffusion: 2(0.25) − 0.5 = 0 for the others, 2(0.25) + 0.5 = 1 for |10⟩.

One query finds the item with certainty. Classically we may need 3 looks.

N = 8.

sin θ = 1/√8, θ = 20.7°.

k = 1: sin²(62.1°) = 0.78. k = 2: sin²(103.5°) = 0.945. k = 3: 0.33.

So stop after 2 rounds: (π/4)√8 = 2.2, rounded to 2.

Real-life example

Finding one friend's name in an unsorted phone list of 10,000 names takes about 5,000 looks on average. Grover's method would need about 79 rounds, because √10,000 = 100 and π/4 of that is 79.

Figure: amplitudes in Grover's algorithm
Figure: amplitudes in Grover's algorithm

Same or opposite: Grover search and classical search

PointGroverClassicalSame or opposite
QueriesAbout √NAbout N/2Opposite
Needs a way to recognise the itemOracleComparisonSame
ResultHigh probabilityCertainOpposite
SpeedupQuadraticNoneOpposite

Exam tip. Write the five steps and the angle formula. Draw the amplitude bars for N = 4. State the √N speedup.

Back to the topic list

Q4. Entanglement, Bell's theorem, entanglement swapping, teleportation and superdense coding

Asked 3 times in 2015, 2017, 2020 · Unit 3

From the papers

  • “Explain the application of entanglement in teleportation.” (Jun 2015, Jun 2017, Jun 2020)
  • “Discuss Bell's theorem in Quantum computing.” (Jun 2020)
  • “Explain the term quantum entanglement?” (Jun 2015)
  • “Explain entanglement swapping.” (Jun 2015)

The short answer

Two qubits are entangled when their joint state cannot be written as a product of separate states, for example the Bell state (|00⟩ + |11⟩)/√2. Measuring one fixes the result of the other at once, however far apart they are. Bell's theorem shows that no local hidden variable theory can give these correlations. Entanglement is used in teleportation, superdense coding and entanglement swapping.

Write these points

The four Bell states

StateForm
|Φ⁺⟩(|00⟩ + |11⟩)/√2
|Φ⁻⟩(|00⟩ − |11⟩)/√2
|Ψ⁺⟩(|01⟩ + |10⟩)/√2
|Ψ⁻⟩(|01⟩ − |10⟩)/√2

Bell's theorem

  • Local hidden variables would limit a combination of correlations: the CHSH value |S| ≤ 2.
  • Quantum mechanics predicts up to 2√2 ≈ 2.83 for entangled pairs.
  • Experiments measure about 2.8, so nature is not locally realistic.

Teleportation

  1. Alice and Bob share a Bell pair.
  2. Alice applies CNOT (her qubit |ψ⟩ to her half) and H to |ψ⟩.
  3. She measures both her qubits and sends the 2 bits to Bob.
  4. Bob applies X if the second bit is 1 and Z if the first is 1. He now has |ψ⟩.

Superdense coding and swapping

  • Superdense coding: Alice applies I, X, Z or XZ to her half and sends it; Bob's Bell measurement reads 2 classical bits from 1 qubit.
  • Entanglement swapping: with pairs A-B and C-D, a Bell measurement on B and C leaves A and D entangled, though they never met. Quantum repeaters use this.

Superdense coding table.

Shared |Φ⁺⟩. Alice wants to send 2 bits.

00 → I gives |Φ⁺⟩. 01 → X gives |Ψ⁺⟩.

10 → Z gives |Φ⁻⟩. 11 → XZ gives |Ψ⁻⟩.

Bob's Bell measurement tells the four apart, so 1 qubit carried 2 bits.

Real-life example

Two gloves are packed in separate boxes and sent to Delhi and Chennai. Opening one shows a left glove, so the other is right. Entanglement is stronger than this: Bell tests show the results were not fixed in advance like the gloves.

Figure: the teleportation circuit
Figure: the teleportation circuit

Same or opposite: teleportation and superdense coding

PointTeleportationSuperdense codingSame or opposite
Sends1 qubit state2 classical bitsOpposite
Uses a shared Bell pairYesYesSame
Channel used2 classical bits1 qubitOpposite
Faster than lightNoNoSame

Exam tip. Define entanglement with a Bell state, state Bell's theorem with the 2 and 2√2 limits. Draw the teleportation circuit and give the superdense coding table.

Back to the topic list

Q5. Quantum error correction, stabilizer codes and fault tolerant computation

Asked 3 times in 2015, 2017, 2020 · Unit 5

From the papers

  • “What is Stabilizer Code? Explain.” (Jun 2017, Jun 2020)
  • “What are the requirements of Fault Tolerance?” (Jun 2017, Jun 2020)
  • “Explain: Fault tolerant quantum computation” (Jun 2015)
  • “Explain: Theory of quantum error correction” (Jun 2015)

The short answer

Qubits lose information to noise (bit flips, phase flips, decoherence). Quantum error correction spreads one logical qubit over several physical qubits so errors can be found and fixed without measuring the stored state. Stabilizer codes describe a code by a set of commuting Pauli operators that leave every code word unchanged. Fault tolerant computation keeps errors from spreading so that long computations still succeed.

Write these points

Why it is harder than classical correction

  • No-cloning: a qubit cannot simply be copied three times.
  • Measuring the data destroys the superposition.
  • Errors are continuous, not only flips.
  • Solution: measure only the syndrome, which reveals the error but not the data.

Codes

CodeQubitsCorrects
Bit flip code3One X error
Phase flip code3One Z error (bit flip code in the H basis)
Shor code9Any one qubit error
Steane code7Any one qubit error; a stabilizer (CSS) code
Five qubit code5Any one qubit error; the smallest

Stabilizer codes

For the 3 qubit bit flip code the stabilizers are Z₁Z₂ and Z₂Z₃. Code words give +1 for both. An error makes some of them −1. That pattern (the syndrome) names the error.

Requirements of fault tolerance

  • Encode every logical qubit and do gates on encoded data.
  • One faulty gate must cause at most one error per code block.
  • Use fresh ancilla qubits and repeat syndrome measurement.
  • Threshold theorem: if the error per gate is below a threshold (about 10⁻⁴ to 10⁻²), concatenated codes make errors as small as needed.

Correcting one bit flip.

Encode a|0⟩ + b|1⟩ as a|000⟩ + b|111⟩ with two CNOTs.

Noise flips qubit 2: a|010⟩ + b|101⟩.

Measure Z₁Z₂ = −1 and Z₂Z₃ = −1: only qubit 2 differs from both neighbours.

Apply X to qubit 2. The state is a|000⟩ + b|111⟩ again. The values a and b were never read.

Real-life example

If you send a message over a noisy phone line, you might say each word three times. The listener takes the majority. A quantum code does the same, but it checks which copy disagrees without listening to the word itself.

Figure: the three qubit bit flip code
Figure: the three qubit bit flip code

Same or opposite: classical repetition code and 3 qubit bit flip code

PointClassicalQuantumSame or opposite
Copies the dataYesNo, it entanglesOpposite
Uses three carriersYesYesSame
Finds the error byReading all bitsMeasuring the syndromeOpposite
Handles phase errorsNot neededNeeds another codeOpposite

Exam tip. Give the problems, the code table and the stabilizer idea with Z₁Z₂, Z₂Z₃. List four fault tolerance requirements.

Back to the topic list

Q6. Quantum parallelism, function evaluation, serial and parallel operations, Deutsch-Jozsa algorithm

Asked 3 times in 2015, 2017, 2020 · Unit 4

From the papers

  • “How serial and parallel operations are represented.” (Jun 2017, Jun 2020)
  • “Suppose that f(00) = f(01) = 0, f(10) = f(11) = 1. Apply the Deutsch-Jozsa algorithm and show that at least one of the first two Qubits ends up as a 1.” (Jun 2020)
  • “Explain the following: Quantum parallelism and Function Evaluation.” (Jun 2015)

The short answer

Quantum parallelism means a quantum circuit U_f can compute f(x) for every input x at once on a superposition: U_f Σ|x⟩|0⟩ = Σ|x⟩|f(x)⟩. Only one result can be measured, so algorithms use interference to extract a global property. Deutsch-Jozsa decides whether f is constant or balanced with one query. Serial operations are matrix products, parallel operations are tensor products.

Write these points

Serial and parallel operations

  • Serial: gate A then gate B on the same qubit = BA (matrix product, applied right to left).
  • Parallel: A on qubit 1 and B on qubit 2 at the same time = A ⊗ B (tensor product).
  • Example: H ⊗ H on |00⟩ gives (|00⟩ + |01⟩ + |10⟩ + |11⟩)/2.
  • n Hadamards in parallel (H⊗ⁿ) make an equal superposition of 2ⁿ inputs.

Deutsch-Jozsa steps

  1. Start with n qubits |0⟩ and one qubit |1⟩.
  2. Apply H to all qubits.
  3. Apply U_f once; the phase (−1)^f(x) moves onto each input (phase kickback).
  4. Apply H to the first n qubits.
  5. Measure: all zeros means constant, anything else means balanced.

The Jun 2020 question: f(00) = f(01) = 0, f(10) = f(11) = 1.

So f(x₁x₂) = x₁, which is balanced.

After the oracle: (1/2)(|00⟩ + |01⟩ − |10⟩ − |11⟩) = (1/√2)(|0⟩ − |1⟩) ⊗ (1/√2)(|0⟩ + |1⟩).

H ⊗ H turns this into |1⟩ ⊗ |0⟩ = |10⟩.

The first qubit ends up as 1, so the result is not 00 and f is balanced. One query was enough.

Real-life example

To check whether all four taps in a building give hot water, you could open them one by one. Deutsch-Jozsa is like opening all at once and feeling one mixed stream that tells you whether they all agree.

Figure: the Deutsch-Jozsa circuit
Figure: the Deutsch-Jozsa circuit

Same or opposite: serial and parallel operations

PointSerialParallelSame or opposite
Gates act onThe same qubits in turnDifferent qubits at onceOpposite
Result is unitaryYesYesSame
MathMatrix product BATensor product A ⊗ BOpposite
Size of matrixSame sizeSizes multiplyOpposite

Exam tip. Define quantum parallelism with the U_f formula. Give serial and parallel rules. Work the Jun 2020 Deutsch-Jozsa example with the circuit.

Back to the topic list

Q7. Physical quantum computers: conditions for quantum computation, NMR, cavity QED, harmonic oscillator, optical photon

Asked 3 times in 2015, 2017, 2020 · Unit 5

From the papers

  • “Discuss the conditions of Quantum Computation.” (Jun 2017, Jun 2020)
  • “Explain Harmonic Oscillator Quantum Computer and Optical Photon Quantum Computer.” (Jun 2020)
  • “Explain optical cavity Quantum electrodynamics.” (Jun 2017)
  • “Explain Nuclear Magnetic Resonance.” (Jun 2015)

The short answer

A physical quantum computer needs a real system whose two levels act as a qubit. The conditions for quantum computation (DiVincenzo criteria) say what any such system must do. Systems studied include the harmonic oscillator, optical photon, optical cavity QED, ion trap and NMR quantum computers.

Write these points

Conditions for quantum computation

  1. Well defined, scalable qubits.
  2. Ability to start every qubit in a known state such as |0⟩.
  3. Decoherence time much longer than the gate time.
  4. A universal set of gates.
  5. Measurement of each qubit.

Physical systems

SystemQubitStrengthWeakness
Harmonic oscillatorEnergy levels of an oscillatorSimple modelLevels equally spaced, hard to address one pair
Optical photonPolarisation or path of a photonLong coherence, travels farPhotons rarely interact, two qubit gates are hard
Cavity QEDAtom and photon in a mirror cavityStrong atom-photon couplingLosses from the cavity
Ion trapEnergy levels of trapped ionsHigh accuracy gatesSlow, hard to scale
NMRNuclear spins in moleculesFirst demos (Shor on 15)Weak signal, few qubits

NMR in brief

  • Many molecules in a liquid in a strong magnetic field.
  • Radio frequency pulses rotate nuclear spins (single qubit gates).
  • J-coupling between spins gives two qubit gates.
  • The result is read as an average signal of the whole sample.

Is a system good enough?.

Decoherence time T₂ = 1 s, gate time = 1 ms.

Operations before coherence is lost ≈ 1 s ÷ 1 ms = 1,000.

An algorithm needing 10,000 gates would fail without error correction.

So condition 3 needs a ratio far larger than the gate count, or fault tolerant codes.

Real-life example

Building a quantum computer is like building a house of cards in a breeze. You need good cards (qubits), a way to place them (gates) and enough calm time (coherence) to finish before the breeze knocks them down.

Figure: kinds of physical quantum computers
Figure: kinds of physical quantum computers

Same or opposite: optical photon and ion trap quantum computers

PointOptical photonIon trapSame or opposite
QubitPhoton polarisationIon energy levelsOpposite
Meets the DiVincenzo conditions in partYesYesSame
Two qubit gatesHardAccurateOpposite
Moves easilyYesNoOpposite

Exam tip. List the five conditions. Then make the system table. Describe the one asked (NMR, cavity QED, harmonic oscillator or photon) in four points.

Back to the topic list

Q8. Quantum Fourier transform, complexity of DFT and Shor's factoring algorithm

Asked 2 times in 2015, 2020 · Unit 4

From the papers

  • “Discuss about the computational complexity of Discrete Fourier Transform.” (Jun 2020)
  • “Explain the quantum Fourier transform circuit.” (Jun 2015)
  • “Explain the quantum algorithm for factoring a number.” (Jun 2015)

The short answer

The quantum Fourier transform (QFT) maps |j⟩ to (1/√N) Σₖ e^(2πijk/N)|k⟩. It is the discrete Fourier transform applied to amplitudes. It needs only about n² gates for N = 2ⁿ, while the classical FFT needs about N log N = n2ⁿ steps. Shor's algorithm uses the QFT to find the period of aˣ mod N, which factors N in polynomial time.

Write these points

Complexity of the DFT

MethodSteps for N = 2ⁿ
Direct DFTN² = 4ⁿ
Classical FFTN log₂ N = n2ⁿ
Quantum QFTn(n + 1)/2 gates
  • QFT circuit: on each qubit an H, then controlled phase gates R_k, then swaps to reverse the qubit order.
  • The catch: amplitudes cannot be read directly, so the QFT helps only inside algorithms such as phase estimation and Shor.

Shor's algorithm steps

  1. Pick a random a < N with gcd(a, N) = 1.
  2. Use the QFT to find the period r of f(x) = aˣ mod N.
  3. If r is even and a^(r/2) ≠ −1 mod N, compute gcd(a^(r/2) ± 1, N).
  4. These are factors of N; else try another a.

QFT size for 10 qubits.

N = 2¹⁰ = 1,024.

FFT: 1,024 × 10 = 10,240 steps.

QFT: 10 × 11 ÷ 2 = 55 gates.

The quantum circuit is far smaller, though reading all outputs is not possible.

Factoring 15 with a = 7.

7¹ mod 15 = 7, 7² = 4, 7³ = 13, 7⁴ = 1. So r = 4.

a^(r/2) = 7² = 49.

gcd(48, 15) = 3 and gcd(50, 15) = 5.

15 = 3 × 5. In 2001 IBM ran this on a 7 qubit NMR computer.

Real-life example

A music app finds the notes in a song by a Fourier transform. Shor's algorithm listens for the hidden rhythm (period) in a sequence of numbers. Once the rhythm is known, the factors follow with simple arithmetic.

Figure: Shor's algorithm
Figure: Shor's algorithm

Same or opposite: classical FFT and QFT

PointFFTQFTSame or opposite
Acts onA list of numbersAmplitudes of a stateOpposite
Computes the discrete Fourier transformYesYesSame
CostN log NAbout n² gatesOpposite
Outputs readableAllOnly by measurementOpposite

Exam tip. Give the QFT formula and the complexity table. Write Shor's four steps and factor 15 with a = 7.

Back to the topic list

Q9. Shannon entropy, properties of entropy and data compression

Asked 2 times in 2015, 2020 · Unit 5

From the papers

  • “Explain the following: Shannon Entropy” (Jun 2015, Jun 2020)
  • “Explain the following: Data compression” (Jun 2015, Jun 2020)
  • “Explain: Properties of Entropy.” (Jun 2015)

The short answer

Shannon entropy measures the average information, or uncertainty, of a source: H(X) = −Σ p(x) log₂ p(x) bits. Data compression removes redundancy. Shannon's noiseless coding theorem says a source can be compressed to H bits per symbol, but not fewer. The quantum version uses von Neumann entropy S(ρ) = −Tr(ρ log₂ ρ). Schumacher compression packs quantum states into S qubits per state.

Write these points

Basic properties of entropy

  • H ≥ 0. It is 0 only when one outcome is certain.
  • H ≤ log₂ n for n outcomes, with equality for equal probabilities.
  • Joint entropy: H(X, Y) ≤ H(X) + H(Y) (subadditivity), equal when X and Y are independent.
  • Conditional entropy H(Y|X) = H(X, Y) − H(X) ≥ 0 classically.
  • Von Neumann entropy: S = 0 for a pure state; S = 1 for the completely mixed qubit I/2. Strong subadditivity holds.

Data compression

TypeIdeaExample
LosslessShort codes for common symbolsHuffman, ZIP
LossyDrop detail people do not noticeJPEG, MP3
Quantum (Schumacher)Keep only the typical subspacen qubits into about nS qubits

Entropy and a Huffman code.

Source symbols A, B, C, D with probabilities 1/2, 1/4, 1/8, 1/8.

H = (1/2)(1) + (1/4)(2) + (1/8)(3) + (1/8)(3) = 1.75 bits.

Huffman codes: A = 0, B = 10, C = 110, D = 111.

Average length = 0.5 × 1 + 0.25 × 2 + 0.125 × 3 + 0.125 × 3 = 1.75 bits, equal to H. A fixed code needs 2 bits.

Real-life example

In SMS language people write "u" for "you" and "gr8" for "great": common words get short forms. Compression does the same. Entropy tells you the shortest average length possible.

Figure: compression to the entropy limit
Figure: compression to the entropy limit

Same or opposite: Shannon entropy and von Neumann entropy

PointShannonVon NeumannSame or opposite
Defined onProbability distributionDensity operatorOpposite
Measures uncertainty in bitsYesYesSame
Formula−Σ p log p−Tr(ρ log ρ)Opposite
Zero forA certain outcomeA pure stateOpposite

Exam tip. Write the formula, the properties and the compression table. Work the 4 symbol example with a Huffman code.

Back to the topic list

Q10. Quantum measurement, unitary evolution and POVM

Asked 2 times in 2015, 2017 · Unit 2

From the papers

  • “Explain positive operator valued measures.” (Jun 2017)
  • “Explain the term measurement and unitary evolution with respect to quantum theory concept.” (Jun 2015)
  • “Explain the problems to be considered during the measurement.” (Jun 2015)

The short answer

In quantum theory a closed system changes by unitary evolution |ψ(t)⟩ = U|ψ(0)⟩, which is smooth and reversible. Measurement is different: it gives one outcome m with probability ⟨ψ|M_m†M_m|ψ⟩ and collapses the state, which cannot be undone. Projective measurements use orthogonal projectors; POVMs (positive operator valued measures) are the most general kind.

Write these points

Postulates involved

  1. A state is a unit vector in a Hilbert space.
  2. Evolution of a closed system is unitary: U†U = I.
  3. Measurement operators {M_m} with Σ M_m†M_m = I give the outcome probabilities.
  4. After outcome m the state becomes M_m|ψ⟩ / √p(m).

Problems in measurement

  • The result is random; only probabilities are predicted.
  • The state collapses, so the original superposition is lost.
  • Non-orthogonal states cannot be told apart with certainty.
  • Measuring one part of an entangled system changes what the other part shows.

POVM

  • A set of positive operators E_m with Σ E_m = I; p(m) = ⟨ψ|E_m|ψ⟩.
  • Only the probabilities matter, not the state after measurement.
  • Can have more outcomes than the dimension.
  • Used to distinguish non-orthogonal states without ever making a wrong guess (a third outcome means "not sure").

Measuring |ψ⟩ = (1/√5)|0⟩ + (2/√5)|1⟩.

Projectors P₀ = |0⟩⟨0| and P₁ = |1⟩⟨1|.

p(0) = 1/5 = 0.2, p(1) = 4/5 = 0.8.

Average of Z (+1 for 0, −1 for 1): ⟨Z⟩ = 0.2 − 0.8 = −0.6.

Standard deviation: √(⟨Z²⟩ − ⟨Z⟩²) = √(1 − 0.36) = 0.8.

Real-life example

Asking a friend who is still deciding between two films which one they will watch forces an answer. Once they say it, the indecision is gone. A quantum measurement forces one result in the same way.

Figure: kinds of quantum measurement
Figure: kinds of quantum measurement

Same or opposite: unitary evolution and measurement

PointUnitary evolutionMeasurementSame or opposite
ReversibleYesNoOpposite
Follows the postulates of quantum mechanicsYesYesSame
ResultFixed new stateRandom outcomeOpposite
Keeps superpositionYesNo, collapses itOpposite

Exam tip. Write the postulates, the problems in measurement and the POVM definition. Work a probability and average value example.

Back to the topic list

Start with the latest papers

Quantum Computing - Jun 2020 (old code CS-8304)

Quantum Computing - Jun 2017 (old code CS-8304)

Quantum Computing - Jun 2015 (old code CS-8304)

See all 3 papers →

Quantum Computing (CI-803-B) FAQs

What are the most important topics in Quantum Computing?

By how often they were asked in the papers on this site: Qubits, quantum states and quantum gates: single, multiple qubit, controlled, universal and reversible gates (3 times); Density operator: pure and mixed states, properties, partial trace and reduced density operator (3 times); Grover's search algorithm (3 times); Entanglement, Bell's theorem, entanglement swapping, teleportation and superdense coding (3 times); Quantum error correction, stabilizer codes and fault tolerant computation (3 times).

How were these Quantum Computing important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2015-2020). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Quantum Computing important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Quantum Computing is free to download from this page.

The 10 most repeated topics of Quantum Computing (CI-803-B) for RGPV B.Tech CSIT semester 8, counted from the previous year papers on this site. Quantum Computing is also searched for as CS-8304.

Also known as CS-8304