Skip to content

Commit

Permalink
fixing latex
Browse files Browse the repository at this point in the history
  • Loading branch information
willjmax committed Sep 13, 2024
1 parent b892af7 commit cf7481f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pennylane/fermi/fermionic.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,12 @@ def shift_operator(self, initial_position, final_position):
.. math::
a_0 a_1 = -a_1 a_0\\
a^{\dagger}_0 a^{\dagger}_1 = -a^{\dagger}_1 a^{\dagger}_0\\
a_0 a^{\dagger}_1 = -a^{\dagger}_1 a_0\\
a_0 a^{\dagger}_0 = 1 - a^{\dagger}_0 a_0
\begin{align*}
a_0 a_1 &= -a_1 a_0\\
a^{\dagger}_0 a^{\dagger}_1 &= -a^{\dagger}_1 a^{\dagger}_0\\
a_0 a^{\dagger}_1 &= -a^{\dagger}_1 a_0\\
a_0 a^{\dagger}_0 &= 1 - a^{\dagger}_0 a_0
\end{align*}
For more details see `Wikipedia <https://en.wikipedia.org/wiki/Creation_and_annihilation_operators#Creation_and_annihilation_operators_in_quantum_field_theories>`_.
Expand Down

0 comments on commit cf7481f

Please sign in to comment.