tschijnmo / drudge

CAS based on sympy focusing on tensor and noncommutative algebras
https://tschijnmo.github.io/drudge
MIT License
20 stars 10 forks source link

Improvement: interface to the contents of the hamiltonian #2

Closed qbit- closed 7 years ago

qbit- commented 7 years ago

It will be great to have a method to extract a list of indexed bases of the hamiltonian directly without going to it's components or other properties

tschijnmo commented 7 years ago

Actually it might already be there. For instance, we have one_body and two_body for the tensors. Maybe just unfortunately they are not properly documented.

qbit- commented 7 years ago

Ok, got it