Maestro
0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
EstimatorInterface.h
Go to the documentation of this file.
1
9
10
#pragma once
11
12
#ifndef __ESTIMATOR_INTERFACE_H_
13
#define __ESTIMATOR_INTERFACE_H_
14
15
#include "
Simulators/Simulator.h
"
16
17
#include <string>
18
#include <vector>
19
20
namespace
Estimators
{
21
34
class
EstimatorInterface
{
35
public
:
36
virtual
~EstimatorInterface
() =
default
;
37
38
virtual
double
EstimateTime
(
Simulators::SimulatorType
type,
39
Simulators::SimulationType
method)
const
= 0;
40
virtual
double
41
EstimateExpectationValuesTime
(
Simulators::SimulatorType
type,
42
Simulators::SimulationType
method,
43
const
std::vector<std::string> &paulis) = 0;
44
};
45
}
// namespace Estimators
46
47
#endif
// !__ESTIMATOR_INTERFACE_H_
Simulator.h
Estimators::EstimatorInterface
An interface for various runtime estimators.
Definition
EstimatorInterface.h:34
Estimators::EstimatorInterface::EstimateExpectationValuesTime
virtual double EstimateExpectationValuesTime(Simulators::SimulatorType type, Simulators::SimulationType method, const std::vector< std::string > &paulis)=0
Estimators::EstimatorInterface::EstimateTime
virtual double EstimateTime(Simulators::SimulatorType type, Simulators::SimulationType method) const =0
Estimators::EstimatorInterface::~EstimatorInterface
virtual ~EstimatorInterface()=default
Estimators
Definition
EstimatorInterface.h:20
Simulators::SimulationType
SimulationType
The type of simulation.
Definition
State.h:82
Simulators::SimulatorType
SimulatorType
The type of simulator.
Definition
State.h:63
Estimators
EstimatorInterface.h
Generated on
for Maestro by
1.15.0