netket.models.tensor_networks.MPSOpen#
- class netket.models.tensor_networks.MPSOpen[source]#
Bases:
Module
An open Matrix Product State (MPS) for a quantum state of discrete degrees of freedom. The MPS is defined as
\[\Psi(s_1,\dots s_N) = \mathrm{Tr} \left[ A[s_1]\dots A[s_N] \right] ,\]for arbitrary local quantum numbers \(s_i\), where \(A[s_{i}]\) are vectors of shape \((\text{bond_dim},)\) for \(i=1,N\) and matrices of shape \((\text{bond_dim}, \text{bond_dim})\) for \(i=2, \dots N-1\) , depending on the value of the local quantum number \(s_i\).
- Attributes
-
-
hilbert:
HomogeneousHilbert
# Hilbert space on which the state is defined.
-
hilbert: