Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
qpe::anonymous_namespace{quantumscar2d.cpp} Namespace Reference

Functions

void fail (std::string *reason, const char *message) noexcept
 Performs fail.
 
bool sameGrid (const ComplexField2D &a, const ComplexField2D &b) noexcept
 Performs same grid.
 
double enhancementFromWeights (double bandWeight, double totalWeight, const QuantumScarGeometry2D &geometry, double halfWidth) noexcept
 Performs enhancement from weights.
 

Variables

constexpr double kPi = 3.141592653589793238462643383279502884
 

Function Documentation

◆ enhancementFromWeights()

double qpe::anonymous_namespace{quantumscar2d.cpp}::enhancementFromWeights ( double bandWeight,
double totalWeight,
const QuantumScarGeometry2D & geometry,
double halfWidth )
noexcept

Performs enhancement from weights.

Parameters
bandWeightThe band weight value used by the operation.
totalWeightThe total weight value used by the operation.
geometryThe geometry value used by the operation.
halfWidthThe half width value used by the operation.

Definition at line 55 of file quantumscar2d.cpp.

References qpe::QuantumScars2D::accessibleArea(), enhancementFromWeights(), and qpe::QuantumScars2D::orbitBandArea().

Referenced by enhancementFromWeights().

◆ fail()

void qpe::anonymous_namespace{quantumscar2d.cpp}::fail ( std::string * reason,
const char * message )
noexcept

Performs fail.

Parameters
reasonThe reason value used by the operation.
messageThe message value used by the operation.

Definition at line 30 of file quantumscar2d.cpp.

◆ sameGrid()

bool qpe::anonymous_namespace{quantumscar2d.cpp}::sameGrid ( const ComplexField2D & a,
const ComplexField2D & b )
noexcept

Performs same grid.

Parameters
aThe a value used by the operation.
bThe b value used by the operation.

Definition at line 40 of file quantumscar2d.cpp.

Variable Documentation

◆ kPi

double qpe::anonymous_namespace{quantumscar2d.cpp}::kPi = 3.141592653589793238462643383279502884
constexpr

Definition at line 23 of file quantumscar2d.cpp.