Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
Factory.cpp File Reference
#include "simulators/statevector/qv_avx2.cpp"
#include "Factory.h"
#include "AerSimulator.h"
#include "QCSimSimulator.h"
#include "Composite.h"
#include "GpuSimulator.h"

Go to the source code of this file.

Namespaces

namespace  Simulators

Macros

#define _CRT_SECURE_NO_WARNINGS   1
#define _QV_AVX2_IMPL
#define INCLUDED_BY_FACTORY

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.

Definition in file Factory.cpp.

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS   1

Definition at line 16 of file Factory.cpp.

◆ _QV_AVX2_IMPL

#define _QV_AVX2_IMPL

Definition at line 21 of file Factory.cpp.

◆ INCLUDED_BY_FACTORY

#define INCLUDED_BY_FACTORY

Definition at line 32 of file Factory.cpp.