Hilb2liouv.m

From Spinach Documentation Wiki
Jump to: navigation, search

Converts Hilbert space operators into Liouville space superoperators or state vectors. Syntax:

                          L=hilb2liouv(H,conv_type)

Parameters:

         H - a Hilbert space operator
 conv_type - the type of Liouville space superoperator to return:
                 'left' - produces left side product superoperator
                'right' - produces right side product superoperator
                 'comm' - produces commutation superoperator
                'acomm' - produces anticommutation superoperator
             'statevec' - stretches the operator into a state vector