Loading...
Searching...
No Matches
GaussianTwistedRestriction.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
6#pragma once
7#include <optional>
8
9#include "GaussianSegments.h"
10
11namespace gpr::quantum::gaussian {
13 std::optional<double> logAbsNormalizedDet;
15 Eigen::Index dimension{};
16 Eigen::Index codimension{};
17 double duration{};
19 double logPositiveDensity(double hbar) const;
20};
21
22// The unit normal defines an affine nodal plane. Its integration range and
23// physical phase Jacobian are separate caller-supplied quantities.
24TwistedRestrictedResult restrictedTraceDeterminant(
25 const std::vector<Segment> &segments, const Matrix &twist,
26 const Vector &unitNormal);
27TwistedRestrictedResult restrictedTraceDeterminant(
28 const std::vector<Segment> &segments, const Matrix &twist,
29 const Matrix &orthonormalNormals);
30
37
38// Solve K X+N Lambda=F with N^T X=0 on a resolved restricted kernel.
39// Signed saddle directions are retained. Columns of F are independent sources.
40RestrictedKernelSolution solveRestrictedTraceKernel(
41 const std::vector<Segment> &segments, const Matrix &twist,
42 const Matrix &orthonormalNormals, const Matrix &sources);
43
50
52 std::vector<Matrix> blocks;
53};
54
55// Diagonal blocks of the signed inverse on the complement of the supplied
56// orthonormal cyclic constraints. The block recursion avoids forming the
57// full nodal inverse.
59 const std::vector<Segment> &segments, const Matrix &orthonormalNormals,
60 const Matrix &twist);
61
62// Project the inverse of a resolved restricted kernel, retaining its sign.
63// An indefinite inverse is a determinant response, not a probability
64// covariance.
66 const std::vector<Segment> &segments, const Matrix &twist,
67 const Matrix &orthonormalNormals, const Matrix &features);
68
77
78// For a nodal perturbation delta K=h delta H, d log k_G=-tr(G h delta H)/2.
79// The leading unmeasured eigenvector maximizes sensitivity to a unit rank-one
80// curvature perturbation. It supplies no bound on the unknown native curvature.
81CurvatureRateInfluence nodalCurvatureRateInfluence(
82 const Matrix &nodalKernelInverse, double duration,
83 const Matrix &measuredOrthonormalBasis);
84
91// Columns of features are linear observables in the full cyclic nodal space.
92// The covariance includes hbar and retains the explicit constraint equations.
93RestrictedCovarianceProjection restrictedTraceCovarianceProjection(
94 const std::vector<Segment> &segments, const Matrix &twist,
95 const Matrix &orthonormalNormals, const Matrix &features, double hbar);
96} // namespace gpr::quantum::gaussian
CurvatureRateInfluence nodalCurvatureRateInfluence(const Matrix &green, double duration, const Matrix &measured)
RestrictedInverseDiagonalBlocks restrictedTraceInverseDiagonalBlocks(const std::vector< Segment > &segments, const Matrix &orthonormalNormals, const Matrix &twist)
RestrictedInverseProjection restrictedTraceInverseProjection(const std::vector< Segment > &segments, const Matrix &twist, const Matrix &orthonormalNormals, const Matrix &features)
RestrictedKernelSolution solveRestrictedTraceKernel(const std::vector< Segment > &segments, const Matrix &twist, const Matrix &orthonormalNormals, const Matrix &sources)
TwistedRestrictedResult restrictedTraceDeterminant(const std::vector< Segment > &segments, const Matrix &twist, const Vector &unitNormal)
RestrictedCovarianceProjection restrictedTraceCovarianceProjection(const std::vector< Segment > &segments, const Matrix &twist, const Matrix &orthonormalNormals, const Matrix &features, double hbar)
Eigen::MatrixXd Matrix
Eigen::VectorXd Vector