-
Notifications
You must be signed in to change notification settings - Fork 61
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
Default t_span available for DynamicsBackend.solve
#353
Default t_span available for DynamicsBackend.solve
#353
Conversation
I'm not really sure why the tests are failing, they do not seem related to the proposed changes at all. |
I think it may be due to the latest qutip update, which occurred after the last time the automated tests were run - I can look into it tomorrow. |
Okay just merged a fix for the qutip qobj handling in #354 , you can try again after updating your branch. |
It is now possible to infer a default t_span related to the duration of the solve inputs (in general, the user might just want to simulate the whole evolution over the circuit and not get any time step).
1adb67f
to
3350e8c
Compare
@DanPuzzuoli Any updates on this? |
Hey @arthurostrauss - if this is ready for review please request my review on the right :). |
@DanPuzzuoli It seems I am not able to add any reviewers on the panel unfortunately (it indicates that I am not authorised to edit the PR). Can you assign yourself to the review? |
releasenotes/notes/default_tspan_backend_solve-b1ad23f6ea291474.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniel Puzzuoli <[email protected]>
Co-authored-by: Daniel Puzzuoli <[email protected]>
…skit-community#353) Co-authored-by: Daniel Puzzuoli <[email protected]>
Summary
This PR introduces the possibility to use
DynamicsBackend.solve()
without having to specify at_span
argument explicitly. If it is not specified, the defaultt_span
is inferred from the providedsolve_input
to create at_span
of the form [0, solve_input.duration] for each solve_input in the provided list. This can be useful for simulating easily a fullQuantumCircuit
s as the process of converting them toSchedule
is already done behind the scenes.Details and comments