UCCSD(num_orbitals, num_particles, reps=1, active_occupied=None, active_unoccupied=None, initial_state=None, qubit_mapping='parity', two_qubit_reduction=True, num_time_slices=1, shallow_circuit_concat=True, z2_symmetries=None, method_singles='both', method_doubles='ucc', excitation_type='sd', same_spin_doubles=True, skip_commute_test=False)¶
This trial wavefunction is a Unitary Coupled-Cluster Single and Double excitations variational form. For more information, see https://arxiv.org/abs/1805.04340 And for the singlet q-UCCD (full) and pair q-UCCD) see: https://arxiv.org/abs/1911.10864
int) – number of spin orbitals, has a min. value of 1.
int]) – number of particles, if it is a list, the first number is alpha and the second number if beta.
int) – number of repetitions of basic module, has a min. value of 1.
int]]) – list of occupied orbitals to consider as active space.
int]]) – list of unoccupied orbitals to consider as active space.
None]) – An initial state object.
str) – qubit mapping type.
bool) – two qubit reduction is applied or not.
int) – parameters for dynamics, has a min. value of 1.
bool) – indicate whether to use shallow (cheap) mode for circuit concatenation.
Z2Symmetries]) – represent the Z2 symmetries, including symmetries, sq_paulis, sq_list, tapering_values, and cliffords.
str) – specify the single excitation considered. ‘alpha’, ‘beta’, ‘both’ only alpha or beta spin-orbital single excitations or both (all of them).
str) – specify the single excitation considered. ‘ucc’ (conventional ucc), succ (singlet ucc), succ_full (singlet ucc full), pucc (pair ucc).
str) – specify the excitation type ‘sd’, ‘s’, ‘d’ respectively for single and double, only single, only double excitations.
bool) – enable double excitations of the same spin.
- when tapering excitation operators we test and exclude any that do
not commute with symmetries. This test can be skipped to include all tapered excitation operators whether they commute or not.
ValueError: Num particles list is not 2 entries
Computes single and double excitation lists.
Outputs the list of lists of grouped excitation.
Construct the variational form, given its parameters.
returns entangler map
Groups the excitations and gives out the remaining ones in the list_de_temp list because those excitations are controlled by the same parameter in full singlet UCCSD unlike in usual UCCSD where every excitation has its own parameter.
Define that, given list of double excitations list_de and number of spin-orbitals num_orbitals, which excitations involve the same spatial orbitals for full singlet UCCSD.
Triggers the adaptive behavior of this UCCSD instance.
Orders the hopping operators according to the grouped excitations for the full singlet UCCSD.
Pops the hopping operator that was added last.
Pushes a new hopping operator.
Regroups the excitations that involve same spatial orbitals for example, with labeling.
validate entangler map
Getter of double excitation list :returns: double excitation list :rtype: list[list[int]]
Returns the full list of available excitations (called the pool).
- 반환 형식
Number of parameters of the variational form.
An integer indicating the number of parameters.
- 반환 형식
Number of qubits of the variational form.
An integer indicating the number of qubits.
- 반환 형식
A list of pairs indicating the bounds, as (lower, upper). None indicates an unbounded parameter in the corresponding direction. If None is returned, problem is fully unbounded.
- 반환 형식
Getter of preferred initial points based on the given initial state.
Getter of single excitation list :returns: single excitation list :rtype: list[list[int]]
Whether or not the sub-class support parameterized circuit.
indicate the sub-class support parameterized circuit
- 반환 형식