Enhance the meta field of a Tensor within a State by including a representation of the labels associated with each index, specifically emphasizing their physical representation (e.g., left, right). This can be implemented using a dictionary where each index corresponds to its respective label. This feature will be useful for manipulating the Tensors of a States in a more general fashion.
For instance, in a MatrixProductState, a typical Tensor has three indices: left, right, and physical (represented by :l, :r, and :p, respectively). We could represent the physical labels using a dictionary like :l => :label1, :r => :label2, :p => :label3, where :label1, :label2, and :label3 correspond to the labels of the left, right, and physical indices, respectively.
Summary
Enhance the
meta
field of aTensor
within aState
by including a representation of thelabels
associated with each index, specifically emphasizing their physical representation (e.g., left, right). This can be implemented using a dictionary where each index corresponds to its respective label. This feature will be useful for manipulating theTensor
s of aStates
in a more general fashion.For instance, in a
MatrixProductState
, a typicalTensor
has three indices: left, right, and physical (represented by:l
,:r
, and:p
, respectively). We could represent the physical labels using a dictionary like:l => :label1, :r => :label2, :p => :label3
, where:label1
,:label2
, and:label3
correspond to the labels of the left, right, and physical indices, respectively.