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.
On this page
Side-by-side comparison
| Aspect | Quantum gate | Classical logic gate |
|---|---|---|
| Inputs | Quantum states, possibly entangled with other systems. | Classical bit values. |
| Typical model | Unitary gates are reversible; measurement and reset are described separately. | Operations such as AND can map several inputs to one output. |
| Implementation | May 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
Verification scope
Citation identity checked ·
This check establishes the source title and link. Scientific claim review is separate.
Verification scope
Recorded source check ·
Reversible circuits, gates, universality and information constraints
Ideal circuit model does not establish physical gate costs.
Verification scope
Recorded source check ·
Circuit notation, gate operations and qubit-order conventions
Software diagram conventions can differ; retain explicit ordering.