26 template <
typename... Ts>
31 return std::make_shared<QEngineCPU>(args...);
34 return std::make_shared<QEngineOCL>(args...);
37 return std::make_shared<QUnit>(subengine, args...);
Create a QEngineOCL, derived from QEngineCPU, leveraging OpenCL hardware to increase the speed of cer...
Definition: qinterface.hpp:52
QInterfaceEngine
Enumerated list of supported engines.
Definition: qinterface.hpp:42
Create a QUnit, which utilizes other QInterface classes to minimize the amount of work that's needed ...
Definition: qinterface.hpp:62
QInterfacePtr CreateQuantumInterface(QInterfaceEngine engine, QInterfaceEngine subengine, Ts...args)
Factory method to create specific engine implementations.
Definition: qfactory.hpp:27
std::shared_ptr< QInterface > QInterfacePtr
Definition: qinterface.hpp:34
Definition: complex16simd.hpp:21
Create a QEngineCPU leveraging only local CPU and memory resources.
Definition: qinterface.hpp:47