QOperator Class Reference

QOperator, quantum operator class definition. More...

#include <QOperators.h>

Inheritance diagram for QOperator:
SMatrix QAnnihilation QCreation QDisplacement QParity TensorQOperator

List of all members.

Public Member Functions

 QOperator (int dim_i=1)
 Default constructor, see SMatrix.
 QOperator (int dim_i, complex< double > diag)
 Diagonal constructor, see SMatrix.
 QOperator (int dim_i, const complex< double > *Mtab_i)
 Creation from array, see SMatrix.
 QOperator (int dim_i, double *real, double *imag)
 Creation from real array and imaginary array, see SMatrix.
 QOperator (const SMatrix &m)
 Constructor by copy from SMatrix.
 QOperator (const QOperator &m)
 Constructor by copy.

Friends

EXPORTED_FUNCTION Ket operator* (const QOperator &m, const Ket &ket)
 QOperator - ket multiplication.
EXPORTED_FUNCTION Bra operator* (const Bra &bra, const QOperator &m)
 Bra - QOperator multiplication.

Detailed Description

QOperator, quantum operator class definition.

This class provides the basical operation between Ket - Bra - Operators.


Constructor & Destructor Documentation

QOperator::QOperator ( int  dim_i = 1  )  [inline]

Default constructor, see SMatrix.

QOperator::QOperator ( int  dim_i,
complex< double >  diag 
) [inline]

Diagonal constructor, see SMatrix.

QOperator::QOperator ( int  dim_i,
const complex< double > *  Mtab_i 
) [inline]

Creation from array, see SMatrix.

QOperator::QOperator ( int  dim_i,
double *  real,
double *  imag 
) [inline]

Creation from real array and imaginary array, see SMatrix.

QOperator::QOperator ( const SMatrix m  )  [inline]

Constructor by copy from SMatrix.

QOperator::QOperator ( const QOperator m  )  [inline]

Constructor by copy.


Friends And Related Function Documentation

EXPORTED_FUNCTION Bra operator* ( const Bra bra,
const QOperator m 
) [friend]

Bra - QOperator multiplication.

EXPORTED_FUNCTION Ket operator* ( const QOperator m,
const Ket ket 
) [friend]

QOperator - ket multiplication.


The documentation for this class was generated from the following file:

Generated on Sun Sep 6 20:54:34 2009 for CQEDSimulator by  doxygen 1.6.1