Skip to content
Snippets Groups Projects
Commit a705ad6f authored by Joseph Weston's avatar Joseph Weston
Browse files

modify operator API and condense docstrings.

+ References to numpy arrays are removed from docstrings, instead
  general sequences are accepted

+ `__call__` no longer returns `where`

+ a `sum` attribute was added (and the corresponding arg in __init__. If
  sum==True then __call__ evaluates ∑_{iαβ} φ*_α Q_{iαβ} ψ_β. If
  sum==False then __call__ evaluates ∑_{αβ} φ*_α Q_{iαβ} ψ_β (i.e. no sum
  over the site/hopping index i.
parent 5af193bc
No related branches found
No related tags found
1 merge request!59Modify operator API and condense docstrings
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment