16#define _CRT_SECURE_NO_WARNINGS 1
23#pragma warning(disable : 4789)
24#include "simulators/statevector/qv_avx2.cpp"
32#define INCLUDED_BY_FACTORY
44 auto sim = std::make_unique<Private::AerSimulator>();
46 sim->Configure(
"method",
"matrix_product_state");
48 sim->Configure(
"method",
"stabilizer");
50 sim->Configure(
"method",
"tensor_network");
52 sim->Configure(
"method",
"extended_stabilizer");
54 sim->Configure(
"method",
"density_matrix");
56 sim->Configure(
"method",
"statevector");
58 throw std::invalid_argument(
"Simulation Type not supported for Qiskit Aer");
66 return std::make_unique<Private::CompositeSimulator>(type);
71 return std::make_unique<Private::ImmediateCompositeSimulator>(type);
std::unique_ptr< ISimulator > CreateAerSimulator(SimulationType method)
std::unique_ptr< ISimulator > CreateCompositeSimulator(SimulatorType type)
std::unique_ptr< ISimulator > CreateImmediateCompositeSimulator(SimulatorType type)
SimulationType
The type of simulation.
@ kExtendedStabilizer
Extended stabilizer simulation type.
@ kStatevector
statevector simulation type
@ kMatrixProductState
matrix product state simulation type
@ kDensityMatrix
Density matrix simulation type.
@ kStabilizer
Clifford gates simulation type.
@ kTensorNetwork
Tensor network simulation type.
SimulatorType
The type of simulator.