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) |
Contains the Ket definitions.
Allow the ket - bra multiplication.
Allow the bra - ket multiplication.
Allow the ket - complex multiplication.
Allow the complex - ket multiplication.
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;.