UCCSDAnsatz¶
- class UCCSDAnsatz[source]¶
Bases:
AnsatzUnitary Coupled Cluster Singles and Doubles (UCCSD) ansatz.
This ansatz is specifically designed for quantum chemistry calculations, implementing the UCCSD approximation which includes all single and double electron excitations from a reference state.
Methods Summary
build(params, n_qubits, n_layers, **kwargs)Builds the ansatz circuit and returns a list of operations.
n_params_per_layer(n_qubits, **kwargs)len(s_wires) + len(d_wires)fromqp.qchem.excitationsfor the givenn_electrons(required kwarg).Methods Documentation