Each state was encoded into a specific phase (instead of amplitude) by placing a set of phase rotations of pi/8, pi/4, pi/2, and pi to each qubit between the QFT and QFT inverse circuits. This allowed for the successful addition of 1 to each input.
pablo-gf/quantum-phase-adder
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|