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

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Quantum circuit identity

An equality showing that two circuit sequences implement the same ideal transformation, sometimes subject to a global phase or a stated input restriction. It supports simplification and clearer explanations.

Also called circuit equivalence

Edition released Entry updated Coverage: Overview
On this page

Plain-language explanation

Examples include H followed by H equaling identity, and H-Z-H equaling X. A full circuit identity applies to every input, whereas an equality demonstrated for one starting state may not. Context also matters: ignoring global phase is safe for an isolated operation but can fail after controlling it. Circuit identities are mathematical tools, distinct from claims that two hardware implementations have equal cost or accuracy.

This helps beginners see relationships between gate names and avoids treating every diagram as a completely new idea. It is also a useful guardrail against overgeneralizing a single worked example.

Example

Apply H-Z-H to 0 and obtain 1; apply it to 1 and obtain 0. Linearity then gives the same action as X on any qubit state. By contrast, two circuits that happen to return 0 from one chosen input may disagree on another input.

Scope and limits

Ideal equivalence does not imply equal physical behavior. Different decompositions can have different duration and imperfections, so a mathematical simplification is only one part of implementation assessment.

Identity operator is a related idea. The identity operator leaves all states unchanged. A circuit identity is an equality between sequences and can describe any transformation, including nontrivial ones such as X.

Sources

  • John Preskill, Caltech · Reference · preskill.caltech.edu
    Verification scope

    Recorded source check ·

    Reversible circuits, gates, universality and information constraints

    Ideal circuit model does not establish physical gate costs.

  • IBM Quantum Learning · Reference · quantum.cloud.ibm.com
    Verification scope

    Recorded source check ·

    Circuit notation, gate operations and qubit-order conventions

    Software diagram conventions can differ; retain explicit ordering.