QCOR
Classes | Public Member Functions | List of all members
qcor::CompositeInstruction Class Reference

Classes

class  CompositeInstructionImpl
 ————- CompositeInstruction Wrapper ————— More...
 

Public Member Functions

 CompositeInstruction (std::shared_ptr< xacc::Identifiable > impl)
 
 CompositeInstruction (const std::string &&name)
 
 CompositeInstruction (const std::string &name)
 
CompositeInstructionImploperator-> ()
 
std::size_t nLogicalBits ()
 
std::size_t nPhysicalBits ()
 
std::size_t nVariables ()
 
std::shared_ptr< CompositeInstructionoperator() (const std::vector< double > &x)
 
std::shared_ptr< xacc::Identifiable > get_as_opaque ()
 
std::shared_ptr< xacc::CompositeInstruction > as_xacc ()
 
const std::string name () const
 
int nInstructions ()
 
int nChildren ()
 
void setName (const std::string name)
 
LocalOpaqueInstPtr getInstruction (const std::size_t idx)
 
std::vector< LocalOpaqueInstPtr > getInstructions ()
 
void removeInstruction (const std::size_t idx)
 
void replaceInstruction (const std::size_t idx, LocalOpaqueInstPtr newInst)
 
void insertInstruction (const std::size_t idx, LocalOpaqueInstPtr newInst)
 
void clear ()
 
void addInstruction (LocalOpaqueInstPtr instruction)
 
void addInstruction (std::shared_ptr< CompositeInstruction > composite)
 
void addInstructions (std::vector< LocalOpaqueInstPtr > &instruction)
 
void addInstructions (const std::vector< LocalOpaqueInstPtr > &instruction)
 
void addInstructions (const std::vector< LocalOpaqueInstPtr > &&insts, bool shouldValidate=true)
 
void attachMetadata (const int instId, xacc::HeterogeneousMap &&m)
 
std::string toString ()
 
int depth ()
 

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