Difference between revisions of "Drifts.m"
(Normalise sequential blank lines) |
(Update function See also links and function index membership) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
[drifts,spc_dim]=drifts(spin_system,context,parameters) | [drifts,spc_dim]=drifts(spin_system,context,parameters) | ||
| − | == | + | ==Parameters== |
context - a function handle to Spinach context | context - a function handle to Spinach context | ||
| Line 29: | Line 29: | ||
==See also== | ==See also== | ||
| − | [[Optimal control module]] | + | [[alpha_conds.m]], [[aux_mat.m]], [[bfgs.m]], [[cubic_interp.m]], [[dirdiff.m]], [[ensemble.m]], [[hess_reorder.m]], [[objeval.m]], [[optimcon.m]], [[trapdiff.m]], [[Optimal control module]] |
''Version 2.4, authors: [[Ilya Kuprov]]'' | ''Version 2.4, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 18:36, 6 June 2026
Returns a cell array of drift Liouvillians suitable for the control.drifts variable in ensemble control optimisations.
Syntax
[drifts,spc_dim]=drifts(spin_system,context,parameters)
Parameters
context - a function handle to Spinach context
responsible for handling the ensemble
(@powder, @singlerot, etc.)
parameters - parameters required by the context
assumptions - assumptions required by the context
Outputs
drifts - a cell array of Liouvillians format-
ted as {{La},{Lb},...}, one per en-
semble member
spc_dim - dimension of the classical dynamics
subspace (e.g. rotor grid in MAS)
Examples
Examples are given in powder_prephase.m and optimcon_mas.m files in examples/optimal_control directory.
See also
alpha_conds.m, aux_mat.m, bfgs.m, cubic_interp.m, dirdiff.m, ensemble.m, hess_reorder.m, objeval.m, optimcon.m, trapdiff.m, Optimal control module
Version 2.4, authors: Ilya Kuprov