|
Maestro 0.3.11
Unified interface for quantum circuit simulation
|
#include "Factory.h"Go to the source code of this file.
Namespaces | |
| namespace | Simulators |
| Bounded online routing based on current physical bond dimensions. | |
| namespace | Simulators::FactoryBackends |
Macros | |
| #define | _SIMULATORS_FACTORY_BACKENDS_H_ |
Functions | |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateAerSimulator (SimulationType method) |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateCompositeSimulator (SimulatorType type) |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateImmediateCompositeSimulator (SimulatorType type) |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateQCSimImmediate (SimulationType method) |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateQCSimMPOImmediate () |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateQCSimMPSImmediate () |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateQCSimSimulator (std::unique_ptr< ISimulator > immediate) |
| std::unique_ptr< ISimulator > | Simulators::FactoryBackends::CreateQuestSimulator () |
Internal backend creators used by the simulator factory.
The simulator backends are header-only and expensive to compile, so they are instantiated in several translation units (Factory*.cpp) instead of all of them in Factory.cpp. This lets the parts compile in parallel and limits rebuilds to the part whose headers changed. Factory.cpp only dispatches to the functions declared here.
Some third party headers define non-inline symbols, which limits the split: everything that includes qiskit aer (also the composite simulators) must stay in FactoryAerComposite.cpp, and the qcsim MPS and MPO simulators must stay together in FactoryQCSimTensorChain.cpp.
All Factory*.cpp files in this folder must be compiled together.
Definition in file FactoryBackends.h.
| #define _SIMULATORS_FACTORY_BACKENDS_H_ |
Definition at line 26 of file FactoryBackends.h.