QuISP
|
#include <test.h>
Public Member Functions | |
Backend (std::unique_ptr< IRandomNumberGenerator > rng, std::unique_ptr< StationaryQubitConfiguration > config) | |
IQubit * | createQubit (int id) |
IQubit * | getQubit (int id) |
IQubit * | createQubitInternal (const IQubitId *id) |
IQubit * | getQubitInternal (const IQubitId *id) |
![]() | |
GraphStateBackend (std::unique_ptr< IRandomNumberGenerator > rng, std::unique_ptr< StationaryQubitConfiguration > configuration) | |
GraphStateBackend (std::unique_ptr< IRandomNumberGenerator > rng, std::unique_ptr< StationaryQubitConfiguration > configuration, ICallback *callback) | |
~GraphStateBackend () | |
IQubit * | createQubit (const IQubitId *id, std::unique_ptr< IConfiguration > conf) override |
IQubit * | createQubit (const IQubitId *id) override |
IQubit * | createShortLiveQubit () override |
IQubit * | getQubit (const IQubitId *id) override |
IQubit * | getShortLiveQubit () override |
void | returnToPool (IQubit *) override |
void | deleteQubit (const IQubitId *id) override |
std::unique_ptr< IConfiguration > | getDefaultConfiguration () const override |
const SimTime & | getSimTime () override |
void | setSimTime (SimTime time) override |
double | dblrand () |
![]() | |
IQuantumBackend () | |
virtual | ~IQuantumBackend () |
Additional Inherited Members | |
![]() | |
std::unordered_map< const IQubitId *, std::unique_ptr< GraphStateQubit >, IQubitId::Hash, IQubitId::Pred > | qubits |
SimTime | current_time |
const std::unique_ptr< IRandomNumberGenerator > | rng |
std::unique_ptr< StationaryQubitConfiguration > | config |
ICallback * | callback = nullptr |
std::deque< IQubit * > | short_live_qubit_pool |
int | short_live_qubit_pool_size |
|
inline |
|
inline |
|
inline |
|
inline |