13 #ifndef XACC_STAQCOMPILER_HPP 14 #define XACC_STAQCOMPILER_HPP 16 #include "Compiler.hpp" 25 std::shared_ptr<xacc::IR> compile(
const std::string &src,
26 std::shared_ptr<Accelerator> acc)
override;
28 std::shared_ptr<xacc::IR> compile(
const std::string &src)
override;
29 bool canParse(
const std::string& src)
override;
32 translate(std::shared_ptr<CompositeInstruction>
function)
override;
34 const std::string translate(std::shared_ptr<CompositeInstruction> program,
37 const std::string
name()
const override {
return "staq"; }
const std::string description() const override
Definition: staq_compiler.hpp:39
Definition: Accelerator.hpp:25
const std::string name() const override
Definition: staq_compiler.hpp:37
Definition: heterogeneous.hpp:45
Definition: Compiler.hpp:24
Definition: staq_compiler.hpp:20
bool canParse(const std::string &src) override
Definition: staq_compiler.cpp:38