TBTK
Need a break? Support the development by playing Polarity Puzzles
TBTK::OverlapAmplitude::AmplitudeCallback Class Referenceabstract

#include <OverlapAmplitude.h>

Public Member Functions

virtual std::complex< double > getOverlapAmplitude (const Index &braIndex, const Index &ketIndex) const =0
 

Detailed Description

Abstract base class for callbacks that allow for delayed determination of the OverlapAmplitude's value.

Member Function Documentation

◆ getOverlapAmplitude()

virtual std::complex<double> TBTK::OverlapAmplitude::AmplitudeCallback::getOverlapAmplitude ( const Index braIndex,
const Index ketIndex 
) const
pure virtual

Function responsible for returning the value of the OverlapAmplitude for the given indices.

Parameters
braIndexThe index of the bra state to determine the value of the OverlapAmplitude for.
bketIndexThe index of the ket state to determine the value of the OverlapAmplitude for.
Returns
The value of the OverlapAmplitude for the given indices.

The documentation for this class was generated from the following file: