Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global time-dependent simulation. #10

Open
Van314159 opened this issue Nov 3, 2024 · 1 comment
Open

Global time-dependent simulation. #10

Van314159 opened this issue Nov 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Van314159
Copy link

Hello! Thanks for this fantastic package!

I just want to ask if it is possible to simulate the dynamics of a global time-dependent many-body Hamiltonian. For example, I want to simulate the evolution of a quantum Ising model with a time-dependent transverse field. I reviewed the section on 'Time-dependent Hamiltonian' and noticed that the Ndrive keyword appears to only introduce time-dependent term on a single site. I attempted to set Ndrive as a vector (e.g., Ndrive=[1,2,3 ..., N]), but the runsim function threw an error. Is there a way to implement this functionality?

Thank you!

@tfmlaX tfmlaX added the enhancement New feature or request label Nov 22, 2024
@BrieucLD
Copy link
Member

Hi @Van314159,

Sorry for the late answer ! I did add some lines in the run_1TDVP.jl and other propagation method files to be able to give a list for Ndrive. An example is provided with the Spin-Boson Model in the 'Time-dependent Hamiltonian' doc section where the sites of the chain are driven in order to simulate a (a+a^\dagger) type of drive.

As mentioned in the example, this time-dependence can quickly become problem specific since it requires to be added to the constant part of the MPO, which can be spotted elsewhere than the example.

We can discuss together if you need further help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants