Skip to content

Update lecture_7_preparing_basis_states.ipynb#1

Open
carlosclaiton wants to merge 1 commit intoThe-Singularity-Research:masterfrom
carlosclaiton:patch-1
Open

Update lecture_7_preparing_basis_states.ipynb#1
carlosclaiton wants to merge 1 commit intoThe-Singularity-Research:masterfrom
carlosclaiton:patch-1

Conversation

@carlosclaiton
Copy link
Copy Markdown

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.

1 participant