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
--> PT-TEMPO computation:
100.0% 2 of 2 [########################################] 00:00:00
Elapsed time: 0.0s
Traceback (most recent call last):
File "./examples/fail.py", line 33, in <module>
pt = oqupy.import_process_tensor(TEMP_FILE, process_tensor_type="file")
File "./oqupy/process_tensor.py", line 729, in import_process_tensor
pt_file = FileProcessTensor(mode="read", filename=filename)
File "./oqupy/process_tensor.py", line 457, in __init__
dictionary = self._read_file(filename)
File "./oqupy/process_tensor.py", line 536, in _read_file
if transform_in == 0.0:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered:
I've found a bug when loading a process tensor with non-diagonal coupling from a file.
Here is a (minimal) failing example:
This is the output:
The text was updated successfully, but these errors were encountered: