Skip to main contentIBM Quantum Documentation Mirror

double_factorized_t2

double_factorized_t2(t2_amplitudes, tol, max_terms=None)

Double-factorized decomposition of spin-restricted t2t_2 amplitudes.

Factorizes tijabt_{ijab} (with i,ji, j occupied and a,ba, b virtual) into a list of (Z,U)(Z, U) terms suitable for reconstruction by reconstruct_t2(). The number of terms is truncated to max_terms (default: all).

Parameters

  • t2_amplitudes – the t2t_2 amplitudes of shape (nocc, nocc, nvrt, nvrt).
  • tol – the tolerance controlling the truncation error of the decomposition.
  • max_terms – the maximum number of terms to retain. Defaults to all.

Returns

A list of (Z,U)(Z, U) 2-tuples, where Z is the diagonal Coulomb matrix and U is the orbital rotation.