Consider I have a Hamiltonian(H(t)) which is time-dependent. I want to find the time evolution of a wave function which has the initial condition that is the ground state(\psi(0)) of the Hamiltonian(H(0)). How do I find \psi(t)?
For this, I need to solve the first-order differential equation, which is the Schrodinger equation. Most of the examples in using ITensor I found for time-independent Hamiltonian. I found a way in ITensor discourse to do this using trotter gate, but it is not helping me as in my case my Hamiltonian is for bosonic sites with particle number conserved has onsite interaction term like a_i^{\dagger}a_i^{\dagger}a_ia_i or n_i(n_i-1).
I just want to know if there exists any way that I can solve this kind of problem. Like in ED it can be very easily done using Odeint in Python, where I just pass Hamiltonian as a function of time and initial condition, and it will do all the jobs. I will be very much thankful as well as helpful if you can suggest and guide me on a way to find the time evolution that I want. For information ultimately I need to find an expectation value of an observable \langle\psi|J|\psi\rangle(t), which I can do I hope if I am able to find the time evolution of \psi(t) according to Schrodinger equation of time-dependent Hamiltonian.
Note: I have already asked this question with other details in the CPP version of ITensor(Time Evolution of wave function when Hamiltonian is time dependent.), but I am not getting any reply back. I generally prefer to write my code in CPP, but I will be more than happy to write my code in Julia if I can solve the problem as I mentioned in Julia version of ITensor.