Public Member Functions

QuCoSi::Qubit Class Reference

Inheritance diagram for QuCoSi::Qubit:
Collaboration diagram for QuCoSi::Qubit:

List of all members.

Public Member Functions

 Qubit ()
 Qubit (const int dim)
 Qubit (const field &c0, const field &c1)
 Qubit (const int x, const int n)
Qubit & operator= (const VectorXc &v)
Qubit & operator= (const Vector &v)
bool isPureState () const
Qubit first (const int j) const
Qubit last (const int j) const
Qubit & measure ()
Qubit & measurePartial (const int p)

Detailed Description

Definition at line 28 of file Qubit.


Constructor & Destructor Documentation

QuCoSi::Qubit::Qubit (  )  [inline]

Definition at line 30 of file Qubit.

Here is the caller graph for this function:

QuCoSi::Qubit::Qubit ( const int  dim  )  [inline]

Definition at line 32 of file Qubit.

QuCoSi::Qubit::Qubit ( const field &  c0,
const field &  c1 
) [inline]

Definition at line 34 of file Qubit.

QuCoSi::Qubit::Qubit ( const int  x,
const int  n 
) [inline]

Definition at line 36 of file Qubit.


Member Function Documentation

Qubit& QuCoSi::Qubit::operator= ( const VectorXc &  v  )  [inline]

Reimplemented from QuCoSi::Vector.

Definition at line 41 of file Qubit.

Here is the caller graph for this function:

Qubit& QuCoSi::Qubit::operator= ( const Vector &  v  )  [inline]

Definition at line 47 of file Qubit.

Here is the call graph for this function:

bool QuCoSi::Qubit::isPureState (  )  const [inline]

Definition at line 53 of file Qubit.

Here is the call graph for this function:

Qubit QuCoSi::Qubit::first ( const int  j  )  const [inline]

Definition at line 63 of file Qubit.

Here is the call graph for this function:

Qubit QuCoSi::Qubit::last ( const int  j  )  const [inline]

Definition at line 84 of file Qubit.

Here is the call graph for this function:

Qubit& QuCoSi::Qubit::measure (  )  [inline]

Definition at line 104 of file Qubit.

Here is the call graph for this function:

Qubit& QuCoSi::Qubit::measurePartial ( const int  p  )  [inline]

Definition at line 129 of file Qubit.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs