XACC
Public Member Functions | List of all members
xacc::Compiler Class Referenceabstract
Inheritance diagram for xacc::Compiler:
xacc::OptionsProvider xacc::Identifiable xacc::quantum::OQASMCompiler xacc::quantum::QObjectCompiler xacc::quantum::QuilCompiler xacc::quilc::Quilc xacc::StaqCompiler xacc::XASMCompiler

Public Member Functions

virtual std::shared_ptr< IRcompile (const std::string &src, std::shared_ptr< Accelerator > acc)=0
 
virtual std::shared_ptr< IRcompile (const std::string &src)=0
 
virtual const std::string get_statement_terminator ()
 
virtual bool canParse (const std::string &src)
 
virtual const std::string translate (std::shared_ptr< CompositeInstruction > program)=0
 
virtual const std::string translate (std::shared_ptr< CompositeInstruction > program, HeterogeneousMap &options)
 
virtual const std::string translate (std::shared_ptr< CompositeInstruction > program, HeterogeneousMap &&options)
 
virtual const std::shared_ptr< CompositeInstructioncompile (std::shared_ptr< CompositeInstruction > f, std::shared_ptr< Accelerator > acc)
 
virtual std::vector< std::string > getKernelBufferNames (const std::string &src)
 
virtual OptionPairs getOptions ()
 
virtual bool handleOptions (const std::map< std::string, std::string > &arg_map)
 
- Public Member Functions inherited from xacc::OptionsProvider
virtual ~OptionsProvider ()
 
- Public Member Functions inherited from xacc::Identifiable
virtual const std::string name () const =0
 
virtual const std::string description () const =0
 
virtual ~Identifiable ()
 

Member Function Documentation

virtual OptionPairs xacc::Compiler::getOptions ( )
inlinevirtual

Return a Boost options_description instance that describes the options available for this derived subclass.

Reimplemented from xacc::OptionsProvider.

virtual bool xacc::Compiler::handleOptions ( const std::map< std::string, std::string > &  arg_map)
inlinevirtual

Given user-input command line options, perform some operation. Returns true if runtime should exit, false otherwise.

Parameters
mapThe mapping of options to values
Returns
exit True if exit, false otherwise

Reimplemented from xacc::OptionsProvider.


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