Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Change to provide command to avoid further sources of error
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianleh committed Aug 29, 2022
1 parent 9f6df05 commit 95a0d7a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"This will include measuring a single qubit in a multi-qubit system, as well as measuring multiple qubits simultaneously. \n",
"\n",
"We recommend to go through the [tutorial that introduces single qubit system measurements](../SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.ipynb) before starting this one.\n",
"$\\renewcommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\renewcommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
"$\\providecommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\providecommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"1. Basic linear algebra\n",
"2. Single and multi-qubit systems\n",
"3. Single and multi-qubit gates\n",
"$\\renewcommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\renewcommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
"$\\providecommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\providecommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"* Pauli basis measurements\n",
"* Measurements in arbitrary orthogonal bases\n",
"* Representing measurements as projector operators\n",
"$\\renewcommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\renewcommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
"$\\providecommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\providecommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"1. Basic linear algebra\n",
"2. The concept of a qubit\n",
"3. Single-qubit gates\n",
"$\\renewcommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\renewcommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
"$\\providecommand{\\ket}[1]{\\left\\lvert#1\\right\\rangle}$\n",
"$\\providecommand{\\bra}[1]{\\left\\langle#1\\right\\rvert}$"
]
},
{
Expand Down

0 comments on commit 95a0d7a

Please sign in to comment.