Maestro 0.3.11
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
Factory.cpp File Reference
#include "FactoryBackends.h"
Include dependency graph for Factory.cpp:

Go to the source code of this file.

Namespaces

namespace  Simulators
 Bounded online routing based on current physical bond dimensions.

Detailed Description

Version
1.0

DESCRIPTION

Simulator factory implementation

Call CreateSimulator with the desired simulator type to create a simulator returned as a shared pointer. Currently only two simulators are supported: qiskit aer and qcsim. Can be esily extended to support more simulators. Just implement the interface for another simulator, add its type to the enum and add another case to the switch statement.

This file only dispatches on the simulator type. The backends are created in the other Factory*.cpp files (see FactoryBackends.h), which must be compiled together with this one.

Definition in file Factory.cpp.