Loading...
Searching...
No Matches
AmplitudeContinuation.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
6#pragma once
7#include <optional>
8
9#include "PotentialPath.h"
10
11namespace gpr::quantum {
14 // A negative default selects the last constraint column.
15 Eigen::Index amplitudeColumn{-1};
16 double lowerFactor{1}, upperFactor{4};
17 std::size_t maximumSamples{12};
18};
19
21 double coordinate{};
22 std::optional<double> forceOverCoordinate;
23 std::optional<double> phasePlaneForce;
25};
26
28 std::vector<AmplitudeSample> samples;
29 std::size_t selected{};
32 std::string failure;
34 {
35 return samples.at(selected).path;
36 }
37};
38
50AmplitudeContinuationResult continuePotentialPathAmplitude(
51 const std::vector<Eigen::VectorXd>& initial, const MassMetric& metric,
52 const PathPotential& potential, const AffinePathBoundary& boundary,
53 const PathConstraints& constraints,
54 const AmplitudeContinuationOptions& options = {});
55
63AmplitudeContinuationResult continuePotentialPathAmplitudeInPhasePlane(
64 const std::vector<Eigen::VectorXd>& initial, const MassMetric& metric,
65 const PathPotential& potential, const AffinePathBoundary& boundary,
66 const PathConstraints& constraints, Eigen::Index phaseColumn,
67 const AmplitudeContinuationOptions& options = {});
68} // namespace gpr::quantum
Models for quantum-path (instanton) searches: arc and tail actions, amplitude continuation.
AmplitudeContinuationResult continuePotentialPathAmplitudeInPhasePlane(const std::vector< Eigen::VectorXd > &initial, const MassMetric &metric, const PathPotential &potential, const AffinePathBoundary &boundary, const PathConstraints &constraints, Eigen::Index phaseColumn, const AmplitudeContinuationOptions &options)
AmplitudeContinuationResult continuePotentialPathAmplitude(const std::vector< Eigen::VectorXd > &initial, const MassMetric &metric, const PathPotential &potential, const AffinePathBoundary &boundary, const PathConstraints &constraints, const AmplitudeContinuationOptions &options)
const PotentialPathResult & solution() const
std::optional< double > forceOverCoordinate
std::optional< double > phasePlaneForce