Difference between revisions of "Grape coop.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
(Update function See also links and function index membership)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:grape_coop.m}}
+
{{DISPLAYTITLE:grape_coop.m}} __NOTOC__
 
Pairs of cooperative pulses that may be used as components of a phase cycle. The pulses are designed to produce as much of the destination state as they can, and to have impurities of opposite sign. Adding the outcomes of the two experiments then destroys the impurities.
 
Pairs of cooperative pulses that may be used as components of a phase cycle. The pulses are designed to produce as much of the destination state as they can, and to have impurities of opposite sign. Adding the outcomes of the two experiments then destroys the impurities.
  
Line 6: Line 6:
 
     [traj_data,fidelity,gradient]=grape_coop(phi_profile,spin_system)
 
     [traj_data,fidelity,gradient]=grape_coop(phi_profile,spin_system)
  
−
==Arguments==
+
==Parameters==
  
 
     phi_profile  -  phase profiles of the two pulses,
 
     phi_profile  -  phase profiles of the two pulses,
Line 26: Line 26:
  
 
==See also==
 
==See also==
−
[[grape_phase.m]], [[grape_xy.m]], [[optimcon.m]]
+
[[grape_phase.m]], [[grape_xy.m]], [[optimcon.m]], [[fmaxnewton.m]], [[grape_curv.m]], [[grape_hilb.m]], [[grape_liouv.m]], [[tgrape.m]], [[Optimal_control_module]]
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Latest revision as of 19:37, 6 June 2026

Pairs of cooperative pulses that may be used as components of a phase cycle. The pulses are designed to produce as much of the destination state as they can, and to have impurities of opposite sign. Adding the outcomes of the two experiments then destroys the impurities.

Syntax

    [traj_data,fidelity,gradient]=grape_coop(phi_profile,spin_system)

Parameters

    phi_profile  -  phase profiles of the two pulses,
                    concatenated horizontally

Outputs

     traj_data    -  trajectory information structure

     fidelity     -  cooperative fidelity measure

     gradient     -  cooperative fidelity gradient

Examples

An example of a cooperative optimisation is available in examples/optimal_control/cooperative/state_transfer_coop.m file.

Notes

Only phase-modulated point-to-point transformations are supported.

See also

grape_phase.m, grape_xy.m, optimcon.m, fmaxnewton.m, grape_curv.m, grape_hilb.m, grape_liouv.m, tgrape.m, Optimal_control_module

Version 2.2, authors: Ilya Kuprov