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

Make chi functions not-in-place #48

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Make chi functions not-in-place #48

merged 1 commit into from
Jul 17, 2024

Commits on Jul 17, 2024

  1. Make chi functions not-in-place

    The `chi!` functions previously used by GRAPE and Krotov are now
    simply `chi` do not act in-place. This is more general and easier to
    implement for the user, as it allows to use immutable structs for states
    
    Note that in extreme performance-critical situations, one could still
    construct the χ-states in-place via a closure or functor.
    
    Both chi and J_T can now have an optional keyword argument `tau`
    (instead of the previous improperly implemented and unicode `τ`).
    Whether or not `tau` should be passed to these functions is
    automatically detected.
    goerz committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a8ddddf View commit details
    Browse the repository at this point in the history