Skip to content

ritu-thombre99/QFT-Adder-based-MCT-Gate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

QFT-Adder-based-MCT-Gate

Efficient QFT Adder based MCT gate demonstrated in the notebook using 14 control qubits

Traditional MCT Gate

  • MCT Gate (Multi-Controller Tofolli) gates are multi qubit gates which change the status of target qubit based on states of control qubits
  • If all control qubits are in state |1> then state of the target qubit is flipped
  • To reduce the gate count and depth of MCT operations, qiskit provides option to use ancilla bits
  • If there are n control qubits, at least (n-2) ancilla bits are required to execute MCT gate

QFT Adder based MCT Gate

  • In the modified QFT Adder based MCT gate approach, number of control qubits in state |1> are counted and stored in ancilla bits using QFT adder
  • If binary number represented in ancilla bits is equal to the number of control qubits, target qubit is flipped
  • If there are n control qubits, then the number of ancilla bits required is log2(n+1). Hence, space complexity is improved drastically
  • Disadvantage here is that QFT Adder based MCT gate cannot be implemented without ancilla bits

Releases

No releases published

Packages

No packages published