Examples#
We introduce the usage of the package with some examples. New users are recommended to start with Handling parameters in ParaQeet, Gradient evaluation in ParaQeet and State preparation of a single spin.
Fundamentals#
Handling parameters in ParaQeet — How parameters (
Quantity) and theOptimizationMapwork in ParaQeet.Gradient evaluation in ParaQeet - A walkthrough over gradient computation across the package.
Single-qubit control using various pulse parametrization#
State preparation of a single spin — State preparation of a single spin by tuning a cosine drive.
Single spin Part 2: Gradient descent gate optimization — Gradient-descent optimization of a single-qubit gate.
Single spin: Bayesian optimization of a gate — Gradient-free Bayesian optimization of a single-qubit gate.
DRAG Correction of a Gaussian Pulse — DRAG correction of a Gaussian pulse to suppress leakage.
GRAPE on a single spin — GRAPE on a two-level system.
Single spin Part 3: Single qubit gate optimization using GRAPE — Single-qubit gate optimization with GRAPE.
GOAToverGRAPE for gradient based dCRAB#
Optimal control of a single spin by using GOAT over GRAPE — Optimal control of a single spin using GOAT over GRAPE.
Gradient based dCRAB optimization of a single spin — Gradient-based dCRAB optimization of a single spin.
Single qubit gate optimization using GOAT over GRAPE — Single-qubit gate optimization using GOAT over GRAPE.
Two-qubit and open systems#
Gradient-based optimization of a cross-resonance gate between two transmons — Gradient-based optimization of a cross-resonance gate between two transmons.
Decay of coherent state of a resonator — Decay of a coherent state of a resonator (open-system dynamics).
Building custom models#
Using a custom Hamiltonian function with ParaQeet — Plug a user-defined Hamiltonian function into ParaQeet.
Using QuTiP with ParaQeet — Build the Hamiltonian using function and plug it into ParaQeet for optimization.
Optimization of bosonic systems#
Constrain piece-wise constant pulses to vary smoothly — Constrain piece-wise-constant pulses to vary smoothly.
Arbitrary bosonic state preparation using GRAPE — Arbitrary bosonic state preparation using GRAPE.
Arbitrary bosonic state preparation using smooth pulses: Gradient-based dCRAB optimization using GOAT over GRAPE method — Bosonic state preparation with smooth pulses via gradient-based dCRAB / GOAT over GRAPE.
Propagation and Automatic Differentiation#
Computing gradients of propagation by Automatic differentiation — How automatic differentiation of propagation is carried out in ParaQeet.
Benchmarking propagation methods — Benchmarking the propagation methods in ParaQeet.