1
I Use This!
Activity Not Available

Commits : Listings

Analyzed 12 months ago. based on code collected 12 months ago.
Jan 18, 2023 — Jan 18, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Added code for continued fraction expansion. Not used and not tested yet. More... over 2 years ago
And again codefactor More... over 2 years ago
codefactor again More... over 2 years ago
Trying to keep codefactor happy More... over 2 years ago
Started to implement the classical part of Shor's algorithm, it's quite boring More... over 2 years ago
Mored subregister measurements tests in a separate function. I might add more tests in the future. More... over 2 years ago
Added code for testing states after single qubit measurement in register More... over 2 years ago
Moved some testing code in separate source files More... over 2 years ago
More tests on one qubit measurements in register More... over 2 years ago
Some tests for single qubit measurements in the register More... over 2 years ago
Took out the check for the number of states in subregister measurement More... over 2 years ago
Fixed and improved partial register measurement, still needs more testing, but now Shor seems to work no matter if f register is measured and how many times and in what order x and f register measurements are performed. Execute can measure only x register and then f could be measured separately and it still appears to work. Needs testing on simple superposition cases to be sure everything is ok, though. More... over 2 years ago
Some cleanup More... over 2 years ago
Added the possibility to measure a subregister (that is, a part of a register - only some qubits). Implemented it quickly, there might be mistakes due of the bits operations and so on. It's not tested yet (except making a measurement or more on the f-register in Shor's algorithm to check if I get the same results as before). I'll have to test it and improve it, starting with two entangled qubits and measuring only one of them. Maybe next week... More... over 2 years ago
Update README.md More... over 2 years ago
Update README.md More... over 2 years ago
setToQubitState & getQubitState More... over 2 years ago
Period finding in Shor algorithm seems to work More... over 2 years ago
Displayed the QFT matrix for 2 qubits, looks right also things seem to be ok for qft vs state 0 or total superposition, I guess the bug is something more subtle More... over 2 years ago
Added some checks for the swap gate, I wanted to be sure that it's ok. It is. More... over 2 years ago
More on quantum fourier transform, still buggy More... over 2 years ago
Some changes to fourier transform but still does not work, I know why, it will need rethinking a little More... over 2 years ago
Now period finding works, fourier is buggy More... over 2 years ago
Now the matrix is a permutation matrix (so unitary) but the results are still wrong More... over 2 years ago
More debug code, gaining more info on the bug: the matrix is not a permutation matrix, more than one 1 end up on the same line. More... over 2 years ago
Some debugging code. Now I know that the function matrix has (correctly) a 1 in each column, but it's not unitary. This should help locate the problem. More... over 2 years ago
Out of ideas for today, still buggy More... over 2 years ago
Better, but for some reason period finding does not find all values. Still buggy. More... over 2 years ago
I forgot to add the buggy ShorAlgorithm class More... over 2 years ago
Implemented Shor algorithm but there is at least one bug somewhere, it doesn't work ok More... over 2 years ago