Public Member Functions | Protected Attributes | List of all members
xacc::quantum::DWQMI Class Reference
Inheritance diagram for xacc::quantum::DWQMI:
xacc::Instruction xacc::BaseInstructionVisitable xacc::Identifiable xacc::Cloneable< Instruction >

Public Member Functions

 DWQMI (std::size_t qbit)
 DWQMI (std::size_t qbit, double param)
 DWQMI (std::size_t qbit1, std::size_t qbit2, double param)
 DWQMI (std::size_t qbit1, std::size_t qbit2, InstructionParameter param)
 DWQMI (std::vector< std::size_t > bits, InstructionParameter param)
const std::string name () const override
const std::string description () const override
void addArgument (std::shared_ptr< CompositeArgument > arg, const int idx_of_inst_param) override
void applyRuntimeArguments () override
void mapBits (std::vector< std::size_t > bitMap) override
const int nRequiredBits () const override
void setBits (const std::vector< std::size_t > bits) override
const std::string toString () override
void setBitExpression (const std::size_t bit_idx, const std::string expr) override
std::string getBitExpression (const std::size_t bit_idx) override
const std::vector< std::size_t > bits () override
const InstructionParameter getParameter (const std::size_t idx) const override
std::vector< InstructionParametergetParameters () override
void setParameter (const std::size_t idx, InstructionParameter &inst) override
const int nParameters () override
bool isParameterized () override
bool isComposite () override
bool isEnabled () override
void disable () override
void enable () override
std::string getBufferName (const std::size_t bitIdx) override
void setBufferNames (const std::vector< std::string > bufferNamesPerIdx) override
std::vector< std::string > getBufferNames () override
std::shared_ptr< Instructionclone () override
- Public Member Functions inherited from xacc::Instruction
virtual void addIndexMapping (const int idx_1, const int idx_2)
virtual void setParameter (const std::size_t idx, InstructionParameter &&inst)
virtual std::string channel ()
virtual void setChannel (const std::string ch)
virtual std::size_t start ()
virtual void setStart (const std::size_t s)
virtual std::size_t duration ()
virtual void setDuration (const std::size_t d)
virtual void setSamples (const std::vector< std::vector< double >> samples)
virtual std::vector< std::vector< double > > getSamples ()
virtual void customVisitAction (BaseInstructionVisitor &visitor)
virtual const bool isAnalog () const
- Public Member Functions inherited from xacc::BaseInstructionVisitable
virtual void accept (std::shared_ptr< BaseInstructionVisitor > visitor)=0
virtual void accept (BaseInstructionVisitor *visitor)=0
virtual ~BaseInstructionVisitable ()
- Public Member Functions inherited from xacc::Identifiable
virtual ~Identifiable ()
- Public Member Functions inherited from xacc::Cloneable< Instruction >
virtual bool shouldClone ()
virtual ~Cloneable ()

Protected Attributes

std::vector< std::size_t > qubits
InstructionParameter parameter
bool enabled = true

Additional Inherited Members

- Static Protected Member Functions inherited from xacc::BaseInstructionVisitable
template<class T >
static void acceptImpl (T &visited, std::shared_ptr< BaseInstructionVisitor > visitor)
template<class T >
static void acceptImpl (T &visited, BaseInstructionVisitor *visitor)

Member Function Documentation

const std::string xacc::quantum::DWQMI::description ( ) const

Return the description of this instance

description The description of this object.

Implements xacc::Identifiable.

const std::string xacc::quantum::DWQMI::name ( ) const

Return the name of this instance.

name The string name

Implements xacc::Identifiable.

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