Class GradientByHalfPi¶
Defined in File differential.hpp
Inheritance Relationships¶
Base Type¶
public QuantumCircuitGradientDifferentiation
(Class QuantumCircuitGradientDifferentiation)
Class Documentation¶
-
class GradientByHalfPi : public QuantumCircuitGradientDifferentiation¶
Public Functions
-
virtual double compute_gradient(ParametricQuantumCircuitSimulator *sim, const EnergyMinimizationProblem *instance, const std::vector<double> ¶meter, std::vector<double> *gradient) override¶
-
virtual double compute_gradient(ParametricQuantumCircuitSimulator *sim, const EnergyMinimizationProblem *instance, const std::vector<double> ¶meter, std::vector<double> *gradient) override¶