What Does The CNOT Operator Do?
From a simple swap of amplitudes to real effects you can measure
The CNOT operator does not create a cause-effect relationship. It does not even have a directed effect. It's only a simple swap of amplitudes. But one that produces Boolean logic, phase kickback, or entanglement, depending on how you look at it.

The A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate is the workhorse of Quantum Computing is a different kind of computation that builds upon the phenomena of Quantum Mechanics.
Learn more about Quantum Computing Every textbook, every course, every quantum toolkit leans on it. It's the A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate that somehow flips A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit, supports Phase kickback is a quantum phenomenon where a phase shift applied to a *target* qubit in a controlled operation gets "kicked back" onto the *control* qubit instead. It happens because the control qubit’s superposition interacts with the target’s phase, effectively transferring that phase information to the control. This mechanism is fundamental in algorithms like phase estimation and the quantum Fourier transform.
Learn more about Phase Kickback, and creates Entanglement is a quantum phenomenon where two or more particles become correlated so that measuring one instantly determines the state of the other, no matter how far apart they are. This correlation arises because their quantum states are linked as a single system, not as independent parts. It doesn’t allow faster-than-light communication but shows that quantum systems can share information in ways classical physics can’t explain.
Learn more about Entanglement.
And yet, when you look at what it actually does, it's almost disappointingly simple. All the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate does is swap two In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude.
That's it.
If the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is
Learn more about
Learn more about Quantum Bit. A bare-bones reshuffling of numbers.
So, a question opens a small crack in the story we've been told: If the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate is really only swapping In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude where on earth does the Quantum advantage is the point where a quantum computer performs a specific task faster or more efficiently than the best possible classical computer. It doesn’t mean quantum computers are universally better—just that they outperform classical ones for that task. The first demonstrations (e.g., Google’s 2019 Sycamore experiment) showed speedups for highly specialized problems, not yet for practical applications.
Learn more about Quantum Advantage come from?
This post is accompanied by a PDF file summarizing the key points.
Let’s strip the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate down to its essentials. Behind all the talk of control and target, there's just one rule:
Swap the amplitudes of the two states where the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is
Learn more about
That's all it ever does.
Figure 1 denotes how the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate touches only the last two terms. These are the ones where the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is
Learn more about
No new terms appear, and none vanish. No probabilities are created or destroyed. Nothing travels from the control to the target or back. There is no directed information flow. The A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate is symmetric, A **unitary operator** is a linear operator ( U ) on a complex vector space that satisfies ( U^\dagger U = UU^\dagger = I ), meaning it preserves inner products. In simpler terms, it preserves the **length** and **angle** between vectors—so it represents a **reversible, norm-preserving transformation**. In quantum mechanics, unitary operators describe the evolution of isolated systems because they conserve probability.
Learn more about Unitary Operator, and lossless. It is just a reshuffling of the A quantum state vector is a mathematical object (usually denoted |ψ⟩) that fully describes the state of a quantum system. Its components give the probability amplitudes for finding the system in each possible basis state. The squared magnitude of each component gives the probability of measuring that corresponding outcome.
Learn more about Quantum State Vector
Yet this modest reshuffle behaves completely differently depending on the basis in which we look at it.
In one context, it feels like a logical operation.
In another, it acts like a mirror that sends A **quantum phase** is the angle component of a particle’s wavefunction that determines how its probability amplitude interferes with others. It doesn’t affect observable probabilities directly but becomes crucial when comparing two or more states, as phase differences lead to interference effects. Essentially, it encodes the relative timing or “alignment” of quantum waves.
Learn more about Quantum Phase information backward.
And in most others, it ties the A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit together so tightly that neither can be described alone.
So if you think of the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate as a little arrow shooting information from the control to the target, you'll miss the point. It's more like a geometric twist in the two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A Hilbert space is a complete vector space equipped with an inner product, which allows for measuring angles and lengths between vectors. "Complete" means that every Cauchy sequence of vectors converges to a vector within the space. It generalizes the idea of Euclidean space to possibly infinite dimensions and forms the foundation for quantum mechanics and functional analysis.
Learn more about Hilbert Space. It is a reversible turn that changes how In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude align or Interference in quantum computing refers to the way probability amplitudes of quantum states combine—sometimes reinforcing each other (constructive interference) or canceling out (destructive interference). Quantum algorithms exploit this to amplify the probability of correct answers while suppressing incorrect ones. It’s a key mechanism that gives quantum computers their computational advantage.
Learn more about Interference.
- There are three distinct worlds this single twist can create:
- Classical logic when the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is in the The computational basis is the standard set of basis states used to describe qubits in quantum computing. These are typicallyand for a single qubit. For multi-qubit systems all possible combinations of basis states denote the computational basis, like , , , and . These states correspond to classical bit strings and form an orthonormal basis for the system's Hilbert space. Any quantum state can be expressed as a superposition of these computational basis states.
Learn more about Computational Basis - Phase kickback is a quantum phenomenon where a phase shift applied to a *target* qubit in a controlled operation gets "kicked back" onto the *control* qubit instead. It happens because the control qubit’s superposition interacts with the target’s phase, effectively transferring that phase information to the control. This mechanism is fundamental in algorithms like phase estimation and the quantum Fourier transform.
Learn more about Phase Kickback when the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is in the The Fourier basis is a set of sine and cosine functions that can represent any periodic signal as a weighted sum of these functions. Each basis function corresponds to a specific frequency, capturing how much of that frequency is present in the signal. In essence, it’s the coordinate system for expressing signals in terms of their frequency components instead of time.
Learn more about Fourier Basis and - Entanglement is a quantum phenomenon where two or more particles become correlated so that measuring one instantly determines the state of the other, no matter how far apart they are. This correlation arises because their quantum states are linked as a single system, not as independent parts. It doesn’t allow faster-than-light communication but shows that quantum systems can share information in ways classical physics can’t explain.
Learn more about Entanglement when neither fits those special cases.
Let's start with the simplest and most deceptive case.
Suppose the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is in one of the The computational basis is the standard set of basis states used to describe qubits in quantum computing. These are typically
Learn more about Computational Basis A basis state in quantum computing is one of the fundamental states that form the building blocks of a quantum system’s state space. For a single qubit, the basis states are
Learn more about Basis State:
Learn more about
Learn more about
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate is a simple, uni-directed Boolean logical operator as depicted in ?. If the control is
Learn more about
Learn more about Quantum State of the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit. if it's
Learn more about
However, this seemingly directed effect of the control on the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is nothing more than a swap of the In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude as shown in ?.
Mathematically, this is easy to see from
If the control is
Learn more about
which means the target stays exactly as it was.
If the control is
Learn more about
Now the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit has been flipped by the
Learn more about Not Operation.
In both situations, the full A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State can be factorized. We can write it as a clean product of a control (A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit) and a target (A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit) A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State. No Entanglement is a quantum phenomenon where two or more particles become correlated so that measuring one instantly determines the state of the other, no matter how far apart they are. This correlation arises because their quantum states are linked as a single system, not as independent parts. It doesn’t allow faster-than-light communication but shows that quantum systems can share information in ways classical physics can’t explain.
Learn more about Entanglement no subtle Interference in quantum computing refers to the way probability amplitudes of quantum states combine—sometimes reinforcing each other (constructive interference) or canceling out (destructive interference). Quantum algorithms exploit this to amplify the probability of correct answers while suppressing incorrect ones. It’s a key mechanism that gives quantum computers their computational advantage.
Learn more about Interference just a conditional bit-flip. The control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit emerges completely untouched, faithfully carrying the information that determined what happened to the target.
That's why, in this restricted basis, the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate feels so familiar. It mimics a classical logic gate, like a two-input
But as soon as we let the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit drift away from the The computational basis is the standard set of basis states used to describe qubits in quantum computing. These are typically
Learn more about Computational Basis (
Learn more about
Learn more about
Now let's look at the same A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate from a different angle. Literally, a different basis.
This time, we pay particular attention to the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit that isn't sitting in the The computational basis is the standard set of basis states used to describe qubits in quantum computing. These are typically
Learn more about Computational Basis (
Learn more about
Learn more about
Learn more about Fourier Basis made up of the states
In this basis, the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit isn't
Learn more about Quantum Phase
Here, too, we can clearly describe input-output effects. ? depicts the four major situations. Note, that this time, the output column refers to the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit. So, we see a clear direction of the state of the target affecting the state of the control.
Yet, once again, all the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate does is swapping In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude of the A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State where the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is
Learn more about
Learn more about Quantum Phase of the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit by looking at the directions of the line in the circle within a row. If both lines have the same direction, the relative A **quantum phase** is the angle component of a particle’s wavefunction that determines how its probability amplitude interferes with others. It doesn’t affect observable probabilities directly but becomes crucial when comparing two or more states, as phase differences lead to interference effects. Essentially, it encodes the relative timing or “alignment” of quantum waves.
Learn more about Quantum Phase is
Learn more about Quantum State
Learn more about Quantum Phase is
You can read the relative A **quantum phase** is the angle component of a particle’s wavefunction that determines how its probability amplitude interferes with others. It doesn’t affect observable probabilities directly but becomes crucial when comparing two or more states, as phase differences lead to interference effects. Essentially, it encodes the relative timing or “alignment” of quantum waves.
Learn more about Quantum Phase of the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit by comparing the lines in the circle per column. This also explains why there is no effect on the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit in these scenarios. When we only flip states within a column, the overall combination of line directions in this column does not change.
That subtle shift of bases changes everything.
Starting again from
set the target to
Both A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit come out unchanged.
But the story changes when the target is
While the target again emerges unchanged, the control picks up a relative phase of
Learn more about
It appears as if the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate reflected information back onto the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit amplitudes. That's the phenomenon called Phase kickback is a quantum phenomenon where a phase shift applied to a *target* qubit in a controlled operation gets "kicked back" onto the *control* qubit instead. It happens because the control qubit’s superposition interacts with the target’s phase, effectively transferring that phase information to the control. This mechanism is fundamental in algorithms like phase estimation and the quantum Fourier transform.
Learn more about Phase Kickback. The target's phase has been kicked back into the control, even though nothing was transmitted in the classical sense. No signal crossed between them. It still is a purely mathematical reshuffling of amplitudes that, in the right basis, looks like information bouncing upstream.
So, when the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is in the The computational basis is the standard set of basis states used to describe qubits in quantum computing. These are typically
Learn more about Computational Basis, the controlA qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit decides what happens to the target. But when the target A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit is in the The Fourier basis is a set of sine and cosine functions that can represent any periodic signal as a weighted sum of these functions. Each basis function corresponds to a specific frequency, capturing how much of that frequency is present in the signal. In essence, it’s the coordinate system for expressing signals in terms of their frequency components instead of time.
Learn more about Fourier Basis the direction of the relationship flips. Now the target imprints a phase on the control.
Once we remove both simplifications, when neither A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit sits in one of those special bases, then the appearance of direction vanishes entirely.
Let's take a quick look at a few special situations anyway: the A **Bell state** is one of four specific quantum states in which two qubits are **maximally entangled**, meaning their measurement outcomes are perfectly correlated no matter how far apart they are. Each Bell state represents a different pattern of correlation between the qubits. These states are fundamental in quantum information for testing **nonlocality** (violations of Bell’s inequality) and for protocols like **quantum teleportation**.
Learn more about Bell State depicted in ?.
A **Bell state** is one of four specific quantum states in which two qubits are **maximally entangled**, meaning their measurement outcomes are perfectly correlated no matter how far apart they are. Each Bell state represents a different pattern of correlation between the qubits. These states are fundamental in quantum information for testing **nonlocality** (violations of Bell’s inequality) and for protocols like **quantum teleportation**.
Learn more about Bell State result from the control A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit being in a A basis state in quantum computing is one of the fundamental states that form the building blocks of a quantum system’s state space. For a single qubit, the basis states are
Learn more about Basis State of the The Fourier basis is a set of sine and cosine functions that can represent any periodic signal as a weighted sum of these functions. Each basis function corresponds to a specific frequency, capturing how much of that frequency is present in the signal. In essence, it’s the coordinate system for expressing signals in terms of their frequency components instead of time.
Learn more about Fourier Basis (
Learn more about Computational Basis (
Learn more about
Learn more about
In these states, the probabilities of either A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit resulting in
Learn more about
Learn more about
Learn more about Quantum Bit we see that their measured values strictly correlate.
Let's look at the full two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit state after the CNOT:
Previously, we could neatly factor this expression into control
Learn more about Quantum Bit was in a simple basis. Now, such a factorization is impossible.
There is no way to write
unless certain amplitude ratios happen to align perfectly (which only happens in the special cases above).
In the general case, the coefficients are cross-coupled: the amplitude of
Learn more about Quantum Bit have lost their separate identities; their probabilities can no longer be described independently.
Conceptually, this is where the illusion of direction finally breaks down. There’s no longer a control or target. Both A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit are participating equally in a shared pattern of amplitudes, locked together by the geometry of the operation. That's Entanglement is a quantum phenomenon where two or more particles become correlated so that measuring one instantly determines the state of the other, no matter how far apart they are. This correlation arises because their quantum states are linked as a single system, not as independent parts. It doesn’t allow faster-than-light communication but shows that quantum systems can share information in ways classical physics can’t explain.
Learn more about Entanglement.
Yet, technically, the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate is still the same simple swap of In quantum computing an amplitude is a complex number that describes the weight of a basis state in a quantum superposition. The squared magnitude of an amplitude gives the probability of measuring that basis state. Amplitudes can interfere, this means adding or canceling, allowing quantum algorithms to bias outcomes toward correct solutions.
Learn more about Amplitude
Looking at these different scenarios, something remarkable becomes clear. The A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate never really transfers anything from control to target or vice versa. There's no cause and effect. All the A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate does is swapping two amplitudes.
But this simple flip of two amplitudes can have different effects on Boolean logic, target phase, and entanglement. The technical mechanism is always the same; the difference lies in interpretation.
But why spend so much time on a single two-qubit gate?
Because buried inside this simple amplitude swap is the core mechanism of quantum computation itself.
The A controlled-NOT (CNOT) gate is a two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit A quantum gate is a basic operation that changes the state of one or more qubits, similar to how a logic gate operates on bits in classical computing. It uses unitary transformations, meaning it preserves the total probability (the state’s length in complex space). Quantum gates enable superposition and entanglement, allowing quantum computers to perform computations that classical ones cannot efficiently replicate.
Learn more about Quantum Gate where the first A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (control) determines whether the second A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit (target) is flipped on the
Learn more about Quantum Bit is in state
Learn more about
Learn more about Quantum Bit A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
Learn more about Quantum State is inverted
Learn more about
Learn more about Controlled Not Gate shows us that the magic of quantum computing doesn't come from exotic particles or mysterious forces. It comes from context. The same operation that behaves like a plain classical
Learn more about Quantum Bit into entanglement. Nothing about the mathematics changes; only the basis does.
Quantum advantage is the point where a quantum computer performs a specific task faster or more efficiently than the best possible classical computer. It doesn’t mean quantum computers are universally better—just that they outperform classical ones for that task. The first demonstrations (e.g., Google’s 2019 Sycamore experiment) showed speedups for highly specialized problems, not yet for practical applications.
Learn more about Quantum Advantage isn't about doing more. It's about seeing differently.