22 void setQubitBusy(
int qubit_index,
bool is_busy)
override;
31 std::vector<std::unique_ptr<IQubitRecord>>
qubits;
Interface of Logger class. Logger class that inherits ILogger is responsible for logging simulation r...
Definition ILogger.h:22
Interface for QNIC record.
Definition IQNicRecord.h:14
Definition QNicRecord.h:15
const QNIC_type type
Definition QNicRecord.h:26
const int index
Definition QNicRecord.h:25
qrsa::IQubitRecord * getQubit(int qubit_index) override
Definition QNicRecord.cc:34
int takeFreeQubitIndex() override
Definition QNicRecord.cc:25
int countNumFreeQubits() override
Definition QNicRecord.cc:15
~QNicRecord()
Definition QNicRecord.h:18
void setQubitBusy(int qubit_index, bool is_busy) override
Definition QNicRecord.cc:41
QNicRecord(utils::ComponentProvider &provider, int index, QNIC_type type, Logger::ILogger *logger=nullptr)
Definition QNicRecord.cc:8
std::vector< std::unique_ptr< IQubitRecord > > qubits
Definition QNicRecord.h:31
The QubitRecord interface.
Definition IQubitRecord.h:17
ComponentProvider class provides a way to access other quisp other modules.
Definition ComponentProvider.h:22
Definition IQNicRecord.h:6
QNIC_type
Definition QNIC.h:18