-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create fermiword class * create fermisentence class * [skip ci] modify order * [skip ci] remove unused import * [skip ci] add deepcopy method * [skip ci] replace list with generator * [skip ci] add tests * [skip ci] add tests * [skip ci] add tests * add tests * [skip ci] run black * [skip ci] copy fermiword * [skip ci] rebase and fix conflict * [skip ci] run black * [skip ci] copy fermiword * [skip ci] add tests * add test to tests_passing_pylint * add sum mult test * [skip ci] add tests * [skip ci] add pow tests * add tests * fix pylint * add error tests * fix pylint * add TODO * modify docstrings * update changelog * update changelog * modify docstrings * fix codecov * add code review comments * add test for indices * fix codefactor * multiply FermiWord and FermiSentence * add tests for fw * fs * add and test multiplying fermiword with integer or float * allow number times fermi sentence * update tests * Allow subtracting one FermiSentence from another * Allow substraction * clean up formatting and tests * Add multiplication by complex * Add more tests and reorganize * update change log * add test * black formatting * Add constants to FermiWord and FermiSentence * add tests * radd and rsub methods plus tests * missing lines for codecov * start adding support for tensors * numpy and pennylane numpy tensors plus tests for __add__ and __sub__ * add tests for multiplying by tensor * fix formatting issues post merge * add comment regarding overriding numpy dunders * Apply suggestions from code review Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> * check len of array before adding to FeriSentence * Raise error if array with len>2 is passed to arithmetic dunders * Apply suggestions from code review Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Update doc/releases/changelog-dev.md * round to 10 digits --------- Co-authored-by: soranjh <soranjh@yahoo.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
- Loading branch information
1 parent
3fffe83
commit 5824a8e
Showing
3 changed files
with
825 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.