Public Member Functions | Protected Attributes | List of all members
xacc::internal_compiler::qreg Class Reference

Public Member Functions

 qreg (const int n)
 qreg (const qreg &other)
qubit operator[] (const std::size_t i)
qregoperator= (const qreg &q)
AcceleratorBufferresults ()
std::map< std::string, int > counts ()
double exp_val_z ()
void reset ()
int size ()
void addChild (qreg &q)
void setName (const char *name)
void setNameAndStore (const char *name)
std::string name ()
void store ()
void print ()
double weighted_sum (Observable *obs)

Protected Attributes


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