You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test.py", line 22, in
qstate.amplitude([1,0,0,1,0,0])
File "*/lib64/python3.8/site-packages/koala/peps/peps.py", line 222, in amplitude
return PEPS(grid, self.backend).contract(contract_option)
File "/lib64/python3.8/site-packages/koala/peps/peps.py", line 231, in contract
return contraction.contract(self, option)
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 82, in contract
return contract_BMPS(state, svd_option=option.svd_option, compress_alg=option.compress_alg, canonicalize=option.canonicalize)
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 150, in contract_BMPS
return _vector_reshaper_BMPS(contract_MPS(contract_to_MPS(
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 574, in _vector_reshaper_BMPS
return vector.item() if vector.size == 1 else vector.reshape(
File "/lib64/python3.8/site-packages/tensorbackends/backends/numpy/numpy_tensor.py", line 74, in wrapped_result
retval = result(*unwrapped_args, **unwrapped_kwargs)
ValueError: cannot reshape array of size 32 into shape (2,2,2,2,2,2)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "test.py", line 22, in
qstate.amplitude([1,0,0,1,0,0])
File "*/lib64/python3.8/site-packages/koala/peps/peps.py", line 222, in amplitude
return PEPS(grid, self.backend).contract(contract_option)
File "/lib64/python3.8/site-packages/koala/peps/peps.py", line 231, in contract
return contraction.contract(self, option)
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 82, in contract
return contract_BMPS(state, svd_option=option.svd_option, compress_alg=option.compress_alg, canonicalize=option.canonicalize)
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 150, in contract_BMPS
return _vector_reshaper_BMPS(contract_MPS(contract_to_MPS(
File "/lib64/python3.8/site-packages/koala/peps/contraction.py", line 574, in _vector_reshaper_BMPS
return vector.item() if vector.size == 1 else vector.reshape(
File "/lib64/python3.8/site-packages/tensorbackends/backends/numpy/numpy_tensor.py", line 74, in wrapped_result
retval = result(*unwrapped_args, **unwrapped_kwargs)
ValueError: cannot reshape array of size 32 into shape (2,2,2,2,2,2)
The text was updated successfully, but these errors were encountered: