Sari la conținut
aiqbenchInformații despre AI & calcul cuantic
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre
...Se încarcă sesiunea
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

  1. Joburile viitorului
  2. ›
  3. Quantum Error Correction Engineer
  4. ›
  5. Lecția 6 din 8

Lecțiile acestui traseu sunt publicate deocamdată doar în engleză, așa că lecția de mai jos apare în engleză. Restul — module, quiz și materiale — funcționează la fel.

Logical Gates: Transversal Gates, Lattice Surgery and Magic States

Avansat¶ Citire · 5 min⚑ Misiune · 40 min◆ Test · 5 întrebări✓ Verificată la 23 nov. 2026

Vei putea să:

You can explain why a memory is not a computer, what makes a gate transversal and why Eastin–Knill forbids a universal transversal set, how lattice surgery performs a logical CNOT with surface-code patches, and why magic-state distillation is a major part of the resource budget of a fault-tolerant algorithm.

A memory is not a computer

Everything so far keeps a logical qubit alive. To compute you need logical gates, and this is where the surface code's geometric simplicity starts charging rent. The complete toolkit has three parts: gates you get almost for free (transversal), gates you build from geometry (lattice surgery), and the one gate neither of those can give you, which has to be manufactured (magic states).

Transversal gates and the Eastin–Knill wall

A gate is transversal when you implement the logical version by applying a physical gate to each qubit of the code block independently (or to corresponding pairs across two blocks). Transversal gates are the fault-tolerant engineer's dream, because a fault on one physical qubit stays on one physical qubit — nothing inside the gate spreads it. Module 2 noted that the Steane code has transversal H, S and CNOT: the entire Clifford group.

Clifford gates alone are not enough. By Gottesman–Knill a circuit of Cliffords can be simulated classically, so a universal set needs at least one non-Clifford gate, conventionally T (a π/4 phase rotation). Eastin and Knill proved in 2009 that no code with distance at least 2 can have a universal transversal gate set. Every code must pay for universality somewhere; the field's choices are where to pay.

The surface code's situation is worse than Steane's: in a single planar patch only Pauli gates and, with some care, H and S are available conveniently; even the transversal CNOT needs two patches stacked on top of each other, which a planar chip cannot do.

Lattice surgery: computing by cutting and merging

Horsman, Fowler, Devitt and Van Meter's 2012 proposal keeps everything planar. Two surface-code patches side by side with facing Z-type boundaries are merged by switching on the stabilizers that straddle the gap and measuring them for d rounds. The product of those new checks equals Z_L ⊗ Z_L of the two logical qubits, so the merge is a fault-tolerant measurement of the logical ZZ parity — without ever measuring either logical qubit on its own. Switching the straddling checks off again splits the patches back apart. A merge along the other boundary pair measures X_L ⊗ X_L.

Worked procedure: a logical CNOT by surgery

With a control patch C, a target patch T, and a fresh ancilla patch A prepared in |+⟩_L placed between them:

  1. Merge C and A along their Z boundaries for d rounds: measures Z_C Z_A. Split.
  2. Merge A and T along their X boundaries for d rounds: measures X_A X_T. Split.
  3. Measure A in the Z basis.
  4. Apply Pauli corrections to C and T depending on the three measurement outcomes.

The result is exactly a CNOT from C to T. Note the cost: each merge takes d rounds, so a logical CNOT costs on the order of 2d–3d syndrome cycles, and the ancilla patch occupies real estate while it works. Litinski's "A Game of Surface Codes" treats the whole chip as a board of patches and works out how to schedule many such operations in parallel; it is the reference for turning an algorithm into a space-time volume estimate.

Magic states and distillation

The remaining gate, T, is implemented by gate teleportation: prepare an ancilla in the magic state |T⟩ = (|0⟩ + e^{iπ/4}|1⟩)/√2, do a logical CNOT and a logical measurement, and apply a Clifford correction. All the non-Clifford difficulty is pushed into preparing |T⟩. But the surface code's native fault-tolerant operations are all Clifford, Cliffords cannot turn stabilizer states into |T⟩, and the code has no transversal T to fall back on (Eastin–Knill). Instead you prepare a noisy one by injecting a physical T state into a small patch (error roughly equal to the physical error rate p), and then distil.

Bravyi and Kitaev's 2005 protocol takes 15 noisy copies, runs a Clifford circuit based on the [[15, 1, 3]] Reed–Muller code (which has a transversal T), and, when a set of check measurements comes out clean, outputs one copy with error ≈ 35p³. Cubing the error is the point.

Worked numbers: distilling to 10⁻¹²

Starting from p = 10⁻³:

  1. One round: 35 × (10⁻³)³ = 3.5 × 10⁻⁸. Consumes 15 raw states.
  2. Two rounds: 35 × (3.5 × 10⁻⁸)³ ≈ 1.5 × 10⁻²¹. Consumes 15 × 15 = 225 raw states, plus the Clifford circuitry of both rounds, which must itself run in surface-code patches at adequate distance.

Two rounds overshoot 10⁻¹² comfortably, and in practice a factory is designed to just clear the target, with the inner round at lower distance than the outer. The overhead is still the elephant in the room: algorithms of interest need 10⁸ to 10¹⁰ T gates, each one a distilled state consumed, and the factories producing them are frequently a large fraction of the whole machine's footprint. Gidney and Fowler's factory designs, and later work on cheaper protocols, exist because this cost can rival or exceed the cost of storing the logical qubits (in Gidney's 2025 RSA-2048 estimate, which uses magic-state cultivation, idle storage is about 81% of the physical qubits).

Where the field is still moving

Alternatives are actively being explored: codes with transversal T in three dimensions, "magic state cultivation" that grows a good T state inside a patch with far less distillation, and non-surface codes (module 7) whose gate sets are cheaper. None of these has yet displaced the lattice-surgery-plus-distillation picture as the baseline against which everything is measured.

What to remember

  • Transversal gates keep faults local; Eastin–Knill says no code gets a universal transversal set, so universality is always paid for somewhere.
  • Lattice surgery measures logical ZZ or XX by merging patches for d rounds and splitting; a CNOT is two merges through an ancilla plus corrections.
  • T gates come from magic states via gate teleportation; magic states come from injection plus distillation.
  • 15-to-1 distillation cubes the error (≈ 35p³); two rounds take 10⁻³ far below 10⁻¹² at 225 raw states each.
  • Magic-state factories are often a large share of the cost of a fault-tolerant algorithm, though with cultivation and compact idle storage (Gidney 2025) storage can dominate instead.

Materiale selectate

2.5h

Munca de profunzime se întâmplă aici — lecția este briefingul tău.

  • Universal Quantum Computation with ideal Clifford gates and noisy ancillas — magic state distillation (Bravyi, Kitaev)Lucrare· 45 min
  • Surface code quantum computing by lattice surgery (Horsman, Fowler, Devitt, Van Meter)Lucrare· 45 min
  • A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery (Daniel Litinski)Lucrare· 60 min

În direct pe aiqbench

Subiectul acestei lecții în restul site-ului, astăzi.

În știri, ultimele 30 de zile

  • GPU decoder keeps pace with a superconducting qubit clock on a continuous stream, with NVIDIA NVQLink interconnectAlice & Bob · 1 dec.
  • Classiq and Diraq Partner on Fault-Tolerant Silicon Quantum ComputingThe Quantum Insider · 1 dec.
  • Classiq and Diraq Collaborate to Advance Fault-Tolerant Quantum Computing on SiliconHPCwire · 1 dec.
Mai multe știri pe acest subiect →

Mergi mai departe

  • Furnizorii cuantici, comparațiQubiți, fidelități și planuri, fiecare cu sursa lui.
  • Întreabă AI despre această lecțieDeschide Întreabă AI cu o întrebare despre această lecție, cu răspuns din arhiva de știri, cu surse.

Testează-ți cunoștințele

5 întrebări în 100 de secunde, pe o pagină separată. Citește mai întâi tot ce este mai sus.

Testează-ți cunoștințele →

Misiunea modulului

35–45 min

Draw two distance-3 surface-code patches side by side and walk through a lattice-surgery Z⊗Z measurement: which boundary qubits get merged, which new stabilizers are measured, what the merged logical product tells you, and how the split restores two patches. Then take the 15-to-1 distillation rule (output error ≈ 35p³ for input error p) and compute how many rounds of distillation you need to go from p = 1e-3 to below 1e-12, and how many raw noisy T states that consumes per output state.

Se încarcă lucrarea ta…

← Lecția anterioară5. Thresholds, Scaling Laws and What 'Below Threshold' MeansLecția următoare →7. Beyond the Surface Code: qLDPC, Colour Codes, Bosonic Qubits and the Vendor Roadmaps
aiqbench
Informații despre AI & calcul cuantic© aiqbench. Toate drepturile rezervate.

Fluxuri:RSS·JSON Feed

LimbăEnglish·Românăbeta
ȘtiriAI & tehnologieCuanticAnalize
ExploreazăBenchmark-uriÎnvață
CompanieDespreÎncredereInformații legaleTermeni și condițiiPolitica de confidențialitateNotificări privind drepturile de autorȘtergerea datelorRaportează conținut

Perspectiva aiqbench, analizele, rezumatul zilnic și răspunsurile din Întreabă sunt scrise de modele AI din sursele afișate, fără revizuire editorială înainte de publicare. Pot conține erori — verifică sursa. Cum este folosit modelul →

  • Știri
  • Analize
  • Întreabă
  • Topuri
  • Cont