error-corp / qutip-qtrl

The QuTiP quantum optimal control package
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Understanding GRAPE Code #1

Open jmc595 opened 5 months ago

jmc595 commented 5 months ago

GRAPEResult class (represents result of grape simulation):

jmc595 commented 5 months ago

Functions:

plot_grape_control_fields: Plots the GRAPE control fields given a control pulse matrix ; shows how control pulses change over time

_overlap: calculates overlap (similarity) between two quantum objects (like states or operations)

grape_unitary: determines what is control pulses are necessary to make a quantum system evolve a certain way

cy_grape_unitary: similar to grape_unitary but more efficient; uses Cython

grape_unitary_adaptive: similar to grape_unitary but with adaptive features ; can change step size (eps)

jmc595 commented 5 months ago

Necessary packages:

numpy: for math functions, numerical computations, array operations

scipy: uses interpld function from scipy.interpolate for interpolation (which is estimating values that lie between known data points)

qutip: