As continued from QFT part 4 , the number of qubits is now adjustable.
NQubit = 3 and 4 are working correctly.
I think I made a mistake and updated on 1st of May, 2021.
As continued from QFT part 4 , the number of qubits is now adjustable.
NQubit = 3 and 4 are working correctly.
I think I made a mistake and updated on 1st of May, 2021.
Since I do want to extend the number of qubits from three to more, I have re-written the code with R1 gate, in stead of S and T.
Lessons learned: Functions and operations can be defined. Here a function which returns Double is created. Operations might be used for qubits. Not sure now.
Still playing around QFFT. Improved the last one with ResultArrayAsInt and MultiM.
Those allow me to shorten the code a bit, and may allow me to go the 4 qubit case.
One thing I am not quite sure is, which end is the LSB?
I suspect 0 is the LSB, but no clue.
I think 0 is LSB because when I modify the code as follows; 5th element (namely 100=4) of "count" has "1000"
I have just notified that my newly published paper got a DOI.
https://doi.org/10.1142/S0219876221500274
Actually, I got the notification from ORCID, not from the journal. Things are getting well organized, but feel some skew.