Yannick Couzinié
Yannick Couzinié
I am pretty sure that this is less of a bug, and more of me just not understanding how to use this software. I am on arch linux, I self...
Running the `sqaodpy/example/dense_graph_annealer.py` script without cuda returns ``` h= [4. 4. 4. 4. 4. 4. 4. 4.] J= [[-0. 0.25 0.25 0.25 0.25 0.25 0.25 0.25] [ 0.25 -0. 0.25...
I cannot pinpoint when exactly this broke, but at least in Python 3.11.2 if you try to run the tests (or examples in sqaodpy/examples) you either get segmentation faults or...
Thanks for your work on this but also in general! Not sure whether you prefer large PRs replacing deprecated parts or smaller more manageable ones. I used the copyNote function...
**Is your feature request related to a problem? Please describe.** For both optimization of parameters and the calculation itself it would be great to have functions that analytically calculate derivatives,...
`pauli_string_to_matrix` takes a device argument, which defaults to `torch.device('cpu')`: https://github.com/mit-han-lab/torchquantum/blob/611cc2ac9d5d7490114ec4ca175c2b74e0951f38/torchquantum/util/utils.py#L990 When trying to use `Hamiltonian` on GPU this invariably leads to device errors, since the result from `pauli_string_to_matrix` will be...
This is sort of a follow-up on #288, I misunderstood the functions, the fix there was wrong (as was the original function). If I understand correctly, the example in the...