feedbackGRAPE documentation#
Installation#
We recommend using a fresh conda environment with python >=3.11 to avoid conflicts with other packages.
Then, to install feedbackGRAPE, run the following command:
pip install feedback-grape
or for the gpu-enabled version:
pip install feedback-grape[cuda12]
then simply import as follows:
from feedback_grape.grape import (
optimize_pulse
)
from feedback_grape.utils.operators import identity, destroy, sigmap, sigmaz
from feedback_grape.utils.tensor import tensor
from feedback_grape.utils.states import basis
Refer to the documentation to see the full list of available functions in grape (GRadient Ascent Pulse Engineering), fgrape (feedback GRAPE) and in Utils.
Click here to get started with some example tutorials for GRAPE: GRAPE Tutorials.
Click here to get started with some example tutorials for feedbackGRAPE: FeedbackGRAPE Tutorials.