Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
Corrected the reference, didn't quite understand what was the problem with the latex?
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
registers --> variables
\tilde{lambda}_j are the m bit approximations (correct n to m).
What is s?
C=1/2^m (correct n to m).
Maybe comment here that in principle, when \lambda-s do not have an exact m-binary representation, then there is also garbage for
You work here with the names memory and estimator, but in the code you use different namings. Maybe it is better to choose on wording, but I am not sure...
Reply via ReviewNB
There was a problem hiding this comment.
modifed registers. Note that this is a very common term in the literature on quantum algorithms.
s is the sparsity of A, added a definition.
You're right, for a second it seemed weird to me that the minimum eigenvalue would depend on the phase accuracy, but now I see what is happening.
I'll modify the code accordingly.
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
Maybe we can remove this? The algorithm has 5 steps as written in the introduction.
Why the first step of preparing b deserves a subsection of its own, while all the other steps are given in a single block?
Reply via ReviewNB
There was a problem hiding this comment.
For sure, I deleted the headline of the subsection
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
", returning a normalized solution" - I do not think this is actually the case here, since you do not do the final step of post-selecting ind=1.
which indicates the powers --> which indicates how the powers
number of phase qubits = m
and indicates if the phase qubits return a normalized solution - I did not understand this sentence, how is it related to the phase qubits.
Reply via ReviewNB
There was a problem hiding this comment.
Yes, I agree, fixed it.
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
The ambiguity in the phase..., modified the sentence
There was a problem hiding this comment.
In the following section I modified the code..., this code was ori's version, I replaced it with my code performing the global phase identification using the scalar product....
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
We will define the inner quantum call to be used within the flexible QPE: a Suzuki Trotter of order one [3], whose repetitions parameter grows by some constant factor proportional to the evolution coefficient.
--> I think you repeat the info of this paragraph in the following paragraph.
estimator size m
Reply via ReviewNB
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
We can replace the sparsity condition on
Fixe the sentence
| @@ -13,44 +13,84 @@ | |||
| "id": "1", | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
weird, I don't see it..., it looks all right in my version
|
🔥 Great job, @roie-d-classiq! You've merged your 6th PR! 🎊 Your contributions to classiq-library are making a real difference. Keep up the fantastic work! 💪 |
PR Description
Some notes
Please make sure that the notebook runs successfully with the latest Classiq version.
Please make sure that you placed the files in an appropriate folder
.ipynband.qmodto be unique across this repository..qmod,.synthesis_options.json,.metadata.jsonIf applicable, please include link to the paper on which the notebook is based, in the notebook itself.
Please use
rebaseon your branch (no merge commits)Please link this PR to the relevant issue
Please make sure to run
pre-commitwhen commiting changesgitin the terminal, make sure to installpre-commitvia runningpip install pre-commitfollowed bypre-commit installpre-commitdocumentationpre-commit.pre-commitmay minorly alter some files. Make sure togit addthe changes done bypre-commit