Add normalize!(::MPS/MPO)
#500
Labels
api
Issues related to the interface
enhancement
New feature or request
mps
Issues related to MPS/MPO functionality
Milestone
Add
normalize!(::MPS/MPO)
. It should normalize just the center sites. Also, it should carefully handle the normalization if the total norm of the MPS/MPO diverges (i.e. for an ungauged MPS/MPO with many sites). It can also return the norm per site.Perhaps the API could be:
where the norm per site gets appended to the vector
sitenorms
(to keep the convention that in-place functions return the object being modified).The text was updated successfully, but these errors were encountered: