Projective virtual symmetry of a matrix product state (source code)

= Projective virtual symmetry of a matrix product state

An on-site symmetry of an injective MPS acts on virtual indices by matrices defined up to phase. Their projective cohomology class is the one-dimensional SPT invariant.