Skip to content

Fix tevo with real parameters

Vicentini Filippo requested to merge pv/fix-tevo into master

Created by: PhilipVinc

If you run Examples/Dyanamics/Ising1d.py with RBMModPhase Ansatz which has real parameters but complex output, TDVP breaks down because the gradient is complex but we need to take the real part.

I don't have the time, but if somebody could take this and add a test would be great.

cc @femtobit

Merge request reports