Wavefunction

Represents a single wavefunction object

Properties and Methods

 

__init__(self, energy, data, parent=None, index=None, **opts): 

 

plot(self, figure=None, index=None, **opts): 

Uses McUtils to plot the wavefunction on the passed figure (makes a new one if none)

  • figure: Graphics | Graphics3D

    No description…

  • :returns: _

    No description…

 

expectation(self, op, other): 

Computes the expectation value of operator op over the wavefunction other and self

  • other: Wavefunction

    No description…

  • op: Any

    No description…

  • :returns: _

    No description…

 

probability_density(self): 

Computes the probability density of the current wavefunction

  • :returns: _

    No description…

Examples


Edit Examples or Create New Examples
Edit Template or Create New Template
Edit Docstrings