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

All sections

Saved
Skip Learn navigation
Encyclopedia
Comparison

A quantum gate and a classical logic gate

A gate is an elementary operation within a computing model. Ideal unitary quantum gates transform a quantum state while preserving its total probability and reversibility. Classical logic gates act on classical values; some familiar examples discard information. Both names refer to operations, not necessarily a tiny visible door on a chip.

Edition released Entry updated Coverage: Overview
On this page

Side-by-side comparison

A quantum gate and a classical logic gate
AspectQuantum gateClassical logic gate
InputsQuantum states, possibly entangled with other systems.Classical bit values.
Typical modelUnitary gates are reversible; measurement and reset are described separately.Operations such as AND can map several inputs to one output.
ImplementationMay use calibrated laser or microwave control, or optical components.Usually uses electronic circuits in conventional processors.

Comparison in practice

The classical NOT operation flips zero and one. The quantum X gate does the corresponding flip on those basis states and has a specified action on superpositions too. That additional requirement matters: knowing an operation on classical labels is not always enough to describe a full quantum device, including its phase behavior.

Ideal circuit gates are reversible unitary operations. Measurement, reset and discarding a subsystem follow different rules. Hardware implementations can also depart from the ideal gate.

Sources

  • Reference · quantum.cloud.ibm.com
    Verification scope

    Citation identity checked ·

    This check establishes the source title and link. Scientific claim review is separate.

  • 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.