qiskit-textbook
qiskit-textbook copied to clipboard
[4.1.3] correct equation error
Changes made
In the last equations in section 5.2, the right hand side of fA, fB, and F1 are incorrect. Results that rely on this are also incorrect.
The modified formulas are as follows:
Justification
The modification improves the calculation results. The maximal expectation value obtained by grid search is improved from 3.431 to 3.927. The simulated mean value M1_sampled is improved from 3.29 to 3.93. These analytical expressions and calculated results were verified by two independent calculations, a numerical state vector calculation and a quantum circuit calculation.
The results of probability have been improved as follows:
before the correction
after the correction
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Thanks for your contribution. I'm closing this pull request as this repository is no longer used and is being archived. You can find the latest version of the Qiskit Textbook online at https://qiskit.org/learn/, and the new content repository at Qiskit/textbook. Please feel free to re-open this pull request there if it's still relevant.