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

Fix truth table in Exercise 6.3 #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JohnChen0
Copy link

Fixing typos in the truth table in the answer to Exercise 6.3.

Fixing typos in the truth table in the answer to Exercise 6.3.
@aless73
Copy link

aless73 commented Jan 30, 2023

qt.sigmay() * ket0 yields [[0.+0.j] [0.+1.j]] which is equal to 1j * ket1
qt.sigmay() * ket1 yields [[0.-1.j] [0.+0.j]] which is equal to -1j * ket0
therefore the first two lines of the truth table should be fixed as follows:
input: |0⟩ output: 𝑖|1⟩
input: |1⟩ output: −𝑖|0⟩

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

Successfully merging this pull request may close these issues.

2 participants