pytenet.mps¶
Matrix product state (MPS) class and associated functionality.
Functions
|
Logical addition of two matrix product states (effectively sum virtual bond dimensions), with the second MPS scaled by "alpha". |
|
Left-orthonormalize the local site tensor a by a QR decomposition, and update the tensor at the next site. |
|
Left-orthonormalize the local site tensor a by a SVD, and update the tensor at the next site. |
|
Right-orthonormalize the local site tensor a by a QR decomposition, and update the tensor at the previous site. |
|
Right-orthonormalize the local site tensor a by a SVD, and update the tensor at the previous site. |
|
Merge two neighboring MPS tensors. |
|
Compute the standard L2 norm of a matrix product state. |
|
Split an MPS tensor with dimension b0 x d0*d1 x b2 into two MPS tensors with dimensions b0 x d0 x b1 and b1 x d1 x b2, respectively. |
|
Compute the dot (scalar) product <chi | psi>, complex conjugating chi. |
Classes
|
Matrix product state (MPS) class. |