Loading...
Searching...
No Matches
MidpointTaylorAction.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
6#pragma once
7#include "GaussianSegments.h"
8
10// Endpoints are midpoint +/- displacement/2 in mass-weighted coordinates.
11// This is the classical action of one frozen local quadratic potential.
12double midpointTaylorAction(const Matrix &hessian, const Vector &gradient,
13 const Vector &displacement, double potential,
14 double duration);
15} // namespace gpr::quantum::gaussian
double midpointTaylorAction(const Matrix &hessian, const Vector &gradient, const Vector &displacement, double potential, double duration)