DVRWavefunction

 

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

 

get_dimension(self): 

 

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

 

expectation(self, op, other=None): 

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

  • other: Wavefunction | np.ndarray
  • op: Any
  • :returns: _

 

@property
interp(self): 

 

evaluate(self, points): 

Evaluates the functions at the given points

  • :returns: _

 

marginalize_out(self, dofs): 

Computes the projection of the current wavefunction onto a set of degrees of freedom

  • :returns: _

Feedback

Examples

Templates

Documentation