liveBook · Manning

Magic state

As explained in Quantum Programming in Depth

A magic state is a specially prepared ancillary quantum state that enables fault-tolerant implementation of otherwise unsupported quantum gates.

A magic state is a specially prepared ancillary state that extends the limited gate set available to logical qubits. Rough approximations are refined through magic state distillation, then consumed to implement otherwise unsupported gates. section 9.3

The standard example is the T state, |T⟩ = T|+⟩ = (|0⟩ + e^{iπ/4}|1⟩)/√2, paired with T = diag(1, e^{iπ/4}). Together with supported simple gates, T gates can approximate any single-qubit gate. section 9.3

Magic state distillation

A separate quantum-computing area prepares and distills magic states in parallel with the main computation. Depending on the program's gate usage, this supply process can dominate fault-tolerant resource requirements. section 9.3

Figure 9.5 Physical qubits are noisy, they support a limited set of gates, and these gates are slow. We have to use error correction to enable reliable computation on noisy qubits. We also have to use a special process to implement arbitrary logical gates on logical qubits. These factors affect both the run time of algorithms on the quantum computers and the numbers of qubits required to run them.
figure

Relates limited logical gate sets and special arbitrary-gate implementation processes to runtime and qubit requirements. section 9.3

How Quantum Programming in Depth covers it

How deep it goes
Defines distillation and gives the T-state equation, but remains a high-level overview without circuit or protocol details.
Examples
Uses the T gate, its matching T state, and parallel magic state distillation as concrete examples.
What it assumes
Assumes familiarity with logical qubits, supported gate sets, quantum states, and fault-tolerant computation.
What you can do after
Evaluate how unsupported gates and magic-state production affect fault-tolerant runtime and resource requirements.
How it connects
Connects magic states with magic gates, T gates, logical qubits, error correction, and fault-tolerant quantum computation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Quantum Programming in Depth. The section links point to the parts of the book it draws on.