Quantum Operations, Multi-Qubit Gates: Three-Qubit Gates

Spread the love

# Toffoli Gate (ccx Gate)
The Toffoli gate flips the third qubit if the first two qubits (Least Significant Bit / LSB) are both |1>:

# Controlled Swap Gate (Fredkin Gate)
The Fredkin gate, or the controlled swap gate, exchanges the second and third qubits if the first qubit (LSB) is |1>:

Source = https://qiskit.org/documentation/tutorials/circuits/3_summary_of_quantum_operations.html

Kode program tersedia di GitHub = https://github.com/keamanansiber/qiskit/tree/master/2QuantumOperations/Multi-QubitGates/Three-QubitGates

Tinggalkan Balasan

This site uses Akismet to reduce spam. Learn how your comment data is processed.