Ket.cpp File Reference

Contains the Ket definitions. More...

#include "Ket.h"
#include "Bra.h"
#include "QOperators.h"
#include "includes.h"

Functions

EXPORTED_FUNCTION Ket operator* (complex< double > a, const Ket &v)
EXPORTED_FUNCTION Ket operator* (double a, const Ket &v)
EXPORTED_FUNCTION Ket operator* (const Ket &v, complex< double > a)
EXPORTED_FUNCTION Ket operator* (const Ket &v, double a)
EXPORTED_FUNCTION Ket operator/ (const Ket &v, complex< double > a)
EXPORTED_FUNCTION Ket operator/ (const Ket &v, double a)
EXPORTED_FUNCTION complex< double > operator* (const Bra &bra, const Ket &ket)
EXPORTED_FUNCTION QOperator operator* (const Ket &ket, const Bra &bra)
EXPORTED_FUNCTION std::ostream & operator<< (std::ostream &out, const Ket &v)

Detailed Description

Contains the Ket definitions.


Function Documentation

EXPORTED_FUNCTION QOperator operator* ( const Ket ket,
const Bra bra 
)

Allow the ket - bra multiplication.

EXPORTED_FUNCTION complex<double> operator* ( const Bra bra,
const Ket ket 
)

Allow the bra - ket multiplication.

EXPORTED_FUNCTION Ket operator* ( const Ket v,
double  a 
)

Allow the ket - double multiplication.

EXPORTED_FUNCTION Ket operator* ( const Ket v,
complex< double >  a 
)

Allow the ket - complex multiplication.

EXPORTED_FUNCTION Ket operator* ( double  a,
const Ket v 
)

Allow the double - ket multiplication.

EXPORTED_FUNCTION Ket operator* ( complex< double >  a,
const Ket v 
)

Allow the complex - ket multiplication.

EXPORTED_FUNCTION Ket operator/ ( const Ket v,
double  a 
)

Allow the ket - double multiplication.

EXPORTED_FUNCTION Ket operator/ ( const Ket v,
complex< double >  a 
)

Allow the ket - complex multiplication.

EXPORTED_FUNCTION std::ostream& operator<< ( std::ostream &  out,
const Ket v 
)

Allow the use of << in C++, i.e.: cout<<ket;.


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