namespace gpr::quantum::ringbath¶
namespace ringbath {
// typedefs
typedef Eigen::MatrixXd Matrix;
typedef Eigen::VectorXd Vector;
// enums
enum Potential;
// structs
struct Kernel;
struct Sensitivity;
// global functions
Vector matsubaraShifts(Eigen::Index beads, double betaN, double hbar = 1);
Kernel boundKernel(Potential potential, const Matrix& C, const Matrix& Q, const Matrix& AQ, double alpha, const Vector& shifts);
double modeWeight(Eigen::Index k, Eigen::Index separation, Eigen::Index beads);
void requireBlocks(const std::vector<Matrix>& blocks, Eigen::Index beads);
Matrix ringMatrix(const std::vector<Matrix>& blocks, Eigen::Index beads);
std::vector<Matrix> projectRing(const Matrix& W, Eigen::Index beads, Eigen::Index d);
Matrix positiveRoot(const Matrix& D);
double nuclearNorm(const Matrix& M);
Sensitivity logRateSensitivity(const ratepost::Ring& ring, const ratepost::Weights& w, const Kernel& kernel);
} // namespace ringbath