The transmon_surface17 Quantum System#
transmon_surface17 is the quantum system that comes with CUDA-Q Pulse:
a superconducting chip of 17 transmons, laid out for one logical
qubit of the surface code. This page shows its layout, its frequencies, its
coherence, its calibrated gates and how a program addresses it.
Every number, table and figure on this page is read from the system
itself by docs/user_guide/figures/transmon_surface17.py, and
tests/test_transmon_surface17_page.py fails when the page and the
system differ.
One QPU, Several Control Systems puts several control systems under this chip and compares them.
What it is#
The chip has 17 transmons, in these groups:
9 data qudits, D1 to D9, hold the logical qubit;
4 X auxiliaries, X1 to X4, each check an X stabilizer of the data qudits around it;
4 Z auxiliaries, Z1 to Z4, each check a Z stabilizer.
A program names a qudit by its index or by its label. The data qudits are indices 0 to 8, the X auxiliaries 9 to 12 and the Z auxiliaries 13 to 16. The program clock is 2 GHz.
Every figure on this page, and in the tutorial above, shows the groups the same way: data qudits as grey circles, X auxiliaries as orange squares and Z auxiliaries as purple diamonds.
Layout and couplings#
The lattice. Each marker holds a qudit’s label and, under it, its index.#
The 17 qudits of transmon_surface17 on a square lattice. The 9 data qudits D1 to D9, indices 0 to 8, fill a grid row by row. Each of the 8 auxiliary qudits sits between the data qudits it couples to: X1 (index 9) couples to D2, D3; X2 (index 10) couples to D1, D2, D4, D5; X3 (index 11) couples to D5, D6, D8, D9; X4 (index 12) couples to D7, D8; Z1 (index 13) couples to D1, D4; Z2 (index 14) couples to D4, D5, D7, D8; Z3 (index 15) couples to D2, D3, D5, D6; Z4 (index 16) couples to D6, D9.
The chip has 24 couplings. Each one joins an auxiliary to a data qudit; no two data qudits and no two auxiliaries are coupled. An auxiliary on the edge of the lattice couples to fewer data qudits than one in the middle, as the figure shows.
At the idle frequencies, the exchange between a coupled pair is 5.67 to 6.08 MHz. The table at the end of this page lists every coupling.
Address it in a program#
pulse.quantum_system loads the system. system.qudit takes a label
and gives the qudit’s handle, which a kernel takes as an argument:
import cudaq_pulse as pulse
system = pulse.quantum_system("transmon_surface17")
z4 = system.qudit("Z4")
print(z4.index)
print(system.physical_qudits[z4.index].label)
print(system.qudit_freq[z4.index] / 1e9, "GHz")
Output
16
Z4
6.037 GHz
A handle gives its qudit’s calibrated pulses, and a coupling gives its CZ:
flip = z4.get_calibration(pulse.gates.X)
print(type(flip).__name__, flip.duration_ns, "ns")
pair = system.coupling(system.qudit("X1"), system.qudit("D2"))
cz = pair.get_calibration(pulse.gates.CZ)
print(type(cz).__name__, cz.duration_ns, "ns")
Output
DragPulse 40.0 ns
FluxCZ 98.0 ns
Inside a kernel, get_drive_line and get_readout_line give a
qudit’s two lines, and each line gives the calibrated pulses of its own
qudit. This kernel flips a qudit and reads it out, with no pulse values of
its own:
@pulse.kernel
def flip_and_measure(qudit):
drive_line = get_drive_line(qudit)
readout_line = get_readout_line(qudit)
flip = drive_line.get_calibration(pulse.gates.X)
measurement = readout_line.get_calibration(pulse.gates.READOUT)
drive(drive_line, flip)
sync(drive_line, readout_line)
return readout(readout_line, measurement)
scheduled = flip_and_measure.lower(z4)
for event in scheduled.schedule:
print(event.kind, event.start_cycles, event.duration_cycles)
result = pulse.simulate(flip_and_measure, z4, readout="model")
print(f"P(1) = {result.level_population(1):.3f}")
Output
drive 0 80
readout 80 400
P(1) = 0.983
The schedule counts cycles of the 2 GHz clock. The same kernel runs on any other qudit of the chip: pass another handle.
Frequencies#
Each qudit’s two lowest transitions and its readout resonator.#
The frequencies of the 17 qudits, one row each, on an axis in GHz: the 0-1 transition, the 1-2 transition below it by the anharmonicity, and the readout resonator. The data qudits have their 0-1 transition at 3.740 to 4.143 GHz and their resonators at 6.769 to 7.180 GHz; the X auxiliaries have their 0-1 transition at 5.885 to 6.097 GHz and their resonators at 7.258 to 7.554 GHz; the Z auxiliaries have their 0-1 transition at 5.956 to 6.328 GHz and their resonators at 7.200 to 7.502 GHz.
The data qudits idle at 3.740 to 4.143 GHz and the auxiliaries at 5.885 to 6.328 GHz. The data qudits and the auxiliaries are at least 1.74 GHz apart, so a drive on one group is far from the other. The anharmonicities are -186 to -163 MHz: the 1-2 transition of a qudit is that far below its 0-1 transition. The readout resonators are at 6.769 to 7.554 GHz.
Index |
Label |
Group |
0-1 frequency (GHz) |
Anharmonicity (MHz) |
Readout resonator (GHz) |
Feedline |
|---|---|---|---|---|---|---|
0 |
D1 |
data |
3.885 |
-184 |
6.769 |
top right |
1 |
D2 |
data |
3.994 |
-184 |
6.979 |
top right |
2 |
D3 |
data |
3.952 |
-183 |
6.880 |
bottom right |
3 |
D4 |
data |
3.878 |
-184 |
7.120 |
top left |
4 |
D5 |
data |
3.895 |
-186 |
7.180 |
top right |
5 |
D6 |
data |
3.740 |
-184 |
7.032 |
bottom right |
6 |
D7 |
data |
4.056 |
-181 |
6.910 |
top left |
7 |
D8 |
data |
3.993 |
-183 |
7.075 |
bottom left |
8 |
D9 |
data |
4.143 |
-181 |
6.868 |
bottom left |
9 |
X1 |
X auxiliary |
6.097 |
-170 |
7.372 |
top right |
10 |
X2 |
X auxiliary |
5.885 |
-174 |
7.554 |
top right |
11 |
X3 |
X auxiliary |
6.022 |
-170 |
7.258 |
bottom left |
12 |
X4 |
X auxiliary |
6.049 |
-170 |
7.461 |
bottom left |
13 |
Z1 |
Z auxiliary |
6.328 |
-163 |
7.316 |
top left |
14 |
Z2 |
Z auxiliary |
6.192 |
-168 |
7.502 |
top left |
15 |
Z3 |
Z auxiliary |
5.956 |
-171 |
7.200 |
bottom right |
16 |
Z4 |
Z auxiliary |
6.037 |
-170 |
7.412 |
bottom right |
Readout feedlines#
The qudits are read out through 4 feedlines of 4 to 5 qudits each. On one feedline the resonators are at least 152 MHz apart, so one line can carry all their readout tones at once.
The resonators on each feedline.#
The readout resonators of the 4 feedlines, one row per feedline, on an axis in GHz. Top left: D7 at 6.910, D4 at 7.120, Z1 at 7.316, Z2 at 7.502; top right: D1 at 6.769, D2 at 6.979, D5 at 7.180, X1 at 7.372, X2 at 7.554; bottom left: D9 at 6.868, D8 at 7.075, X3 at 7.258, X4 at 7.461; bottom right: D3 at 6.880, D6 at 7.032, Z3 at 7.200, Z4 at 7.412.
The groups are recorded in the system’s calibration file, under
readout.feedlines, with the kind digitized: they were
traced from a published picture of the chip, not taken from a table. The
system alone has no control system, so nothing ties the groups to
hardware until a program does:
examples/transmon/transmon_surface17_multiplexed_readout.py puts one
group on a shared readout line, and One QPU, Several Control Systems
gives each group a controller.
Coherence#
T1 is 12.4 to 65.5 µs across the chip, the Ramsey T2* 5.6 to 78.1 µs and the echo T2 15.8 to 89.3 µs.
Label |
T1 (µs) |
T2* (µs) |
T2 echo (µs) |
Thermal population (%) |
Readout assignment error (%) |
|---|---|---|---|---|---|
D1 |
29.1 |
35 |
46.2 |
2.1 |
0.13 |
D2 |
33 |
13.5 |
52.2 |
0.7 |
0.00 |
D3 |
65.5 |
33.9 |
49.3 |
1.5 |
0.24 |
D4 |
59.3 |
74.3 |
75.5 |
3.8 |
0.31 |
D5 |
32.2 |
46.1 |
56.1 |
2.7 |
0.28 |
D6 |
60.2 |
78.1 |
89.3 |
2.2 |
0.22 |
D7 |
36 |
74.8 |
72.5 |
0.0 |
1.87 |
D8 |
33.1 |
41.4 |
59.1 |
0.8 |
0.82 |
D9 |
25.9 |
31.7 |
36.3 |
1.6 |
0.00 |
X1 |
12.4 |
5.6 |
15.8 |
0.2 |
1.81 |
X2 |
17.4 |
14.3 |
33 |
0.2 |
0.06 |
X3 |
18.5 |
20.7 |
16.1 |
0.5 |
0.20 |
X4 |
12.6 |
28.9 |
33.1 |
0.3 |
0.00 |
Z1 |
17 |
29.3 |
31.5 |
0.6 |
0.66 |
Z2 |
42.7 |
33.1 |
26 |
0.5 |
0.13 |
Z3 |
29.7 |
48 |
53.6 |
0.2 |
0.03 |
Z4 |
27.5 |
28.9 |
53.6 |
0.9 |
0.09 |
A simulation starts each qudit in its thermal mixture and relaxes it with
its T1. It dephases with T2*, or with the echo T2 under
simulate(..., dephasing="t2_echo"). The readout assignment error
applies under simulate(..., readout="model"); it is the chance that a
readout reports the wrong one of the two lowest levels.
Calibrated gates#
Gate |
On |
Calibration |
Duration (ns) |
Notes |
|---|---|---|---|---|
|
every qudit |
40 |
sigma 10 ns |
|
|
every qudit |
|
40 |
|
|
every qudit |
|
20 |
sigma 5 ns |
|
the data qudits |
300 |
sigma 10 ns, integrated for 400 ns |
|
|
the X auxiliaries and Z auxiliaries |
|
200 |
sigma 10 ns, integrated for 400 ns |
|
each of the 24 couplings |
98 |
buffers of 15 ns included; no pulse is sent |
What the simulator models, and what it does not:
Single-qudit pulses are simulated.
Xis a 40 nsDragPulsewith a sigma of 10 ns. Its amplitude is a rotation rate, andget_calibrationgives the amplitude of a half turn of the Bloch sphere.X90isXat half the amplitude,YandY90are the same pulses a quarter turn later in phase, andZ,SandTare phase shifts of the drive tone that take no time.A simulation includes the level above the qubit’s own, so a drive can leak to it. The 20 ns
Xof the 1-2 transition brings a leaked qudit back.A readout is simulated as a measurement at the end of its pulse. It lasts 300 ns on a data qudit and 200 ns on an auxiliary. Under
readout="model"the outcome goes through the qudit’s assignment error.The couplings are simulated, always on, at the strengths in the table below.
Flux lines are not modeled. On the chip a CZ is a flux pulse that moves a qudit’s frequency. Here a
FluxCZholds the gate’s duration, 98 ns with its buffers of 15 ns, and sends no pulse: a kernel waits for that time on both qudits. So a schedule has the right length, and a simulation of it has no entangling gate.
One round of error correction#
examples/transmon/transmon_surface17_surface_code_cycle.py builds one
cycle of the surface code on this chip. The chip’s CZs run in
8 steps of 3 CZs each, which the system gives
as CZ_LAYERS:
Step |
Stabilizers |
CZs, auxiliary-data |
|---|---|---|
1 |
Z |
Z1-D1, Z2-D5, Z3-D3 |
2 |
Z |
Z1-D4, Z2-D8, Z3-D5 |
3 |
Z |
Z2-D4, Z3-D2, Z4-D6 |
4 |
Z |
Z2-D7, Z3-D6, Z4-D9 |
5 |
X |
X2-D1, X3-D5, X4-D7 |
6 |
X |
X2-D2, X3-D6, X4-D8 |
7 |
X |
X1-D3, X2-D5, X3-D9 |
8 |
X |
X1-D2, X2-D4, X3-D8 |
Importing the example runs it. It prints the steps and compiles the cycle:
from transmon_surface17_surface_code_cycle import scheduled as cycle
print(cycle.duration)
Output
CZ step 1: Z1-D1, Z2-D5, Z3-D3
CZ step 2: Z1-D4, Z2-D8, Z3-D5
CZ step 3: Z2-D4, Z3-D2, Z4-D6
CZ step 4: Z2-D7, Z3-D6, Z4-D9
CZ step 5: X2-D1, X3-D5, X4-D7
CZ step 6: X2-D2, X3-D6, X4-D8
CZ step 7: X1-D3, X2-D5, X3-D9
CZ step 8: X1-D2, X2-D4, X3-D8
Compiled and verified: 617 ops, total = 1024 ns: 8 CZ steps of
98 ns and 6 single-qubit slots of 40 ns (the quantum system's
cycle, with readout, takes 1.1 us)
1.024 us
The cycle on the drive lines. A box is a CZ slot, named for the partner qudit; a curve is a drive pulse.#
The schedule of one error correction cycle on the drive lines of the 17 qudits, 1024 ns long. 8 CZ steps of 98 ns follow each other, the first from 40 ns and the last from 886 ns; in each step, 3 auxiliary-data pairs wait together, each box naming its partner. Steps 1 to 4 are on the Z auxiliaries and steps 5 to 8 on the X auxiliaries. Between the steps are 52 drive pulses of 40 ns: quarter turns on the auxiliaries around their four steps, quarter turns on the data qudits around the X steps, and an echo on every data qudit in the middle of each half.
Read the figure from the left:
the Z auxiliaries get a quarter turn, wait through their CZ steps, and get a quarter turn back;
the X auxiliaries do the same in the second half, and there the data qudits get a quarter turn before and after, to check them in the X basis;
in the middle of each half, every data qudit gets a half turn, an echo that undoes slow frequency errors.
The cycle is 1024 ns long. It leaves out the readout of the auxiliaries. One QPU, Several Control Systems adds the readout and an active reset, and shows how the control system changes the length.
Where the numbers come from#
The system carries its source:
import textwrap
print(textwrap.fill(system.attribution, width=64))
print(system.calibration.name, system.calibration.measurement_run)
Output
S. Krinner, N. Lacroix et al., 'Realizing repeated quantum error
correction in a distance-three surface code', Nature 605, 669
(2022). arXiv:2112.03708
transmon_surface17 2022-main
The frequencies, anharmonicities, coherence times, readout parameters and
gate durations are the values that paper publishes. The paper does not
publish everything a simulation needs. The rest is in the calibration
transmon_surface17, which the system loads by default: the coupling
strengths, the DRAG coefficient of each X, the X of the 1-2
transition, the readout assignment errors and the feedline groups. Its
measurement run 2022-main is described in the file as “the cooldown of Krinner22 Tab. I (columns without superscript a) and the QEC data”.
Each calibrated value records whether it is published, read from a figure, or fitted, and its source. Describe a Quantum System explains the calibration and how to read one value with its source.
Couplings#
Pair |
CZ step |
Exchange at idle (MHz) |
CZ interaction frequency (GHz) |
CZ duration (ns) |
|---|---|---|---|---|
Z1-D1 |
1 |
6.07 |
4.885 |
98 |
Z2-D5 |
1 |
5.90 |
4.676 |
98 |
Z3-D3 |
1 |
5.82 |
5.293 |
98 |
Z1-D4 |
2 |
6.06 |
4.785 |
98 |
Z2-D8 |
2 |
6.01 |
5.313 |
98 |
Z3-D5 |
2 |
5.75 |
4.320 |
98 |
Z2-D4 |
3 |
5.92 |
4.792 |
98 |
Z3-D2 |
3 |
5.84 |
5.249 |
98 |
Z4-D6 |
3 |
5.72 |
4.815 |
98 |
Z2-D7 |
4 |
6.08 |
4.317 |
98 |
Z3-D6 |
4 |
5.67 |
4.979 |
98 |
Z4-D9 |
4 |
6.03 |
5.446 |
98 |
X2-D1 |
5 |
5.69 |
5.423 |
98 |
X3-D5 |
5 |
5.79 |
4.487 |
98 |
X4-D7 |
5 |
5.98 |
4.336 |
98 |
X2-D2 |
6 |
5.76 |
5.495 |
98 |
X3-D6 |
6 |
5.71 |
4.931 |
98 |
X4-D8 |
6 |
5.91 |
4.354 |
98 |
X1-D3 |
7 |
5.90 |
5.197 |
98 |
X2-D5 |
7 |
5.67 |
4.891 |
98 |
X3-D9 |
7 |
6.03 |
5.598 |
98 |
X1-D2 |
8 |
5.92 |
4.693 |
98 |
X2-D4 |
8 |
5.68 |
5.276 |
98 |
X3-D8 |
8 |
5.90 |
4.560 |
98 |