Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dchung0741 committed Jan 26, 2024
1 parent 6bd1785 commit 7701461
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/openfermion/quri_parts/openfermion/ansatz/uccsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
class TrotterUCCSD(ImmutableLinearMappedUnboundParametricQuantumCircuit):
r"""Unitary coupled-cluster singles and doubles (UCCSD) ansatz. The ansatz
consists of the exponentials of single excitation and double excitation
operator decomposed by first-order Trotter product formula. Note that the ansatz
only supports singlet state and the occupied orbitals are the lowest
:attr:`n_fermions` spin orbitals. The decomposition using Trotter product formula
is executed for each qubit operators obtained by mapping excitation operators. The
excitation operator involved in the UCCSD ansatz will be determined by
(n_spin_orbitals, n_fermions, delta_sz).
operator decomposed by first-order Trotter product formula. Note that the
occupied orbitals are the lowest :attr:`n_fermions` spin orbitals. The
decomposition using Trotter product formula is executed for each qubit
operators obtained by mapping excitation operators. The excitation operator
involved in the UCCSD ansatz will be determined by (n_spin_orbitals,
n_fermions, delta_sz).
Args:
n_spin_orbitals: Number of spin orbitals.
Expand Down

0 comments on commit 7701461

Please sign in to comment.