atlas_q.mpo_ops.apply_mpo_to_mps#
- atlas_q.mpo_ops.apply_mpo_to_mps(mpo, mps, chi_max=128, eps=1e-08)[source]#
Apply MPO to MPS: |ψ’⟩ = O |ψ⟩
Uses zipper/zip-up algorithm for efficient contraction
- Args:
mpo: Matrix product operator mps: Matrix product state (AdaptiveMPS) chi_max: Maximum bond dimension after compression eps: Truncation tolerance
- Returns:
New MPS after applying MPO