13 #ifndef XACC_QALLOC_HPP_ 14 #define XACC_QALLOC_HPP_ 19 class AcceleratorBuffer;
21 namespace internal_compiler {
22 using qubit = std::pair<std::string, std::size_t>;
32 qubit operator[](
const std::size_t i);
35 std::map<std::string, int> counts();
39 void addChild(
qreg& q);
40 void setName(
const char *name);
41 void setNameAndStore(
const char *name);
57 #define __qpu__ [[clang::syntax(qcor)]] __attribute__((annotate("quantum"))) Definition: Accelerator.hpp:25
Definition: qalloc.hpp:24
Definition: Observable.hpp:31
Definition: AcceleratorBuffer.hpp:117