TensorQOperator Class Reference

TensorQOperator definition class. More...

#include <QO.h>

Inheritance diagram for TensorQOperator:
QOperator SMatrix

List of all members.

Public Member Functions

 TensorQOperator (QOperator a, QOperator b)
 Constructor for 2 QOperators.
 TensorQOperator (int Nb, QOperator *op)
 Constructor for 3 or more QOperators.
 ~TensorQOperator ()
 Destructor.
int getNb () const
 Send the number of QOperator inside the tensor product.
int getHtot () const
 Send the total dimension of the Hilbert space.
int getHdim (int object) const
 Send the singular dimension of Hilbert space.
QOperator getQOperator (int i) const
 Send the singular QOperator.
QOperator getPartialTrace (int respectto)
 Send the partial trace in respect to another QOperator.

Detailed Description

TensorQOperator definition class.

This class provides a easy way to create tensor products between 2 or more QOperators.


Constructor & Destructor Documentation

TensorQOperator::TensorQOperator ( QOperator  a,
QOperator  b 
)

Constructor for 2 QOperators.

TensorQOperator::TensorQOperator ( int  Nb,
QOperator op 
)

Constructor for 3 or more QOperators.

TensorQOperator::~TensorQOperator (  ) 

Destructor.


Member Function Documentation

int TensorQOperator::getHdim ( int  object  )  const [inline]

Send the singular dimension of Hilbert space.

int TensorQOperator::getHtot (  )  const [inline]

Send the total dimension of the Hilbert space.

int TensorQOperator::getNb (  )  const [inline]

Send the number of QOperator inside the tensor product.

QOperator TensorQOperator::getPartialTrace ( int  respectto  ) 

Send the partial trace in respect to another QOperator.

Calculate the partial trace.

Parameters:
respectto Is the index to get the partial trace.
Returns:
Returns the the partial trace.
QOperator TensorQOperator::getQOperator ( int  i  )  const [inline]

Send the singular QOperator.


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

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