quri_parts.chem.ansatz.all_singles_doubles module#

class AllSinglesDoubles(n_spin_orbitals, n_fermions)#

Bases: ImmutableLinearMappedUnboundParametricQuantumCircuit

Parametric quantum circuit consists of single excitation and double excitation.

Note that this circuit conserves the particle number and spins only if the state applied to is represented based on the Jordan-Wigner transformation.

Ref:

PennyLane’s documentations, qml.AllSinglesDoubles

Parameters:
  • n_spin_orbitals (int) – Number of spin orbitals.

  • n_fermions (int) – Number of fermions.