-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct programming logic and add unittests for MERA class. (#21)
* initial commit * remove extensive branching in mera. this closes #17. minor changes to ttn. * minor syntax change * correct number of params for simple parameterization * add more tests cases for ttn. add more tests for mera * disable some pylint errors, for example, too-many-args (which most probably should be fixed while working on #10), and duplicate-code in ttn_circuit and mera_circuit fixtures. this duplicate code can eb ignored since it will be quite difficult to reuse the fixture in either of the files. * add new test for num_qubits = 5. this brings the tests to 100 percent coverage * add two more tests for complex general and real general for 5 qubits
- Loading branch information
1 parent
d937b77
commit 831baac
Showing
4 changed files
with
343 additions
and
71 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.