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

Public Member Functions

 Hadamard (std::vector< std::size_t > qbits)
 Hadamard (std::size_t qbit)
const int nRequiredBits () const override
- Public Member Functions inherited from xacc::quantum::Gate
 Gate (std::string name)
 Gate (std::string name, std::vector< InstructionParameter > params)
 Gate (std::string name, std::vector< std::size_t > qubts)
 Gate (std::string name, std::vector< std::size_t > qubts, std::vector< InstructionParameter > params)
 Gate (const Gate &inst)
const std::string name () const override
const std::string description () const override
const std::string toString () override
void addArgument (std::shared_ptr< CompositeArgument > arg, const int idx_of_inst_param) override
void addIndexMapping (const int idx_1, const int idx_2) override
void applyRuntimeArguments () override
const std::vector< std::size_t > bits () override
void setBits (const std::vector< std::size_t > bits) 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
void setBitExpression (const std::size_t bit_idx, const std::string expr) override
std::string getBitExpression (const std::size_t bit_idx) 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
- Public Member Functions inherited from xacc::Instruction
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 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)
- Protected Attributes inherited from xacc::quantum::Gate
std::shared_ptr< ExpressionParsingUtilparsingUtil
std::string gateName
std::vector< std::size_t > qbits
bool enabled = true
std::vector< InstructionParameterparameters
std::vector< std::string > buffer_names
std::map< std::size_t, std::string > bitIdxExpressions
std::map< int, std::shared_ptr< CompositeArgument > > arguments
std::map< int, int > param_idx_to_vector_idx

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