ffsim.random.random_uccsd_op_unrestricted_real¶
- ffsim.random.random_uccsd_op_unrestricted_real(norb, nelec, *, with_final_orbital_rotation=False, seed=None)[source]¶
Sample a random real-valued UCCSD operator.
- Parameters:
norb (
int) – The number of spatial orbitals.nocc – The number of spatial orbitals that are occupied by electrons.
with_final_orbital_rotation (
bool) – Whether to include a final orbital rotation in the operator.seed – A seed to initialize the pseudorandom number generator. Should be a valid input to
np.random.default_rng.
- Return type:
- Returns:
The sampled UCCSD operator.