|ψ⟩
Itachi Quantum Studio
|ψ⟩ = α|0⟩ + β|1⟩  •  iℏ ∂|ψ⟩/∂t = Ĥ|ψ⟩
dim(ℋ) = 2ᴺ COMPLEX AMPLITUDES | C++20 SIMD KERNEL | COHERENCE 100%
INITIALIZING HILBERT SPACE & C++20 ENGINE...

Fredkin Gate (CSWAP) | Controlled-SWAP Conservative Logic

Quick Technical Answer: The Fredkin gate (Controlled-SWAP or CSWAP) is a 3-qubit gate that exchanges the states of two target qubits if and only if the control qubit is |1⟩. It is conservative, meaning it strictly preserves the total number of 1s (Hamming weight).
Formula / Unitary: CSWAP|1, t_1, t_2\rangle = |1, t_2, t_1\rangle, \quad CSWAP|0, t_1, t_2\rangle = |0, t_1, t_2\rangle
Simulate this in Itachi Quantum Studio
Inspect state amplitudes, 3D Bloch sphere vector, and OpenQASM code live.
Open Circuit Builder →

Frequently Asked Questions

Where is the Fredkin gate utilized?

The Fredkin gate is essential in quantum optical computing, error detection networks, and the SWAP-test circuit used to measure state overlap |⟨ψ|φ⟩|² in quantum machine learning.

Related Topics & Quantum Guides:

SWAP GateToffoli Gate (CCX)