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

Update lecture_7_preparing_basis_states.ipynb #1

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

Conversation

carlosclaiton
Copy link

The state A = |0> = [1,0], then |0 0 0 > is the np.kron(A,np.kron(A,A)), the notebook the line 449 says the first calculation should be:
"\begin{pmatrix} 1\\0 \end{pmatrix} \otimes\n",
"\begin{pmatrix} 1\\0 \end{pmatrix} \otimes\n",
"\begin{pmatrix} 0\\1 \end{pmatrix}\n",
that is the update I am proposing. Note the last line is wrong, if I understood correctly what you are saying. It should be
\begin{pmatrix} 1\\0 \end{pmatrix}\n",

The state A =  |0> = [1,0], then |0 0 0 > is the np.kron(A,np.kron(A,A)), the notebook the line 449 say the first calculation should be 
  "\\begin{pmatrix} 1\\\\0 \\end{pmatrix} \\otimes\n",
    "\\begin{pmatrix} 1\\\\0 \\end{pmatrix} \\otimes\n",
    "\\begin{pmatrix} 0\\\\1 \\end{pmatrix}\n",
that is tge update I am proposing.
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.

None yet

1 participant