Skip to main contentIBM Quantum Documentation Mirror

reconstruct_t2

reconstruct_t2(terms, nocc)

Reconstructs spin-restricted t2t_2 amplitudes from a double-factorized decomposition.

Computes ikpqZpq(k)Uap(k)Uip(k)Ubq(k)Ujq(k)i \sum_k \sum_{pq} Z^{(k)}_{pq} U^{(k)}_{ap} U^{(k)*}_{ip} U^{(k)}_{bq} U^{(k)*}_{jq} and slices to the occupied/virtual block [:nocc, :nocc, nocc:, nocc:].

Parameters

  • terms – the list of (Z,U)(Z, U) 2-tuples produced by double_factorized_t2().
  • nocc – the number of occupied orbitals.

Returns

The reconstructed t2t_2 amplitudes of shape (nocc, nocc, nvrt, nvrt).