Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running excercise 4 #1

Open
jerrylvx opened this issue Jun 9, 2021 · 1 comment
Open

Problems running excercise 4 #1

jerrylvx opened this issue Jun 9, 2021 · 1 comment

Comments

@jerrylvx
Copy link

jerrylvx commented Jun 9, 2021

I use Windows and run the package on Anaconda. This is the error I received when running the second command of exercise 4
Traceback (most recent call last): File "examples/ctmrg_j1j2_c4v.py", line 192, in <module> main()
File "examples/ctmrg_j1j2_c4v.py", line 51, in main state = read_ipeps_c4v(args.instate)
File "\peps-torch\ipeps\ipeps_c4v.py", line 105, in read_ipeps_c4v global_args=global_args)
File "\peps-torch\ipeps\ipeps.py", line 285, in read_ipeps state = IPEPS(sites, vertexToSite, lX=lX, lY=lY, peps_args=peps_args, global_args=global_args)
File "\peps-torch\ipeps\ipeps.py", line 104, in __init__ assert site.dtype==self.dtype,"dtype of site "+str(coord)+" and IPEPS does not match" AssertionError: dtype of site (0, 0) and IPEPS does not match

@jurajHasik
Copy link
Owner

Hi,

just add --GLOBALARGS_dtype complex128
In principle this should can be inferred from input file, but right now the dtype has to be explicitly passed
in case of computation in complex domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants