amazon-braket-examples icon indicating copy to clipboard operation
amazon-braket-examples copied to clipboard

Markdown changes

Open nsehwan opened this issue 3 years ago • 1 comments

Issue: Latex Equations in this tutorial don't render properly in Github flavored markdown and appear as skeletal equations on the Github page, example $$\left|0,0, ...\right> \rightarrow \left|\mathrm{GHZ}\right> = \frac{1}{\sqrt{2}}\left(\left|0,0, ...\right> + \left|1,1, ...\right>\right).$$ here.

This is because of the incorrect usage of \left and \right markers when the delimiters following them are different (read more in the docs here). Also Latex needs the number of \left and \right markers in any single line to be equal, otherwise it creates inconsistencies, to avoid which we need to use \bigl and \bigr.

Description of changes: Have inserted a period . for \right markets wherever we use the ket notation. Have also replaced \left and \right with \bigl and \bigr where the latex equation in the markdown is spread over multiple @#lines.

Using the above changes, the updated .ipynb file on Github represents the actual equations. Also the Jupyter notebook continues to represent the actual equations as before.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

nsehwan avatar Oct 11 '21 07:10 nsehwan

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Thanks for the contribution! This change has gone stale with our current notebooks so we are closing this PR

ajberdy avatar Nov 02 '23 17:11 ajberdy