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

Keep the information of gate duration after the compilation #184

Open
BoxiLi opened this issue Dec 10, 2022 · 0 comments
Open

Keep the information of gate duration after the compilation #184

BoxiLi opened this issue Dec 10, 2022 · 0 comments

Comments

@BoxiLi
Copy link
Member

BoxiLi commented Dec 10, 2022

Currently, the compiler only returns the compiled pulse cofficients and tlist. It is sufficient for the solvers, but a few options in the solver may need more information. For instance, max_step is needed to prevent the solver from skipping pulses after a long idling period or initial states that are invariant under the given Hamiltonian (qutip/qutip#2003, qutip/qutip#2040).

This can be realized in 2 different ways:

  • The Compiler returns more information. On top of the compiled pulses, we could let the compiler return also additional information such as the minimum gate time.
  • Include the information in e.g. in the Coefficents class of qutip-v5 and return the Coefficient Object. This may also provide the opportunely to support different max step sizes for different gates. But it needs considerably more work and may need changes in the core qutip.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant