Paper Qubits

Paper Qubits

A quantum computer, drawn in pencil and simulated exactly. Add gates, watch the arrows and clocks, then measure and compare what you get with the prediction.

Control the chip

From the chip to the notation

On the chipIn the notation
Left alone in the fridge, the circuit settles into its lowest energy level|0⟩
The next energy level up, 5.00 GHz higher|1⟩
A microwave pulse at exactly 5.00 GHz, length trotation Ry(θ), θ ∝ t
π/2 pulse: half of a full flip|0⟩ → (|0⟩+|1⟩)/√2 = |+⟩
the H of lesson 1
π pulse: a full flipX: |0⟩ → |1⟩
One readout: the dot lands left or right of the linemeasurement → 0 or 1
Share of dots on the right, over many shotsP(1) = |amplitude of |1⟩|²
Waiting: energy leaks out (T1 = 60 µs), phase blurs (T2 = 45 µs)the arrow shrinks: noise

Control the chip

From the chip to the notation

On the chipIn the notation
Two aluminium crosses: Q0 at 5.00 GHz, Q1 at 5.30 GHzq0, q1; joint |q1 q0⟩
A 26 ns pulse on each drive line, D0 and D1Ry(π/2) on each ≈ H
A 60 ns flux pulse on the coupler between the crossesCZ: |11⟩ gets phase φ
(ideal φ = 180°, a − sign)
A −π/2 pulse on D1 after the couplerall together: CNOT q0→q1
(lesson 3)
Both arrows shrink while the coupler pulse playsentangled: no state
of its own
Two resonators on one feedline, read at the same timemeasure both → 00…11
Both dots land on the same side far more often than chancecorrelation:
P(00) + P(11)
Coupler pulse too weak, too strong, or offφ ≠ 180°: partly or
not entangled

Pick a gate

What the compiler makes of it


        

RZ is free: the control software shifts the phase of the later pulses instead of playing anything. SX, X and CZ are real pulses. The native set here matches IBM-style chips; durations are typical, not one chip's specs.

Circuit

In electronics

On the chip

Pulse schedule: the gate as the chip receives it

A flip-flop and a qubit, side by side

Logic gate / flip-flopQuantum gate / qubit
A bit isa voltage on a node (0 V or ~0.8 V), held by feedbackwhich energy level a circuit is in, or any arrow in between
A gate istransistors the data flows through, onto a new wirea timed pulse sent to a qubit that stays put
A circuit iswiring, fixed in silicona program, compiled to a pulse schedule and played in time
Speedpicoseconds per gate, GHz clocks~36 ns per pulse, ~70 ns per coupler gate, ~1 µs to read
Memory lastsas long as the power is on~100 µs, then the qubit drifts back to |0⟩ (lesson 0's wait slider)
Readingfree, repeatable, changes nothingonce; the result is 0 or 1 and the superposition is gone
Copyingfan a wire out to many inputsimpossible (no-cloning); you can only entangle
Reversibleno: AND and NAND throw information awayyes, every gate can be undone (measurement can't)
Errorsso rare they're ignoredabout 1 in 1,000 per two-qubit gate on good chips

The chip, sketched

  1. Reset
  2. π/2 pulses
  3. Coupler
  4. −π/2 pulse
  5. Readout
  6. Collapse
  7. Repeat

Fire a shot to watch both qubits, the coupler and the readout take their turns.

siliconaluminiumdrive lines D0, D1coupler + flux linereadoutjunctions

A real multi-qubit chip

Colour-coded micrograph of a 7 mm chip with four qubits Q1 to Q4 in the corners and four meandering resonators R1 to R4 between them, with an inset zooming in on one 700 micrometre qubit
Four qubits, 7 mm across Q1–Q4 are the qubits (orange), each with its own drive and flux line coming in from the edge, like D0, D1 and the flux line in the sketch. The inset zooms in on one qubit: 700 µm wide. One difference from the sketch: here neighbouring qubits talk through the meandering resonators R1–R4 instead of a small tunable coupler. Both are ways to let two qubits exchange energy on command. Salathé et al., Wallraff group, ETH Zurich, Phys. Rev. X 5, 021027 (2015). CC BY-SA 3.0

Pulse schedule: what the control electronics play, in nanoseconds

Each qubit on its own, and its readout dots

Q0 readout
Q1 readout

Both qubits together

The chip, sketched

  1. Reset
  2. Drive
  3. Wait
  4. Readout
  5. Collapse
  6. Repeat

Fire a shot to watch each part of the chip do its job.

siliconaluminium, superconductingdrive line + pulsereadout lineJosephson junction

The real thing, zooming in (click a photo to magnify, click again to reset)

A gold, multi-tiered dilution refrigerator hanging open, with coaxial cables running down through its plates1 · the fridge
The whole machine A dilution refrigerator with its shields off. Each gold plate is colder than the one above; the chip sits at the bottom, at about 10 mK. The silver cables carry the pulses down and the readout tones back up: the blue and teal lines in the sketch. IQM quantum computer, Espoo. Photo: Ragsxl, CC BY-SA 4.0
A small square chip with four rainbow-tinted blocks, each holding six cross-shaped qubits joined by zig-zag lines to a central line2 · the chip
A chip of 24 qubits Each small “+” is one transmon, the same cross as the sketch. The zig-zags are readout resonators, all hanging off a straight feedline down the middle of each block. The rainbow is only light reflecting off the metal film. Transmons patterned by laser lithography. Photo: OJB Quantum, CC BY 4.0
Microscope image of a superconducting qubit: white metal lines on black, a red arrow pointing at the Josephson junction, and a grid of square holes in the surrounding metal3 · one qubit
One qubit, under a microscope White is metal, black is where it was etched away. The red arrow marks the Josephson junction, the coral square in the sketch. The grid of square holes in the ground metal stops stray magnetic flux from getting trapped. NIST superconducting qubit (an earlier design than the transmon). Raymond Simmonds / NIST, public domain

The qubit's state

Readout: one dot per shot

Rabi oscillation: P(1) against pulse length

predictedmeasured on the chipfitted curveclick the chart to set the pulse length

Walk through a real lab (videos open on YouTube)

Each qubit on its own (Bloch sphere, drag to turn)

The whole state: one clock per outcome

Disc size is the amplitude (its area is the probability). The blue hand is the phase: right is +, left is −. Outcomes are written |q0…q0⟩.

Measure

predicted probabilitymeasured share of shots