Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc comment is not rendered correctly for Measure operation #1429

Open
DmitryVasilevsky opened this issue Apr 25, 2024 · 0 comments
Open

Doc comment is not rendered correctly for Measure operation #1429

DmitryVasilevsky opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working needs triage

Comments

@DmitryVasilevsky
Copy link
Contributor

DmitryVasilevsky commented Apr 25, 2024

Playground doesn't render Measure doc comment correctly.
Also \boldone is not supported.

  • Make sure that the doc comment for Measure operation is rendered correctly in the playground.
  • Remove \boldone from doc comments.

As a result of discussion with @vadym-kl we arrived at the following formula

$\langle\psi| \frac{I + P_0 \otimes \ldots \otimes P_{N-1}}{2} |\psi\rangle$

We'll use it in the doc comment for the Measure operation. We'll also drop the non-standard notation for probability

$\Pr(\texttt{Zero} \mid \ket{\psi})$

@DmitryVasilevsky DmitryVasilevsky added bug Something isn't working needs triage labels Apr 25, 2024
@DmitryVasilevsky DmitryVasilevsky self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant