Skip to main content

Module environment

Module environment 

Source
Expand description

Environment computation for MPO contractions

This module provides functions for computing left and right environments used in variational algorithms and efficient MPO evaluation.

Functionsยง

contract_site_tensors
Contract two 4D site tensors over their shared physical index
left_environment
Compute the left environment at site i for MPO contraction
right_environment
Compute the right environment at site i for MPO contraction