View source on GitHub |
The time-reversal operator.
Inherits From: FqeOperator
The program assumes the Kramers-paired storage for the wavefunction.
Methods
contract
contract(
brastate: "Wavefunction",
ketstate: "Wavefunction"
) -> complex
Given two wavefunctions, generate the expectation value of the operator according to its representation.
Args | |
---|---|
brastate
|
Wavefunction on the bra side. |
ketstate
|
Wavefunction on the ket side. |
rank
rank()
Returns the rank of the operator.
representation
representation()
Returns the representation of the operator.