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

Missing operation in PHASE example #44

Open
toshaf opened this issue Jan 1, 2022 · 2 comments
Open

Missing operation in PHASE example #44

toshaf opened this issue Jan 1, 2022 · 2 comments

Comments

@toshaf
Copy link

toshaf commented Jan 1, 2022

Hello!

I’m loving the book but I may have found an issue. On page 50, chapter 3 under the section on CPHASE and CZ figure 3-16 compares individual PHASE instructions’ effects to those of CPHASE. The first example of rotation of the 0x1 qubit shows the |3>, |5> and |7> states begin rotated, wouldn’t |1> also be affected?

Thanks

Tosh
image

@dyordan1
Copy link

I wanted to echo @toshaf's comment - just noticed the same in my copy of the book. This appears to be an emphasis error - the phase change is actually applied, but the |1> state is not highlighted the same way the others are.

@machinelevel
Copy link
Contributor

You're both correct! Good catch. You can see the correct image in the errata page here. I've also added you to the thanks on that page. :]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants