rsehgal / barcQ

A repository to share ideas related to Quantum computing, and code to implement Quantum Algorithms
2 stars 0 forks source link

Implementation of Quantum Shift Operator #85

Open rsehgal opened 4 years ago

rsehgal commented 4 years ago

Quantum Shift Operator is required to do shift of bits in quantum operands, which is very much required to implement Quantum Multiplication, which is nothing but Shift followed by Addition .

rsehgal commented 4 years ago

Shift operation need ancilla bits. The number of ancilla bits will be same as the number of shifts required.