SimpleProductBasis

Defines a direct product basis from a simpler basis. Mixed product bases aren’t currently supported

Properties and Methods

 

__init__(self, basis_type, n_quanta): 
  • basis_type: type

    the type of basis to do a product over

  • n_quanta: Iterable[int]

    the number of quanta for the representations

 

@property
quanta(self): 

 

get_function(self, idx): 

 

operator(self, *terms): 

 

representation(self, *terms): 

Provides a representation of a product operator specified by ‘terms’

  • terms: Any

    No description…

  • :returns: _

    No description…

 

x(self, n): 

Returns the representation of x in the multi-dimensional basis with every term evaluated up to n quanta Whether this is what we want or not is still TBD

  • n: Any

    No description…

  • :returns: _

    No description…

 

p(self, n): 

Returns the representation of p in the multi-dimensional basis with every term evaluated up to n quanta Whether this is what we want or not is still TBD

  • n: Any

    No description…

  • :returns: _

    No description…

Examples


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