Skip to content

Commit

Permalink
fixing latex in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
willjmax committed Sep 13, 2024
1 parent c35f19c commit b892af7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pennylane/fermi/fermionic.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ 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_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
For more details see `Wikipedia <https://en.wikipedia.org/wiki/Creation_and_annihilation_operators#Creation_and_annihilation_operators_in_quantum_field_theories>`.
For more details see `Wikipedia <https://en.wikipedia.org/wiki/Creation_and_annihilation_operators#Creation_and_annihilation_operators_in_quantum_field_theories>`_.
Args:
Expand Down

0 comments on commit b892af7

Please sign in to comment.