Skip to content

Reload MPO #152

Answered by hczhai
cfengno1 asked this question in Q&A
Jan 2, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Thanks for providing the details.

The problem is that the symmetry mode used in from block2.sany import *; mpo = MPO(0) (real custom symmetry) does not match the actual symmetry mode in your script symm_type=SymmetryTypes.SAny | SymmetryTypes.CPX (complex custom symmetry).

To solve the problem, you can remove from block2.sany import * and change mpo = MPO(0) to mpo = driver.bw.bs.MPO(0).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hczhai
Comment options

Answer selected by cfengno1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants