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

Public Member Functions

 PulseInstruction (std::string name)
 PulseInstruction (std::string name, std::vector< InstructionParameter > params)
 PulseInstruction (std::string name, std::vector< std::size_t > bits, std::vector< InstructionParameter > params)
 PulseInstruction (const PulseInstruction &inst)
const std::string name () const override
const std::string description () const override
const std::string toString () override
const std::vector< std::size_t > bits () override
void setBits (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
void mapBits (std::vector< std::size_t > bitMap) override
bool isComposite () override
bool isEnabled () override
void disable () override
void enable () override
const bool isAnalog () const override
const int nRequiredBits () const override
std::shared_ptr< Instructionclone () override
- Public Member Functions inherited from xacc::Instruction
virtual void applyRuntimeArguments ()=0
virtual void addArgument (std::shared_ptr< CompositeArgument > arg, const int idx_of_inst_param)=0
virtual void addIndexMapping (const int idx_1, const int idx_2)
virtual void setBitExpression (const std::size_t bit_idx, const std::string expr)=0
virtual std::string getBitExpression (const std::size_t bit_idx)=0
virtual std::string getBufferName (const std::size_t bitIdx)=0
virtual std::vector< std::string > getBufferNames ()=0
virtual void setBufferNames (const std::vector< std::string > bufferNamesPerIdx)=0
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)
- 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::string _name
bool enabled = true
std::vector< std::size_t > qbits
std::vector< InstructionParameterparameters

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::PulseInstruction::description ( ) const

Return the description of this instance

description The description of this object.

Implements xacc::Identifiable.

const std::string xacc::quantum::PulseInstruction::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: