QCCAnsatz¶
- class QCCAnsatz[source]¶
Bases:
AnsatzQubit Coupled Cluster ansatz.
Hartree-Fock
Xflips on occupied orbitals, then per-layer single-qubitRYrotations followed by Pauli-word exponentials (XX,YY,ZZ) on adjacent qubit pairs.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)n_qubitssingle-qubitRYrotations plus3 * (n_qubits - 1)entangler parameters (oneXX,YY,ZZper adjacent pair).Methods Documentation