Public Member Functions | List of all members
xacc::InstructionVisitor< T > Class Template Referenceabstract

#include <InstructionVisitor.hpp>

Inheritance diagram for xacc::InstructionVisitor< T >:
xacc::quantum::AllGateVisitor xacc::circuits::ControlledU xacc::internal_staq::XACCToStaqOpenQasm xacc::quantum::GateFuser xacc::quantum::IonQProgramVisitor xacc::quantum::IRToGraphVisitor xacc::quantum::JsonVisitor< Writer, Buffer > xacc::quantum::OpenQasmVisitor xacc::quantum::QObjectExperimentVisitor xacc::quantum::QppVisitor xacc::quantum::QrackVisitor xacc::quantum::QuilVisitor xacc::quantum::XasmVisitor

Public Member Functions

virtual void visit (T &)=0
virtual ~InstructionVisitor ()

Detailed Description

template<class T>
class xacc::InstructionVisitor< T >

The InstructionVisitor provides a visit method for the provided template parameter.

Constructor & Destructor Documentation

template<class T>
virtual xacc::InstructionVisitor< T >::~InstructionVisitor ( )

The destructor

Member Function Documentation

template<class T>
virtual void xacc::InstructionVisitor< T >::visit ( T &  )
pure virtual

This method should be implemented by subclasses to perform Visitor-specific behavior on the given instance of the template parameter T.

Implemented in xacc::quantum::OpenPulseVisitor, and xacc::quantum::CountGatesOfTypeVisitor< GateType >.

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