QCOR
All Classes Namespaces Functions Pages
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
qcor::AncQubitAllocator Class Reference
Inheritance diagram for qcor::AncQubitAllocator:
xacc::internal_compiler::AllocEventListener xacc::internal_compiler::QubitAllocator

Public Member Functions

virtual void onAllocate (xacc::internal_compiler::qubit *in_qubit) override
 
virtual void onDealloc (xacc::internal_compiler::qubit *in_qubit) override
 
virtual xacc::internal_compiler::qubit allocate () override
 
std::shared_ptr< xacc::AcceleratorBuffer > get_buffer ()
 

Static Public Attributes

static const std::string ANC_BUFFER_NAME = "aux_temp_buffer"
 

Protected Attributes

std::vector< xacc::internal_compiler::qubitm_qubitPool
 
std::vector< xacc::internal_compiler::qubit * > m_allocatedQubits
 
std::shared_ptr< xacc::AcceleratorBuffer > m_buffer
 

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