XACC
|
Public Member Functions | |
void | initialize (std::shared_ptr< AcceleratorBuffer > buffer, bool shotsMode=false) |
void | finalize () |
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 (Measure &measure) override |
void | visit (Identity &i) override |
void | visit (U &u) override |
void | visit (IfStmt &ifStmt) override |
void | visit (iSwap &in_iSwapGate) override |
void | visit (fSim &in_fsimGate) override |
virtual std::shared_ptr< QppVisitor > | clone () |
const KetVectorType & | getStateVec () const |
Public Member Functions inherited from xacc::quantum::AllGateVisitor | |
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 |
Public Member Functions inherited from xacc::BaseInstructionVisitor | |
~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 () |
Public Member Functions inherited from xacc::Identifiable | |
virtual | ~Identifiable () |
Public Member Functions inherited from xacc::InstructionVisitor< Hadamard > | |
virtual void | visit (Hadamard &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CNOT > | |
virtual void | visit (CNOT &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Rz > | |
virtual void | visit (Rz &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Rx > | |
virtual void | visit (Rx &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Ry > | |
virtual void | visit (Ry &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< X > | |
virtual void | visit (X &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Y > | |
virtual void | visit (Y &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Z > | |
virtual void | visit (Z &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CPhase > | |
virtual void | visit (CPhase &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Swap > | |
virtual void | visit (Swap &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< iSwap > | |
virtual void | visit (iSwap &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< fSim > | |
virtual void | visit (fSim &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Measure > | |
virtual void | visit (Measure &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Identity > | |
virtual void | visit (Identity &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CZ > | |
virtual void | visit (CZ &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CY > | |
virtual void | visit (CY &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CRZ > | |
virtual void | visit (CRZ &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< CH > | |
virtual void | visit (CH &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< S > | |
virtual void | visit (S &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Sdg > | |
virtual void | visit (Sdg &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< T > | |
virtual void | visit (T &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< Tdg > | |
virtual void | visit (Tdg &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< U > | |
virtual void | visit (U &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< U1 > | |
virtual void | visit (U1 &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::InstructionVisitor< IfStmt > | |
virtual void | visit (IfStmt &)=0 |
virtual | ~InstructionVisitor () |
Public Member Functions inherited from xacc::OptionsProvider | |
virtual OptionPairs | getOptions () |
virtual bool | handleOptions (const std::map< std::string, std::string > &arg_map) |
virtual | ~OptionsProvider () |
Public Member Functions inherited from xacc::Cloneable< QppVisitor > | |
virtual bool | shouldClone () |
virtual | ~Cloneable () |
Static Public Member Functions | |
static double | calcExpectationValueZ (const KetVectorType &in_stateVec, const std::vector< qpp::idx > &in_bits) |
Additional Inherited Members | |
Protected Attributes inherited from xacc::BaseInstructionVisitor | |
std::string | native = "" |