-
I was trying to get state vector of the wavefunction of the MPS in SGB mode. Is there a way to do this?
The final line gives the following error:
|
Beta Was this translation helpful? Give feedback.
Answered by
hczhai
Sep 11, 2024
Replies: 1 comment 4 replies
-
A related question is whether there is a way to turn a Hamiltonian in SBG to SU2 or define a Pauli Hamiltonian directly in SU2 mode? Thanks! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
pyblock3
is a package mostly for fermion problems, it does not accept the SGB mode in block2. You can usepyblock2.algebra.io
instead ofpyblock3.block2.io
, which works for most symmetry modes inblock2
.So the final part of your script should be changed to the following: