HarmonicOscillatorProductBasis

Tiny, tiny layer on SimpleProductBasis that makes use of some analytic work done to support representations of p and x.

nquant_max: int

 

__init__(self, n_quanta, indexer=None): 

 

__eq__(self, other): 

 

to_state(self, serializer=None): 

 

@classmethod
from_state(cls, data, serializer=None): 

 

operator(self, *terms, coeffs=None, axes=None, parallelizer=None, logger=None, chunk_size=None, **operator_settings): 

Builds an operator based on supplied terms, remapping names where possible. If coeffs are supplied, a ContractedOperator is built.

  • terms: Any
  • coeffs: Any
  • axes: Any
  • :returns: _

 

take_subdimensions(self, dims): 

 

__repr__(self): 

Feedback

Examples

Templates

Documentation