virtual xacc::quantum::QuilCompiler::~QuilCompiler |
( |
| ) |
|
|
inlinevirtual |
std::shared_ptr< IR > xacc::quantum::QuilCompiler::compile |
( |
const std::string & |
src, |
|
|
std::shared_ptr< Accelerator > |
acc |
|
) |
| |
|
virtual |
Translate Quil to the XACC intermediate representation.
- Returns
- ir XACC intermediate representation
Implements xacc::Compiler.
std::shared_ptr< IR > xacc::quantum::QuilCompiler::compile |
( |
const std::string & |
src | ) |
|
|
virtual |
virtual const std::string xacc::quantum::QuilCompiler::description |
( |
| ) |
const |
|
inlinevirtual |
Return the description of this instance
- Returns
- description The description of this object.
Implements xacc::Identifiable.
virtual const std::string xacc::quantum::QuilCompiler::name |
( |
| ) |
const |
|
inlinevirtual |
Return the name of this instance.
- Returns
- name The string name
Implements xacc::Identifiable.
const std::string xacc::quantum::QuilCompiler::translate |
( |
std::shared_ptr< CompositeInstruction > |
function | ) |
|
|
virtual |
This produces a Quil source code representation of the given IR Function
- Parameters
-
function | The XACC IR Function to translate |
- Returns
- src The source code as a string
Implements xacc::Compiler.
The documentation for this class was generated from the following files:
- /home/cades/dev/xacc/quantum/plugins/rigetti/compiler/QuilCompiler.hpp
- /home/cades/dev/xacc/quantum/plugins/rigetti/compiler/QuilCompiler.cpp