Skip to main content

Plain-Language Intuition

Mode: Simple / School
Error-corrected quantum computers can perform some gates easily and safely. Others, like the T gate, are very hard to do directly without introducing errors. Yet without T a quantum computer is no more powerful than a classical one. The solution is to prepare the difficulty in advance. Away from the computation, make a special helper qubit called a magic state. It is essentially "a T gate stored in a qubit", and it can be tested and purified before use. When the computation needs a T gate: 1. Link the data qubit to the magic state with a CNOT. 2. Measure the magic-state qubit. 3. Depending on the result, apply an easy fix (an S gate) to the data qubit. The T gate has been applied to the data, and the magic state is used up. This is why estimates of the cost of large quantum algorithms are usually quoted in "number of T gates".

Fault-Tolerant Computing

Gate Teleportation & Magic States: quick reference

Applies a T gate to a data qubit by consuming a pre-made "magic state", the way error-corrected quantum computers do.

Topic
Fault-Tolerant Computing
Level
Advanced
Circuit size
2 Qubits
Key result
Applies a hard gate using only easy gates plus a prepared resource

Concepts covered: Gate Teleportation, Magic States, Clifford Corrections, Fault Tolerance

How Gate Teleportation & Magic States works, step by step

  1. Prepare Data and Magic State. Q0 holds the data (a plus state). Q1 is made into a magic state with a Hadamard and a T gate.
  2. Couple Data to the Magic State. A CNOT from the data to the magic state links them.
  3. Measure and Correct. The magic-state qubit is measured. If it reads 1 the data received the reverse gate, which an S gate fixes. Here the fix is applied as a controlled-S.
  4. Verify. Undo a T gate and the Hadamard on the data. It returns to 0, proving exactly one T was applied.
  5. Read the Outcome. The data qubit (right bit) reads 0 every time. The used-up helper reads 0 or 1 at random.

Frequently asked questions

What is Gate Teleportation & Magic States?

Applies a T gate to a data qubit by consuming a pre-made "magic state", the way error-corrected quantum computers do. It is a advanced-level topic in fault-tolerant computing.

How many qubits does the Gate Teleportation (T Gate) circuit use?

The QuanBit tutorial uses a 2 qubits circuit. Key result: Applies a hard gate using only easy gates plus a prepared resource.

Can I simulate Gate Teleportation (T Gate) online for free?

Yes. The interactive Gate Teleportation (T Gate) tutorial at https://www.quanbit.tech/learn/gate-teleportation runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.