Closed vytautas-a closed 1 month ago
This refactoring disables the embedding function call for pyqtorch
backend, thus currently only HamEvo
block works properly. I suggest we could completely get rid of the embedding call when dealing with pyqtorch
. This can be achieved by utilizing the new sympy
-> ConcretizedCallable
converter.
Hey @vytautas-a can I mark this PR as ready ?
@Roland-djee, well this PR here is currently more in the proposal stage. It depends also on another PR that I'll open in pyqtorch
.
Thanks @vytautas-a :)
Few minor things and then it should be good to go.
One thing, I see that the docs for the time-dependent HamEvo reads:
# create parameterized HamEvo block hamevo = HamEvo(generator_td, 0.0, duration=duration)
Is passing
0.0
correct there? I thought the idea was to pass the time parameter in that argument?
Yes, the docs have to updated.
Substitute
PyQTimeDependentEvolution
class with proper call topyqtorch
's time-dependent functionality.