.. index:: pair: namespace; gpr::quantum .. _doxid-namespacegpr_1_1quantum: namespace gpr::quantum ====================== .. toctree:: :hidden: namespace_gpr_quantum_bathresponse.rst namespace_gpr_quantum_beadcorrection.rst namespace_gpr_quantum_elementfluct.rst namespace_gpr_quantum_functionaldesign.rst namespace_gpr_quantum_gaussian.rst namespace_gpr_quantum_ratepost.rst namespace_gpr_quantum_ringbath.rst namespace_gpr_quantum_ringspread.rst namespace_gpr_quantum_spectraldet.rst enum_gpr_quantum_LineIntegralAction.rst enum_gpr_quantum_LineIntegralProposalAcceptance.rst enum_gpr_quantum_ReferenceDiscretization.rst struct_gpr_quantum_AffineGaussianArcOptions.rst struct_gpr_quantum_AffinePathBoundary.rst struct_gpr_quantum_AmplitudeContinuationOptions.rst struct_gpr_quantum_AmplitudeContinuationResult.rst struct_gpr_quantum_AmplitudeSample.rst struct_gpr_quantum_ArcTailEvaluation.rst struct_gpr_quantum_ArcTailForceGradientData.rst struct_gpr_quantum_ArcTailNewtonStep.rst struct_gpr_quantum_ArcTailPotential.rst struct_gpr_quantum_ArcTailSearchOptions.rst struct_gpr_quantum_ArcTailSearchResult.rst struct_gpr_quantum_CentralHessianColumnBatch.rst struct_gpr_quantum_ConstrainedFamilyPoint.rst struct_gpr_quantum_ConstrainedImaginaryTimeSample.rst struct_gpr_quantum_ConstrainedImaginaryTimeTrajectory.rst struct_gpr_quantum_ConstrainedQuantumBandBranch.rst struct_gpr_quantum_CyclicQuarticReduction.rst struct_gpr_quantum_CyclicSoftMode.rst struct_gpr_quantum_GPArcTailOptions.rst struct_gpr_quantum_GPArcTailResult.rst struct_gpr_quantum_GPBandNodeScore.rst struct_gpr_quantum_GPLineIntegralNEBOptions.rst struct_gpr_quantum_GPLineIntegralNEBResult.rst struct_gpr_quantum_GaussianLaw.rst struct_gpr_quantum_GaussianMoment.rst struct_gpr_quantum_GaussianPolynomialMoments.rst struct_gpr_quantum_HarmonicLinkEvaluation.rst struct_gpr_quantum_HarmonicPointCurvature.rst struct_gpr_quantum_HarmonicPointInertia.rst struct_gpr_quantum_HarmonicTail.rst struct_gpr_quantum_IndexTargetedArcKernel.rst struct_gpr_quantum_IsoenergyTurningPointRefinement.rst struct_gpr_quantum_JacobiPathEvaluation.rst struct_gpr_quantum_JacobiSegment.rst struct_gpr_quantum_JacobiTurningPoint.rst struct_gpr_quantum_LineIntegralFIREState.rst struct_gpr_quantum_LineIntegralFeasibilityResult.rst struct_gpr_quantum_LineIntegralNEBOptions.rst struct_gpr_quantum_LineIntegralNEBResult.rst struct_gpr_quantum_LineIntegralNEBState.rst struct_gpr_quantum_LineIntegralOrbit.rst struct_gpr_quantum_MolecularBlockFluctuations.rst struct_gpr_quantum_MolecularRingFluctuations.rst struct_gpr_quantum_NativeNewtonKrylovResult.rst struct_gpr_quantum_PathConstraints.rst struct_gpr_quantum_PathIteration.rst struct_gpr_quantum_PathPotential.rst struct_gpr_quantum_PolynomialTerm.rst struct_gpr_quantum_PotentialEvaluation.rst struct_gpr_quantum_PotentialPathOptions.rst struct_gpr_quantum_PotentialPathResult.rst struct_gpr_quantum_ReducedGaussianGLEResult.rst struct_gpr_quantum_ReducedGaussianSegmentResult.rst struct_gpr_quantum_ReferenceForceGradientValue.rst struct_gpr_quantum_SaddleFamilyPoint.rst struct_gpr_quantum_SphereEnergyProjection.rst struct_gpr_quantum_SurrogatePathTrustDecision.rst struct_gpr_quantum_ThermalJacobiPeriod.rst struct_gpr_quantum_TwistedConstraintStep.rst struct_gpr_quantum_ZeroEnergyGeodesicEvaluation.rst struct_gpr_quantum_ZeroEnergyGeodesicOptions.rst struct_gpr_quantum_ZeroEnergyGeodesicPotential.rst struct_gpr_quantum_ZeroEnergyGeodesicResult.rst class_gpr_quantum_AffineGaussianArcModel.rst class_gpr_quantum_AffineGaussianJet.rst class_gpr_quantum_ArcTailAction.rst class_gpr_quantum_CartesianNaturalCubicPath.rst class_gpr_quantum_HarmonicPathCorrection.rst class_gpr_quantum_HarmonicReference.rst class_gpr_quantum_HarmonicTurningTail.rst class_gpr_quantum_LineIntegralGPModel.rst class_gpr_quantum_MassMetric.rst class_gpr_quantum_NativeGPPath.rst class_gpr_quantum_PositiveArcAction.rst class_gpr_quantum_QuadraticMeanGPModel.rst class_gpr_quantum_ReflectedSearchCache.rst class_gpr_quantum_SearchKktFactor.rst class_gpr_quantum_ThermalGeodesicSeed.rst class_gpr_quantum_WellJetCorrection.rst Overview ~~~~~~~~ Models for quantum-path (instanton) searches: arc and tail actions, amplitude continuation. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace quantum { // namespaces namespace :ref:`gpr::quantum::bathresponse`; namespace :ref:`gpr::quantum::beadcorrection`; namespace :ref:`gpr::quantum::elementfluct`; namespace :ref:`gpr::quantum::functionaldesign`; namespace :ref:`gpr::quantum::gaussian`; namespace :ref:`gpr::quantum::ratepost`; namespace :ref:`gpr::quantum::ringbath`; namespace :ref:`gpr::quantum::ringspread`; namespace :ref:`gpr::quantum::spectraldet`; // typedefs typedef std::vector<:ref:`PolynomialTerm`> :target:`SparsePolynomial`; typedef std::function`>(const std::vector&)> :target:`LineIntegralNEBBatch`; typedef Eigen::VectorXd :target:`Vector`; typedef Eigen::MatrixXd :target:`Matrix`; typedef Eigen::SparseMatrix :target:`SearchSparseMatrix`; // enums enum :ref:`LineIntegralAction`; enum :ref:`LineIntegralProposalAcceptance`; enum :ref:`ReferenceDiscretization`; // structs struct :ref:`AffineGaussianArcOptions`; struct :ref:`AffinePathBoundary`; struct :ref:`AmplitudeContinuationOptions`; struct :ref:`AmplitudeContinuationResult`; struct :ref:`AmplitudeSample`; struct :ref:`ArcTailEvaluation`; struct :ref:`ArcTailForceGradientData`; struct :ref:`ArcTailNewtonStep`; struct :ref:`ArcTailPotential`; struct :ref:`ArcTailSearchOptions`; struct :ref:`ArcTailSearchResult`; struct :ref:`CentralHessianColumnBatch`; struct :ref:`ConstrainedFamilyPoint`; struct :ref:`ConstrainedImaginaryTimeSample`; struct :ref:`ConstrainedImaginaryTimeTrajectory`; struct :ref:`ConstrainedQuantumBandBranch`; struct :ref:`CyclicQuarticReduction`; struct :ref:`CyclicSoftMode`; struct :ref:`GPArcTailOptions`; struct :ref:`GPArcTailResult`; struct :ref:`GPBandNodeScore`; struct :ref:`GPLineIntegralNEBOptions`; struct :ref:`GPLineIntegralNEBResult`; struct :ref:`GaussianLaw`; struct :ref:`GaussianMoment`; struct :ref:`GaussianPolynomialMoments`; struct :ref:`HarmonicLinkEvaluation`; struct :ref:`HarmonicPointCurvature`; struct :ref:`HarmonicPointInertia`; struct :ref:`HarmonicTail`; struct :ref:`IndexTargetedArcKernel`; struct :ref:`IsoenergyTurningPointRefinement`; struct :ref:`JacobiPathEvaluation`; struct :ref:`JacobiSegment`; struct :ref:`JacobiTurningPoint`; struct :ref:`LineIntegralFIREState`; struct :ref:`LineIntegralFeasibilityResult`; struct :ref:`LineIntegralNEBOptions`; struct :ref:`LineIntegralNEBResult`; struct :ref:`LineIntegralNEBState`; struct :ref:`LineIntegralOrbit`; struct :ref:`MolecularBlockFluctuations`; struct :ref:`MolecularRingFluctuations`; struct :ref:`NativeNewtonKrylovResult`; struct :ref:`PathConstraints`; struct :ref:`PathIteration`; struct :ref:`PathPotential`; struct :ref:`PolynomialTerm`; struct :ref:`PotentialEvaluation`; struct :ref:`PotentialPathOptions`; struct :ref:`PotentialPathResult`; struct :ref:`ReducedGaussianGLEResult`; struct :ref:`ReducedGaussianSegmentResult`; struct :ref:`ReferenceForceGradientValue`; struct :ref:`SaddleFamilyPoint`; struct :ref:`SphereEnergyProjection`; struct :ref:`SurrogatePathTrustDecision`; struct :ref:`ThermalJacobiPeriod`; struct :ref:`TwistedConstraintStep`; struct :ref:`ZeroEnergyGeodesicEvaluation`; struct :ref:`ZeroEnergyGeodesicOptions`; struct :ref:`ZeroEnergyGeodesicPotential`; struct :ref:`ZeroEnergyGeodesicResult`; // classes class :ref:`AffineGaussianArcModel`; class :ref:`AffineGaussianJet`; class :ref:`ArcTailAction`; class :ref:`CartesianNaturalCubicPath`; class :ref:`HarmonicPathCorrection`; class :ref:`HarmonicReference`; class :ref:`HarmonicTurningTail`; class :ref:`LineIntegralGPModel`; class :ref:`MassMetric`; template class :ref:`NativeGPPath`; class :ref:`PositiveArcAction`; template class :ref:`QuadraticMeanGPModel`; class :ref:`ReflectedSearchCache`; template > class :ref:`SearchKktFactor`; class :ref:`ThermalGeodesicSeed`; class :ref:`WellJetCorrection`; // global functions :ref:`AmplitudeContinuationResult` :ref:`continuePotentialPathAmplitude`(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, const :ref:`AmplitudeContinuationOptions`& options = {}); :ref:`AmplitudeContinuationResult` :ref:`continuePotentialPathAmplitudeInPhasePlane`(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, Eigen::Index phaseColumn, const :ref:`AmplitudeContinuationOptions`& options = {}); template :ref:`ArcTailForceGradientData` :target:`prepareArcTailForceGradient`(const Action& action, const std::vector& points, double duration, const std::vector<:ref:`PotentialEvaluation`>& native, const :ref:`ArcTailPotential`& potential, const :ref:`ArcTailSearchOptions`& options, const std::function`>(const std::vector&)>& ownedEvaluate); template :ref:`ArcTailEvaluation` :target:`evaluateArcTailForceGradient`(const Action& action, const std::vector& points, const std::vector<:ref:`PotentialEvaluation`>& native, double duration, const :ref:`ArcTailForceGradientData`& data, const std::vector& searchHessians = {}, const std::vector& searchThirdContractions = {}); :ref:`ArcTailNewtonStep` :target:`solveArcTailNewton`(const :ref:`ArcTailEvaluation`& state, const std::vector& normals, const V& correction); :ref:`ArcTailNewtonStep` :target:`solveArcTailNewton`(const :ref:`ArcTailEvaluation`& evaluation, const std::vector& orthonormalNormals, const Eigen::VectorXd& constraintCorrection); :ref:`ArcTailSearchResult` :target:`optimizeArcTail`(const :ref:`ArcTailAction`& action, const std::vector& initial, double duration, const :ref:`PathConstraints`& constraints, const :ref:`ArcTailPotential`& potential, const :ref:`ArcTailSearchOptions`& options, const std::function`&)>& retain); :ref:`ArcTailSearchResult` :target:`optimizeArcTail`(const :ref:`ArcTailAction`& action, const std::vector& initial, double initialArcDuration, const :ref:`PathConstraints`& constraints, const :ref:`ArcTailPotential`& potential, const :ref:`ArcTailSearchOptions`& options = {}, const std::function`&)>& retain = {}); Eigen::MatrixXd :ref:`boundedStationaryBathReference`(const Eigen::MatrixXd& saddleCurvature, const Eigen::MatrixXd& reactionDirections); void :ref:`evaluateCentralHessianColumns`(const std::vector& centers, const std::vector& columns, double step, const :ref:`PathPotential`& potential, const std::function`&)>& retain); double :ref:`logConstraintFamilyJacobian`(const Eigen::MatrixXd& normals, const std::vector& normalDerivatives, const Eigen::MatrixXd& targetDerivatives, const Eigen::VectorXd& point); double :ref:`logImFConstrainedFamilyRate`(double referenceAction, const :ref:`gaussian::TwistedTraceResult`& reference, const std::vector<:ref:`ConstrainedFamilyPoint`>& family, Eigen::Index retainedCoordinates, double hbar, double symmetryFactor = 1); template :ref:`IsoenergyTurningPointRefinement` :target:`refineIsoenergyTurningPoints`(const std::vector& cartesianPath, double contourEnergy, NativeEvaluate&& evaluate, NativeEnergy&& nativeEnergy, std::size_t maximumIterations = 32, double maximumStepBohr = .1, double energyTolerance = 1e-12); template :ref:`ConstrainedImaginaryTimeTrajectory` :target:`integrateConstrainedImaginaryTimePath`(const std::vector& cartesianPath, const Eigen::VectorXd& masses, NativeEvaluate&& evaluate, NativeEnergy&& nativeEnergy, double timeStep = 4., double boltzmann = 3.1668152e-6, std::size_t maximumSteps = 1000000, double endTolerance = 1e-3); std::vector :target:`sampleBondCenteredImaginaryTimeRing`(const :ref:`ConstrainedImaginaryTimeTrajectory`& trajectory, std::size_t fullBeads); double :target:`affineQuantumBandLogCoarea`(const Eigen::MatrixXd& constraintGradients); :ref:`ConstrainedQuantumBandBranch` :target:`constrainedQuantumBandBranch`(double action, const :ref:`gaussian::TwistedRestrictedResult`& fluctuations, Eigen::Index physicalCodimension, Eigen::Index integratedChartDimensions, double quadratureWeight, double logCoareaJacobian); :ref:`ConstrainedQuantumBandBranch` :target:`affineConstrainedQuantumBandBranch`(double action, const :ref:`gaussian::TwistedRestrictedResult`& fluctuations, const Eigen::MatrixXd& constraintGradients, double quadratureWeight = 1.); :ref:`ConstrainedQuantumBandBranch` :target:`affineConstrainedQuantumBandBranch`(double action, const :ref:`gaussian::TwistedRestrictedResult`& fluctuations, const Eigen::VectorXd& constraintGradient, double quadratureWeight = 1.); double :target:`logConstrainedQuantumBandWeight`(const std::vector<:ref:`ConstrainedQuantumBandBranch`>& branches, double beta, double hbar); double :target:`constrainedQuantumBandFreeEnergyDifference`(double logWeight, double referenceLogWeight, double beta); :ref:`CyclicSoftMode` :ref:`cyclicSoftMode`(const :ref:`gaussian::Segment`& link, std::size_t nodes); :ref:`CyclicQuarticReduction` :target:`cyclicQuarticReduction`(const :ref:`gaussian::Segment`& link, std::size_t nodes, const V& cubic, double fourth); std::vector :target:`cyclicQuarticSeed`(const :ref:`CyclicQuarticReduction`& reduction, double phase); :ref:`CyclicQuarticReduction` :ref:`cyclicQuarticReduction`(const :ref:`gaussian::Segment`& link, std::size_t nodes, const Eigen::VectorXd& cubicVV, double quarticVVVV); :ref:`ArcTailNewtonStep` :target:`solveFixedTimeArcNewton`(const :ref:`ArcTailEvaluation`& state, const std::vector& normals, const Eigen::VectorXd& correction); :ref:`ArcTailSearchOptions` :target:`fixedTimeArcOptions`(); template :ref:`ArcTailSearchResult` :target:`optimizeFixedTimeArc`(const Action& action, const std::vector& initial, double duration, const :ref:`PathConstraints`& constraints, const :ref:`ArcTailPotential`& potential, const :ref:`ArcTailSearchOptions`& options = :ref:`fixedTimeArcOptions`(), const std::function`&)>& retain = {}, double maximumDisplacement = std::numeric_limits::infinity()); :ref:`gaussian::Segment` :ref:`frequencyFittedKinetic`(const Eigen::MatrixXd& curvature, double duration); long double :target:`weightedEventBound`(const :ref:`GaussianPolynomialMoments`& moments, long double probabilityBound); :ref:`GaussianPolynomialMoments` :target:`evaluateGaussianPolynomial`(const :ref:`GaussianLaw`& law, const :ref:`SparsePolynomial`& polynomial, std::optional eventProbabilityBound); Eigen::VectorXd :target:`geodesicMeshConstraints`(const std::vector& path, const std::vector& weights = {}); std::vector :ref:`retractGeodesicMesh`(const std::vector& path, const std::vector& weights, double tolerance, const Eigen::VectorXd& target = {}); :ref:`ZeroEnergyGeodesicPotential` :target:`restrictGeodesicProposal`(:ref:`ZeroEnergyGeodesicPotential` model, std::vector center, double radius); template :ref:`GPArcTailResult` :target:`optimizeGPArcTail`(const Action& action, const std::vector& initial, double duration, const :ref:`PathConstraints`& constraints, const :ref:`ArcTailPotential`& potential, Model& model, const :ref:`GPArcTailOptions`& options = {}, const std::function`&)>& retain = {}); bool :target:`sameGPBandPoint`(const Eigen::VectorXd& left, const Eigen::VectorXd& right); std::vector<:ref:`GPBandNodeScore`> :target:`selectGPBandNodes`(const std::vector& points, const std::vector& massGradientVariance, const Eigen::VectorXd& weights, const std::vector& measured, std::size_t maximumNodes); std::vector :target:`lineIntegralSIDPPSeed`(:ref:`neb::NEBPath`& physicalBand, int atoms, const std::vector& moving, const :ref:`MassMetric`& metric, double alpha = .33); template :ref:`GPLineIntegralNEBResult` :target:`optimizeGPLineIntegralNEB`(const std::vector& initial, const :ref:`LineIntegralNEBBatch`& potential, Model& model, const :ref:`GPLineIntegralNEBOptions`& options = {}, const std::function`&)>& retain = {}); Eigen::MatrixXd :ref:`stationaryBathReference`(const Eigen::MatrixXd& saddleCurvature, const Eigen::MatrixXd& reactionDirections); :ref:`IndexTargetedArcKernel` :target:`indexOneArcKernel`(const std::vector<:ref:`gaussian::Segment`>& segments, const Eigen::MatrixXd& normal); double :target:`quadraticArcActionChange`(const :ref:`ArcTailEvaluation`& state, const std::vector& displacement); bool :target:`arcActionChangeAgrees`(double actual, double predicted, double scale); :ref:`JacobiSegment` :target:`jacobiSegment`(const Eigen::VectorXd& left, const Eigen::VectorXd& right, const :ref:`PotentialEvaluation`& vl, const :ref:`PotentialEvaluation`& vr, double energy); :ref:`JacobiPathEvaluation` :target:`evaluateJacobiPath`(const std::vector& points, const std::vector<:ref:`PotentialEvaluation`>& native, double energy); :ref:`JacobiTurningPoint` :target:`findJacobiTurningPoint`(const Eigen::VectorXd& left, const Eigen::VectorXd& right, double energy, const std::function<:ref:`PotentialEvaluation`(const Eigen::VectorXd&)>& evaluate, double energyTolerance = 1e-9, std::size_t maximumEvaluations = 64); :ref:`LineIntegralNEBState` :target:`evaluateLineIntegralNEB`(const std::vector& q, const std::vector<:ref:`PotentialEvaluation`>& values, double energy, double spring = 1., double contour = 10., double hbar = 1., :ref:`LineIntegralAction` action = :ref:`LineIntegralAction::MomentumTrapezoid`, bool jctcCompatible = false, double contourRight = 0., double actionForceCutoff = 1e-4); std::vector :target:`lineIntegralSearchForces`(const std::vector& q, const std::vector<:ref:`PotentialEvaluation`>& values, const :ref:`LineIntegralNEBState`& state, const :ref:`LineIntegralNEBOptions`& options); :ref:`LineIntegralFeasibilityResult` :target:`restoreLineIntegralInterior`(std::vector& trial, std::vector<:ref:`PotentialEvaluation`>& values, const std::vector<:ref:`PotentialEvaluation`>& source, const :ref:`LineIntegralNEBOptions`& options, const :ref:`LineIntegralNEBBatch`& native, std::size_t maximumCorrections = 4); :ref:`LineIntegralNEBResult` :target:`optimizeLineIntegralNEB`(const std::vector& initial, const :ref:`LineIntegralNEBBatch`& potential, const :ref:`LineIntegralNEBOptions`& options = {}, const std::function`&)>& retain = {}, :ref:`LineIntegralFIREState`* fireState = nullptr, const std::function&)>& earlyStop = {}); :ref:`LineIntegralOrbit` :target:`lineIntegralOrbit`(const :ref:`LineIntegralNEBResult`& result, double energy, std::size_t beads, double hbar = 1., double boltzmann = 1., double tolerance = 1e-8); std::vector :target:`reparameterizeLineIntegralString`(const std::vector& path); std::vector :target:`lineIntegralStringActionForces`(const std::vector& q, const std::vector<:ref:`PotentialEvaluation`>& values, double energy, double hbar, :ref:`LineIntegralAction` action); :ref:`LineIntegralNEBState` :target:`evaluateLineIntegralString`(const std::vector& q, const std::vector<:ref:`PotentialEvaluation`>& values, double energy, double spring = 1., double contour = 10., double hbar = 1., :ref:`LineIntegralAction` action = :ref:`LineIntegralAction::MomentumTrapezoid`); bool :target:`lineIntegralStringNeedsReparameterization`(const std::vector& path); :ref:`LineIntegralNEBResult` :target:`optimizeLineIntegralString`(const std::vector& initial, const :ref:`LineIntegralNEBBatch`& potential, const :ref:`LineIntegralNEBOptions`& options = {}, const std::function`&)>& retain = {}, :ref:`LineIntegralFIREState`* fireState = nullptr); :ref:`MolecularBlockFluctuations` :target:`molecularBlockFluctuations`(const std::vector& positions, const Eigen::VectorXd& masses, const std::vector& physicalHessians, double beta, double hbar = 1); double :target:`molecularBlockLogTunnelingFactor`(const :ref:`MolecularBlockFluctuations`& ring, const Eigen::VectorXd& saddleCurvatures, double saddleLogInertia, double actionRelativeToSaddleOverHbar, double beta, double hbar = 1); double :target:`molecularBlockLogUnimolecularRate`(const :ref:`MolecularBlockFluctuations`& ring, const Eigen::VectorXd& reactantCurvatures, double reactantLogInertia, double actionRelativeToReactantOverHbar, std::size_t nodes, double beta, double hbar = 1, double symmetryFactor = 1); :ref:`Matrix` :target:`molecularRigidModes`(const :ref:`Vector`& x, const :ref:`Vector`& masses); :ref:`Matrix` :target:`molecularInternalBasis`(const :ref:`Vector`& x, const :ref:`Vector`& masses); double :target:`molecularLogInertiaDeterminant`(const Eigen::VectorXd& positions, const Eigen::VectorXd& masses, double copies = 1); :ref:`MolecularRingFluctuations` :target:`molecularRingFluctuations`(const std::vector& positions, const Eigen::VectorXd& masses, const std::vector& physicalHessians, double beta, double hbar = 1); double :target:`molecularLogTstVibrationalPartition`(const Eigen::VectorXd& eigenvalues, double beta, double hbar = 1); double :target:`molecularLogHarmonicRingPartition`(const Eigen::VectorXd& curvatures, std::size_t nodes, double beta, double hbar = 1); double :target:`molecularLogUnimolecularRate`(const :ref:`MolecularRingFluctuations`& ring, const Eigen::VectorXd& reactantInternalCurvatures, double reactantLogInertiaDeterminant, double actionRelativeToReactantOverHbar, std::size_t nodes, double beta, double hbar = 1, double symmetryFactor = 1); double :target:`molecularLogTunnelingFactor`(const :ref:`MolecularRingFluctuations`& ring, const Eigen::VectorXd& saddleInternalEigenvalues, double saddleLogInertiaDeterminant, double actionRelativeToSaddleOverHbar, double beta, double hbar = 1); :ref:`NativeNewtonKrylovResult` :target:`refineNativeNewtonStep`(const std::function& jacobian, const std::function& preconditioner, const Eigen::VectorXd& rhs, const Eigen::VectorXd& initial, double relativeTolerance = .1, std::size_t maximumIterations = 24); :ref:`AffinePathBoundary` :target:`physicalPathBoundary`(const :ref:`MassMetric`& m, const :ref:`Matrix`& linear, const :ref:`Vector`& translation); :ref:`PotentialPathResult` :target:`optimizePotentialPath`(const Nodes& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, const :ref:`PotentialPathOptions`& options); :ref:`PotentialPathResult` :ref:`optimizePotentialPath`(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, const :ref:`PotentialPathOptions`& options = {}); :ref:`ReducedGaussianSegmentResult` :target:`reduceGaussianSegmentsGLE`(const std::vector<:ref:`gaussian::Segment`>& segments, const Eigen::MatrixXd& activeBasis, double unresolvedTolerance = 1e-12); :ref:`gaussian::TwistedTraceResult` :target:`reducedGaussianSegmentGLETrace`(const :ref:`ReducedGaussianSegmentResult`& reduced); :ref:`gaussian::TwistedRestrictedResult` :target:`reducedGaussianSegmentGLERestrictedTrace`(const :ref:`ReducedGaussianSegmentResult`& reduced, const Eigen::VectorXd& phaseNormal, double unresolvedTolerance = 1e-12); :ref:`ReducedGaussianGLEResult` :target:`reducePeriodicGaussianGLE`(const std::vector& activeHessians, const Eigen::MatrixXd& coupling, const Eigen::MatrixXd& bathCurvature, double step, double unresolvedTolerance = 1e-12); :ref:`ReducedGaussianGLEResult` :target:`reducePeriodicGaussianGLE`(const std::vector& activeHessians, const Eigen::MatrixXd& coupling, const Eigen::MatrixXd& bathCurvature, const Eigen::MatrixXd& activeKineticLink, const Eigen::MatrixXd& activeBathKineticLink, const Eigen::MatrixXd& bathKineticLink, double step, double unresolvedTolerance = 1e-12); :ref:`gaussian::TwistedTraceResult` :target:`reducedGaussianGLETrace`(const :ref:`ReducedGaussianGLEResult`& reduced, double duration, double unresolvedTolerance = 1e-12); :ref:`gaussian::TwistedRestrictedResult` :target:`reducedGaussianGLERestrictedTrace`(const :ref:`ReducedGaussianGLEResult`& reduced, const Eigen::VectorXd& phaseNormal, double duration, double unresolvedTolerance = 1e-12); :ref:`ReferenceForceGradientValue` :target:`referenceForceGradient`(const Eigen::VectorXd& residualGradient, const std::function& residualHessianAction, double step); :ref:`gpr::quantum::gaussian::Segment` :target:`referenceForceGradientQuadratic`(const Eigen::MatrixXd& nativeCurvature, const Eigen::MatrixXd& referenceCurvature, double step, bool corrected = true); :ref:`PotentialPathResult` :target:`assessReflectedPotentialPath`(const std::vector& halfMassPath, const :ref:`MassMetric`& metric, const std::vector<:ref:`PotentialEvaluation`>& physicalValues, const :ref:`PathConstraints`& gauge, const :ref:`PotentialPathOptions`& options = {}); :ref:`PotentialPathResult` :target:`optimizeReflectedPotentialPath`(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`PathConstraints`& gauge, const :ref:`PotentialPathOptions`& options = {}, :ref:`ReflectedSearchCache`* retainedSearch = nullptr); template void :target:`validateReflectionEvenBand`(const std::vector& path, const std::vector& weights, const Constraints& constraints, double tolerance); double :target:`reflectOutgoingBand`(std::vector& path); double :target:`projectReflectionEvenBand`(std::vector& path); double :ref:`phasePlaneJacobian`(const Eigen::VectorXd& unitNormal, const Eigen::VectorXd& normalDerivative, double targetDerivative, const Eigen::VectorXd& point); double :ref:`logImFSaddleFamilyRate`(double referenceAction, const :ref:`gaussian::TwistedTraceResult`& reference, const std::vector<:ref:`SaddleFamilyPoint`>& family, double hbar, double symmetryFactor = 1); template :ref:`SphereEnergyProjection` :target:`projectSphereEnergy`(const Eigen::VectorXd& center, const Eigen::VectorXd& point, const :ref:`PotentialEvaluation`& value, double energy, double tolerance, const Evaluate& evaluate, std::size_t maximumIterations = 8, std::size_t maximumBacktracks = 12); double :target:`surrogatePathResidualMerit`(const :ref:`PotentialPathResult`& result); :ref:`SurrogatePathTrustDecision` :target:`assessSurrogatePathTrust`(double nativeCurrentMerit, double nativeTrialMerit, double modelCurrentMerit, double modelTrialMerit, double radius, double maximumRadius, bool boundary, bool feasible); :ref:`SurrogatePathTrustDecision` :target:`assessSurrogatePathTrust`(const :ref:`PotentialPathResult`& nativeCurrent, const :ref:`PotentialPathResult`& nativeTrial, const :ref:`PotentialPathResult`& modelCurrent, const :ref:`PotentialPathResult`& modelTrial, double radius, double maximumRadius, bool boundary, bool feasible); :ref:`JacobiPathEvaluation` :target:`jacobiArcToTurningContour`(const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double energy, Eigen::VectorXd* turningPoint = nullptr); :ref:`ThermalJacobiPeriod` :target:`matchThermalJacobiPeriod`(const Eigen::MatrixXd& well, const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double thermalPeriod, double hbar); :ref:`TwistedConstraintStep` :target:`solveTwistedConstraints`(const std::vector& diagonal, const std::vector& gradient, const std::vector& normals, double coupling, const Eigen::MatrixXd& twist, const Eigen::VectorXd& correction); :ref:`TwistedConstraintStep` :target:`solveTwistedConstraints`(const std::vector& diagonal, const std::vector& gradient, const std::vector& normals, const Eigen::MatrixXd& coupling, const Eigen::MatrixXd& twist, const Eigen::VectorXd& correction); :ref:`ZeroEnergyGeodesicEvaluation` :target:`evaluateZeroEnergyGeodesic`(const M& omega, double radius, const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double stiffness, const std::vector& hessians); :ref:`ZeroEnergyGeodesicEvaluation` :target:`evaluateZeroEnergyGeodesic`(const M& omega, double radius, const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double stiffness, const std::vector& hessians, const std::vector& meshWeights); std::vector :target:`solveZeroEnergyGeodesicStep`(const :ref:`ZeroEnergyGeodesicEvaluation`& state); :ref:`ZeroEnergyGeodesicResult` :target:`optimizeZeroEnergyGeodesic`(const M& omega, double radius, const std::vector& initial, const :ref:`ZeroEnergyGeodesicPotential`& potential, const :ref:`ZeroEnergyGeodesicOptions`& options, const std::function`&)>& retain); std::vector :target:`regridGeodesicPath`(const std::vector& path, const std::vector& weights = {}); :ref:`ZeroEnergyGeodesicEvaluation` :target:`evaluateZeroEnergyGeodesic`(const Eigen::MatrixXd& positiveWellRoot, double radius, const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double meshStiffness = 1., const std::vector& searchHessians = {}); :ref:`ZeroEnergyGeodesicEvaluation` :target:`evaluateZeroEnergyGeodesic`(const Eigen::MatrixXd& positiveWellRoot, double radius, const std::vector& path, const std::vector<:ref:`PotentialEvaluation`>& native, double meshStiffness, const std::vector& searchHessians, const std::vector& meshWeights); :ref:`ZeroEnergyGeodesicResult` :target:`optimizeZeroEnergyGeodesic`(const Eigen::MatrixXd& positiveWellRoot, double radius, const std::vector& initial, const :ref:`ZeroEnergyGeodesicPotential`& potential, const :ref:`ZeroEnergyGeodesicOptions`& options = {}, const std::function`&)>& retain = {}); } // namespace quantum .. _details-namespacegpr_1_1quantum: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Models for quantum-path (instanton) searches: arc and tail actions, amplitude continuation. .. warning:: Experimental instanton and quantum-path work in progress. These interfaces may change. Global Functions ---------------- .. index:: pair: function; continuePotentialPathAmplitude .. _doxid-namespacegpr_1_1quantum_1aeadb3b0af05c52b09334a0a62e890828: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`AmplitudeContinuationResult` continuePotentialPathAmplitude(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, const :ref:`AmplitudeContinuationOptions`& options = {}) Follow conditional stationary paths on positive amplitude planes. All other constraint coordinates remain fixed. The selected amplitude column is Euclidean-unit in the full mass-weighted nodal space, as required by optimizePotentialPath. The initial target supplies its coordinate scale. The outer root uses lambda(a)/a versus a^2. For a quartic reduced action this relation is linear. Safeguarded secants retain an ascending sign bracket away from zero; full potential callback gradients determine success. Conditional stationarity alone cannot qualify the returned solution. Neither fluctuation inertia nor a physical rate is inferred here. .. index:: pair: function; continuePotentialPathAmplitudeInPhasePlane .. _doxid-namespacegpr_1_1quantum_1a588efb6b856be8685cb6252fadf48d12: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`AmplitudeContinuationResult` continuePotentialPathAmplitudeInPhasePlane(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, Eigen::Index phaseColumn, const :ref:`AmplitudeContinuationOptions`& options = {}) Find an amplitude-stationary member of a specified conditional phase family. Only the supplied phase normal may retain a force coefficient. All remaining mass-coordinate forces must meet path.forceTolerance. The returned converged flag still means full stationarity; phasePlaneStationarityQualified records the separate family condition. The caller supplies phase coverage and its coarea Jacobian when integrating this family into a rate. .. index:: pair: function; boundedStationaryBathReference .. _doxid-namespacegpr_1_1quantum_1ab2d0efd701d3ff8a7c76fb29f50a3464: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd boundedStationaryBathReference(const Eigen::MatrixXd& saddleCurvature, const Eigen::MatrixXd& reactionDirections) Largest PSD bath bounded by the positive saddle curvature and annihilating reactionDirections. The negative saddle eigenspace stays outside the bath. Columns must be independent; a reaction span may contain positive directions. .. index:: pair: function; evaluateCentralHessianColumns .. _doxid-namespacegpr_1_1quantum_1a1efe677ca7fc50290658c7ea92f4311e: .. ref-code-block:: cpp :class: doxyrest-title-code-block void evaluateCentralHessianColumns(const std::vector& centers, const std::vector& columns, double step, const :ref:`PathPotential`& potential, const std::function`&)>& retain) Ordered physical-coordinate Hessian columns at several geometries. Each positive/negative batch contains exactly the supplied centers, without an extra affine endpoint. Columns divide by the actual representable coordinate separation. The callback receives each complete column before another is evaluated, allowing persistent native-force evidence. Units follow the potential and coordinate inputs; no mass weighting, symmetrization, stationarity or index qualification is applied. .. index:: pair: function; logConstraintFamilyJacobian .. _doxid-namespacegpr_1_1quantum_1ac1fe316ef1f68f7b7dcf56c8c69c5830: .. ref-code-block:: cpp :class: doxyrest-title-code-block double logConstraintFamilyJacobian(const Eigen::MatrixXd& normals, const std::vector& normalDerivatives, const Eigen::MatrixXd& targetDerivatives, const Eigen::VectorXd& point) Log coarea for N(theta)^T q=c(theta), with jointly orthonormal columns. normalDerivatives[b] is partial_b N; targetDerivatives(a,b) is partial_b c_a. Singular charts must be excluded from quadrature rather than assigned a finite Gaussian density. Parameter units are handled by column scaling. .. index:: pair: function; logImFConstrainedFamilyRate .. _doxid-namespacegpr_1_1quantum_1a3722a80e5bc087089ee0acdf262b0f4d: .. ref-code-block:: cpp :class: doxyrest-title-code-block double logImFConstrainedFamilyRate(double referenceAction, const :ref:`gaussian::TwistedTraceResult`& reference, const std::vector<:ref:`ConstrainedFamilyPoint`>& family, Eigen::Index retainedCoordinates, double hbar, double symmetryFactor = 1) ImF integral retaining k soft coordinates explicitly. The restricted physical Gaussian has codimension k and exactly one negative direction. Its determinant retains all original kinetic link factors. Weights cover the supplied k-dimensional parameter domain; the coarea and normalization (2\*pi\*hbar)^(-k/2) replace the retained Gaussian integrations. Conditional stationarity, native curvatures and tail coverage are the caller's responsibility. No amplitude saddle approximation is applied. .. index:: pair: function; cyclicSoftMode .. _doxid-namespacegpr_1_1quantum_1a86d15d8fa93c92c3cf14fb0138ff6e77: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`CyclicSoftMode` cyclicSoftMode(const :ref:`gaussian::Segment`& link, std::size_t nodes) Fundamental Fourier mode of a uniform cyclic link action, in mass coordinates. Curvatures divide the nodal action Hessian by the link duration. The centroid has exactly one negative direction, the second harmonic is positive, and the lowest fundamental mode is simple. At least five nodes avoid quartic aliasing. .. index:: pair: function; cyclicQuarticReduction .. _doxid-namespacegpr_1_1quantum_1ae0488a7bf7fd289ae675b0151b5e361b: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`CyclicQuarticReduction` cyclicQuarticReduction(const :ref:`gaussian::Segment`& link, std::size_t nodes, const Eigen::VectorXd& cubicVV, double quarticVVVV) Eliminate the centroid and second harmonic through fourth order in amplitude. cubicVV is D^3 V[.,v,v] and quarticVVVV is D^4 V[v,v,v,v], where v is the direction returned by cyclicSoftMode for this link. The physical residual potential supplies these derivatives; a quadratic reference contributes none. S(a)-S(0)=duration\*(A\*a^2+B\*a^4)+O(a^5). A positive B defines a supercritical branch when A<0. This local expansion supplies a seed, not a qualified orbit or a rate. Native forces determine its accuracy and convergence. .. index:: pair: function; frequencyFittedKinetic .. _doxid-namespacegpr_1_1quantum_1a955f6f79b7b6efb03ebb3b75b2887364: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gaussian::Segment` frequencyFittedKinetic(const Eigen::MatrixXd& curvature, double duration) Positive kinetic coupling fitted to one fixed physical curvature. The returned link has A=L and no physical potential term. Adding h\*V/2 at each endpoint preserves every constant stationary point. Its untwisted harmonic trace is exact when the physical Hessian equals the fitting curvature. Negative modes require h\*sqrt(-lambda) retractGeodesicMesh(const std::vector& path, const std::vector& weights, double tolerance, const Eigen::VectorXd& target = {}) Retract a path onto prescribed link-length constraints by moving only interior nodes along their mesh tangents. Endpoint geometries are fixed. A target (1-s)\*g(q) preserves the first-order Newton step from an infeasible path; target zero gives the constrained mesh manifold. This operation evaluates no potential and carries no cached values. .. index:: pair: function; stationaryBathReference .. _doxid-namespacegpr_1_1quantum_1a2d5007b02f26bc8ea440ca1cebde5630: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd stationaryBathReference(const Eigen::MatrixXd& saddleCurvature, const Eigen::MatrixXd& reactionDirections) Complete a saddle curvature into a stable bath that annihilates reactionDirections. Columns use mass coordinates and must span a negative-definite restriction. The complementary Schur curvature must be positive semidefinite. Neither a fitted physical bath nor a stationary-point index is inferred from this reference. .. index:: pair: function; optimizePotentialPath .. _doxid-namespacegpr_1_1quantum_1a345ee09f8c84556a752fba4be44e3257: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`PotentialPathResult` optimizePotentialPath(const std::vector& initial, const :ref:`MassMetric`& metric, const :ref:`PathPotential`& potential, const :ref:`AffinePathBoundary`& boundary, const :ref:`PathConstraints`& constraints, const :ref:`PotentialPathOptions`& options = {}) Uniform cyclic action with trapezoidal physical residual endpoint values. SymmetricResidual integrates a PSD reference kernel; FrequencyFittedKinetic fits the untwisted harmonic trace while preserving stationary wells. Cell and periodic-image semantics belong entirely to the potential callback. Constraint columns are jointly orthonormal over all nodes; empty means none. Returned force residuals are mass-coordinate action gradients divided by dt. No phase volume, determinant or physical rate is inferred from convergence. .. index:: pair: function; phasePlaneJacobian .. _doxid-namespacegpr_1_1quantum_1a64ff936351493c47602b1e165c721b72: .. ref-code-block:: cpp :class: doxyrest-title-code-block double phasePlaneJacobian(const Eigen::VectorXd& unitNormal, const Eigen::VectorXd& normalDerivative, double targetDerivative, const Eigen::VectorXd& point) Coarea Jacobian for a moving unit plane n(theta)^T q=c(theta). The returned value is abs(c' - dot(n', q)), not the speed along a curved conditional family. A zero value is a singular phase chart. .. index:: pair: function; logImFSaddleFamilyRate .. _doxid-namespacegpr_1_1quantum_1a11b1a20b41621a055d7aef6bf0eea512: .. ref-code-block:: cpp :class: doxyrest-title-code-block double logImFSaddleFamilyRate(double referenceAction, const :ref:`gaussian::TwistedTraceResult`& reference, const std::vector<:ref:`SaddleFamilyPoint`>& family, double hbar, double symmetryFactor = 1) Logarithmic ImF rate of a supplied closed-path saddle family. Weights integrate the caller's phase coordinate over its explicitly covered domain. Each transverse Gaussian must have exactly one resolved negative direction and one removed phase coordinate. The matched reactant must be positive, with the same duration, energy zero, coordinate units and measure. The negative-contour half cancels the 2/duration ImF rate factor. A conditional family, its coverage, Jacobians and physical Hessians are caller-supplied evidence. Stationarity, phase volume and degeneracies are not inferred. The result uses inverse units of the supplied duration.