Public Member Functions | List of all members
xacc::Instruction Class Referenceabstract
Inheritance diagram for xacc::Instruction:
xacc::BaseInstructionVisitable xacc::Identifiable xacc::Cloneable< Instruction > xacc::CompositeInstruction xacc::quantum::DWQMI xacc::quantum::Gate xacc::quantum::Pulse xacc::quantum::PulseInstruction xacc::quantum::AnnealingProgram xacc::quantum::Circuit xacc::quantum::PulseComposite xacc::quantum::AnnealingInstruction xacc::quantum::CH xacc::quantum::CNOT xacc::quantum::CPhase xacc::quantum::CRZ xacc::quantum::CY xacc::quantum::CZ xacc::quantum::fSim xacc::quantum::Hadamard xacc::quantum::Identity xacc::quantum::iSwap xacc::quantum::Measure xacc::quantum::Rx xacc::quantum::Ry xacc::quantum::Rz xacc::quantum::S xacc::quantum::Sdg xacc::quantum::Swap xacc::quantum::T xacc::quantum::Tdg xacc::quantum::U xacc::quantum::U1 xacc::quantum::X xacc::quantum::Y xacc::quantum::Z

Public Member Functions

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 const std::string toString ()=0
virtual const std::vector< std::size_t > bits ()=0
virtual void setBits (const std::vector< std::size_t > bits)=0
virtual void mapBits (std::vector< std::size_t > bitMap)=0
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 const InstructionParameter getParameter (const std::size_t idx) const =0
virtual std::vector< InstructionParametergetParameters ()=0
virtual void setParameter (const std::size_t idx, InstructionParameter &inst)=0
virtual void setParameter (const std::size_t idx, InstructionParameter &&inst)
virtual const int nParameters ()=0
virtual bool isParameterized ()
virtual bool isComposite ()
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 bool isEnabled ()
virtual void disable ()
virtual void enable ()
virtual void customVisitAction (BaseInstructionVisitor &visitor)
virtual const bool isAnalog () const
virtual const int nRequiredBits () const =0
- 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 const std::string name () const =0
virtual const std::string description () const =0
virtual ~Identifiable ()
- Public Member Functions inherited from xacc::Cloneable< Instruction >
virtual std::shared_ptr< Instructionclone ()=0
virtual bool shouldClone ()
virtual ~Cloneable ()

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)

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