|
bool | expand (const xacc::HeterogeneousMap &runtimeOptions) override |
|
const std::vector< std::string > | requiredKeys () override |
|
| DEFINE_CLONE (ControlledU) |
|
void | visit (Hadamard &h) override |
|
void | visit (CNOT &cnot) override |
|
void | visit (Rz &rz) override |
|
void | visit (Ry &ry) override |
|
void | visit (Rx &rx) override |
|
void | visit (X &x) override |
|
void | visit (Y &y) override |
|
void | visit (Z &z) override |
|
void | visit (CY &cy) override |
|
void | visit (CZ &cz) override |
|
void | visit (Swap &s) override |
|
void | visit (CRZ &crz) override |
|
void | visit (CH &ch) override |
|
void | visit (S &s) override |
|
void | visit (Sdg &sdg) override |
|
void | visit (T &t) override |
|
void | visit (Tdg &tdg) override |
|
void | visit (CPhase &cphase) override |
|
void | visit (U &u) override |
|
void | visit (Identity &i) override |
|
void | visit (Measure &measure) override |
|
void | visit (IfStmt &ifStmt) override |
|
void | visit (fSim &fsim) override |
|
void | visit (iSwap &isw) override |
|
void | visit (Hadamard &h) override |
|
void | visit (CNOT &h) override |
|
void | visit (Rz &h) override |
|
void | visit (Ry &h) override |
|
void | visit (Rx &h) override |
|
void | visit (U1 &u1) override |
|
void | visit (X &h) override |
|
void | visit (Y &h) override |
|
void | visit (Z &h) override |
|
void | visit (CY &cy) override |
|
void | visit (CZ &cz) override |
|
void | visit (Swap &s) override |
|
void | visit (fSim &fsim) override |
|
void | visit (iSwap &isw) override |
|
void | visit (CRZ &crz) override |
|
void | visit (CH &ch) override |
|
void | visit (S &s) override |
|
void | visit (Sdg &sdg) override |
|
void | visit (T &t) override |
|
void | visit (Tdg &tdg) override |
|
void | visit (IfStmt &tdg) override |
|
| ~BaseInstructionVisitor () override |
|
const std::string | name () const override |
|
const std::string | description () const override |
|
virtual const std::string | toString () |
|
virtual std::string & | getNativeAssembly () |
|
void | resetNativeAssembly () |
|
virtual | ~Identifiable () |
|
virtual void | visit (Hadamard &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CNOT &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Rz &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Rx &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Ry &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (X &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Y &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Z &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CPhase &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Swap &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (iSwap &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (fSim &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Measure &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Identity &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CZ &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CY &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CRZ &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (CH &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (S &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Sdg &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (T &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (Tdg &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (U &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (U1 &)=0 |
|
virtual | ~InstructionVisitor () |
|
virtual void | visit (IfStmt &)=0 |
|
virtual | ~InstructionVisitor () |
|
| Circuit (const std::string &name) |
|
| Circuit (const std::string &name, std::vector< std::string > &vars) |
|
| Circuit (const std::string &name, std::vector< std::string > &vars, std::vector< std::string > buf_names) |
|
| Circuit (const std::string &name, std::vector< std::string > &&vars) |
|
| Circuit (const Circuit &other) |
|
const std::string | name () const override |
|
const std::string | description () const override |
|
void | setName (const std::string name) override |
|
void | applyRuntimeArguments () override |
|
const std::string | getTag () override |
|
void | setTag (const std::string &tag) override |
|
void | mapBits (std::vector< std::size_t > bitMap) override |
|
void | setBits (const std::vector< std::size_t > bits) override |
|
const std::vector< std::size_t > | bits () override |
|
const std::string | toString () override |
|
const InstructionParameter | getParameter (const std::size_t idx) const override |
|
void | setParameter (const std::size_t idx, InstructionParameter &p) override |
|
std::vector< InstructionParameter > | getParameters () override |
|
const int | nParameters () override |
|
const int | nRequiredBits () const override |
|
void | enable () override |
|
void | disable () override |
|
const bool | isAnalog () const override |
|
void | persist (std::ostream &outStream) override |
|
void | load (std::istream &inStream) override |
|
const int | nInstructions () override |
|
const int | nChildren () override |
|
InstPtr | getInstruction (const std::size_t idx) override |
|
std::vector< InstPtr > | getInstructions () override |
|
void | removeInstruction (const std::size_t idx) override |
|
void | replaceInstruction (const std::size_t idx, InstPtr newInst) override |
|
void | insertInstruction (const std::size_t idx, InstPtr newInst) override |
|
void | addInstruction (InstPtr instruction) override |
|
void | addInstructions (std::vector< InstPtr > &insts) override |
|
void | addInstructions (const std::vector< InstPtr > &insts) override |
|
void | clear () override |
|
bool | hasChildren () const override |
|
void | addVariable (const std::string variableName) override |
|
void | addVariables (const std::vector< std::string > &vars) override |
|
const std::vector< std::string > | getVariables () override |
|
void | replaceVariable (const std::string variable, const std::string newVariable) override |
|
const std::size_t | nVariables () override |
|
const int | depth () override |
|
const std::string | persistGraph () override |
|
std::shared_ptr< Graph > | toGraph () override |
|
void | flatten () |
|
const std::size_t | nLogicalBits () override |
|
const std::size_t | nPhysicalBits () override |
|
const std::set< std::size_t > | uniqueBits () override |
|
std::shared_ptr< CompositeInstruction > | enabledView () override |
|
void | removeDisabled () override |
|
std::string | getBufferName (const std::size_t bitIdx) override |
|
std::vector< std::string > | getBufferNames () override |
|
void | setBufferNames (const std::vector< std::string > bufferNamesPerIdx) override |
|
void | setBitExpression (const std::size_t bit_idx, const std::string expr) override |
|
std::string | getBitExpression (const std::size_t bit_idx) override |
|
void | setCoefficient (const std::complex< double > c) override |
|
const std::complex< double > | getCoefficient () override |
|
std::shared_ptr< CompositeInstruction > | operator() (const std::vector< double > ¶ms) override |
|
const std::string | accelerator_signature () override |
|
void | set_accelerator_signature (const std::string signature) override |
|
std::shared_ptr< Instruction > | clone () override |
|
| CompositeInstruction (const CompositeInstruction &other) |
|
template<typename... RuntimeArgs> |
void | updateRuntimeArguments (RuntimeArgs...args) |
|
void | setArgumentValues (std::vector< HeterogeneousMap > args) |
|
void | addArgument (std::shared_ptr< CompositeArgument > arg, const int idx_of_inst_param) override |
|
virtual void | addArgument (const std::string arg_name, const std::string arg_type) |
|
virtual std::shared_ptr< CompositeArgument > | getArgument (const std::string &name) |
|
virtual std::vector< std::shared_ptr< CompositeArgument > > | getArguments () |
|
virtual void | addInstructions (const std::vector< InstPtr > &&insts) |
|
virtual void | addVariables (const std::vector< std::string > &&variables) |
|
bool | isComposite () override |
|
virtual void | addIndexMapping (const int idx_1, const int idx_2) |
|
virtual void | setParameter (const std::size_t idx, InstructionParameter &&inst) |
|
virtual bool | isParameterized () |
|
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 | customVisitAction (BaseInstructionVisitor &visitor) |
|
virtual void | accept (std::shared_ptr< BaseInstructionVisitor > visitor)=0 |
|
virtual void | accept (BaseInstructionVisitor *visitor)=0 |
|
virtual | ~BaseInstructionVisitable () |
|
virtual bool | shouldClone () |
|
virtual | ~Cloneable () |
|