Execute.m

From Spinach Documentation Wiki
Jump to: navigation, search

Applies an event sequence to a state vector. Not very sophisticated or efficient at the moment, further improvements to come. Syntax:

        rho=execute(spin_system,operators,durations,rho)

where operators is a cell array of Hamiltonians or Liouvilians and durations is a vector of times for which they act. The events are executed chronologically from left to right.