ffsim.random.random_t2_amplitudes¶ ffsim.random.random_t2_amplitudes(norb, nocc, *, seed=None, dtype=<class 'complex'>)[source]¶ Sample a random t2 amplitudes tensor. Parameters: norb (int) – The number of orbitals. nocc (int) – The number of orbitals that are occupied by an electron. seed – A seed to initialize the pseudorandom number generator. Should be a valid input to np.random.default_rng. dtype – The data type to use for the result. Return type: ndarray Returns: The sampled t2 amplitudes tensor.