Skip to content

Commit

Permalink
update slate gate doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Apr 29, 2024
1 parent 2f49491 commit 3f90e15
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions python/ffsim/qiskit/slater_determinant.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


class PrepareSlaterDeterminantJW(Gate):
r"""Gate that prepares a Slater determinant from the all zeros state.
r"""Gate that prepares a Slater determinant (under JWT) from the all zeros state.
A Slater determinant is a state of the form
Expand All @@ -45,9 +45,11 @@ class PrepareSlaterDeterminantJW(Gate):
- :math:`Q` is an :math:`N \times N_f` matrix with orthonormal columns.
- :math:`\lvert \text{vac} \rangle` is the vacuum state.
This gate assumes the Jordan-Wigner transformation, and it is meant to be applied
to the all zeros state. Its behavior when applied to any other state is not
guaranteed.
This gate assumes the Jordan-Wigner transformation (JWT).
This gate is meant to be applied to the all zeros state. Its behavior when applied
to any other state is not guaranteed. The global phase of the prepared state may
differ from the given equation.
This gate assumes that qubits are ordered such that the first `norb` qubits
correspond to the alpha orbitals and the last `norb` qubits correspond to the
Expand Down

0 comments on commit 3f90e15

Please sign in to comment.