Skip to content

Commit

Permalink
update orbital rotation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Nov 2, 2023
1 parent 32d44cd commit 9f54ba8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/ffsim/gates/orbital_rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,15 @@ def apply_orbital_rotation(
.. math::
a^\dagger_i \mapsto \sum_{j} U_{ji} a^\dagger_j
a^\dagger_{\sigma, i} \mapsto \sum_{j} U_{ji} a^\dagger_{\sigma, j}
where :math:`U` is a unitary matrix. This is equivalent to applying the
transformation given by
.. math::
\exp\left(\sum_{ij} \log(U)_{ij} a^\dagger_i a_j\right)
\prod_{\sigma}
\exp\left(\sum_{ij} \log(U)_{ij} a^\dagger_{\sigma, i} a_{\sigma, j}\right)
Args:
vec: The state vector to be transformed.
Expand Down

0 comments on commit 9f54ba8

Please sign in to comment.