Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Magic state

A magic state is a specially prepared quantum resource that, together with suitable stabilizer operations and measurements, enables computational operations unavailable from those stabilizer operations alone under the chosen scheme.

Also called Non-stabilizer resource state

Edition released Entry updated Coverage: Overview · Technical
On this page

Plain-language explanation

The term is technical rather than mystical. Many fault-tolerant architectures can implement Clifford operations comparatively conveniently but need another resource for universal computation. Injecting an appropriate non-stabilizer state can supply a difficult gate through a measurement-based procedure. The state must have sufficient quality for the protocol, and not every arbitrary noisy state is equally useful. Preparation and purification can dominate resources, so logical-qubit count alone may understate what an algorithm requires.

This is useful optional vocabulary for reading resource estimates. It explains why a future quantum computer may devote substantial hardware to preparing special states rather than directly storing the application's main data.

Example

An architecture can perform a convenient set of protected operations but lacks an efficient direct implementation of a required T gate. A prepared resource state and a prescribed measurement procedure can provide the missing operation. The resource is consumed in the process, so repeated algorithmic demand requires a continuing supply.

Scope and limits

Magic does not mean unexplained physics or a free computational shortcut. The state is a precisely specified resource with preparation errors, consumption, and overhead. A device's ability to store logical qubits does not automatically imply a high-rate supply of suitable magic states.

Magic-state distillation is a related idea. A magic state is the resource. Distillation is a protocol that consumes several imperfect resource states and other operations to obtain fewer higher-quality ones under suitable assumptions. State availability and purification cost are separate parts of the architecture.

Sources