pasqal-io / pyqtorch

PyTorch-based state vector simulator
https://pasqal-io.github.io/pyqtorch/
Apache License 2.0
45 stars 15 forks source link

[Bugfix] Divide shift by spectral gap for single-gap PSR #260

Closed chMoussa closed 3 months ago

chMoussa commented 3 months ago

To account for the factor 2 between the definition of HamiltonianEvolution and usual Parametric gates, one needs to rescale the shift with the spectral gap on top of dividing by 2.