simple_flow.m

From Spinach Documentation Wiki
Revision as of 14:29, 26 July 2023 by Kuprov (talk | contribs) (→‎Examples)
Jump to: navigation, search

Simple forward evolution experiment for the microfluidics module; trajectory is returned. This sequence must be called from the meshflow.m context, which would provide H, R, K, G, and F. Because gradients are not being used, the G input is ignored.

Syntax

    traj=simple_flow(spin_system,parameters,H,R,K,~,F)

Arguments

   parameters.npoints   - number of points in 
                          the trajectory

   parameters.rho0      - initial state in Fokker-
                          Planck space

   parameters.dt        - trajectory time step

Outputs

   traj - trajectory in the Fokker-Planck space

Examples

Below is a frame from the video produced by examples/microfluidics/plain_flow.m example file.

Plain flow paraqchip.png

Notes

To convert Fokker-Planck space trajectory into R3 or Liouville space, use fpl2phan.m and fpl2rho.m functions.

See also

Spatially encoded NMR


Version 2.8, authors: Ilya Kuprov