Skip to content

Commit

Permalink
Added suggestions for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Bottrill committed May 14, 2024
1 parent c895b70 commit a37c0e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/introduction/operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Qutrit State preparation

.. _intro_ref_ops_qutrit_channels:

Qutrit Noisy channels
Qutrit noisy channels
^^^^^^^^^^^^^^^^^^^^^^^^


Expand Down
6 changes: 3 additions & 3 deletions pennylane/ops/qutrit/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class QutritDepolarizingChannel(Channel):
This channel is modelled by the Kraus matrices generated by the following relationship:
.. math::
K_0 = \sqrt{1-p} \begin{bmatrix}
K_0 = K_{0,0} = \sqrt{1-p} \begin{bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & 1
Expand All @@ -49,14 +49,14 @@ class QutritDepolarizingChannel(Channel):
1 & 0 & 0\\
0 & \omega & 0\\
0 & 0 & \omega^2
\end{bmatrix}, \quad \text{and} \{i,j\} \neq \{0,0\}
\end{bmatrix}
These relations create the following Kraus matrices:
.. math::
\begin{matrix}
K_0 = \sqrt{1-p} \begin{bmatrix}
K_0 = K_{0,0} = \sqrt{1-p} \begin{bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & 1
Expand Down

0 comments on commit a37c0e6

Please sign in to comment.