← Quantum Store · Guides · Lessons · Glossary · About · Türkçe

Quantum computing glossary

What is the CNOT gate?

The CNOT (controlled-NOT) gate is a two-qubit gate that flips the target qubit when the control qubit is 1; it is the basic tool for creating entanglement.

If the control qubit is 0, CNOT does nothing; if it is 1, it applies X (NOT) to the target. If the control is in superposition, both cases are processed together and the result is an entangled state.

A CNOT after an H gate puts two qubits into a Bell state. On real hardware two-qubit gates are noisier than single-qubit gates, so compilers try to reduce the number of CNOTs in a circuit.

Try it yourself

The lesson Entanglement: linked qubits lets you try this concept in the browser, with no installation.

Related packages

Related concepts

Share: X · LinkedIn