qiskit-textbook icon indicating copy to clipboard operation
qiskit-textbook copied to clipboard

[4.1.3] correct equation error

Open yoshioka1128 opened this issue 2 years ago • 2 comments

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: eqfAfB eqF1

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 before_probbit before_probcost

after the correction after_probbit after_probcost

yoshioka1128 avatar Jun 29 '22 07:06 yoshioka1128

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 29 '22 07:06 CLAassistant

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.

frankharkins avatar May 30 '23 12:05 frankharkins