Skip to content

Origin/main#15

Merged
meandmytram merged 97 commits into
mainfrom
origin/main
Apr 6, 2022
Merged

Origin/main#15
meandmytram merged 97 commits into
mainfrom
origin/main

Conversation

@meandmytram

Copy link
Copy Markdown
Member

No description provided.

meandmytram and others added 30 commits March 23, 2021 18:56
The commit consists of the following things:
0) Some housekeeping.
1) Downgraded Python from 3.9 to 3.8, as I don't have 3.9 on my local machine due to it being not yet introduced by Anaconda
2) Initialised the file to keep the contractor class in
3) The MPS class
4) The DMRG Class
5) utils.py containing the relevant toolkin
6) The last but not the least, tests -- this is very important, for now I have 5 of them, all passing. Feel free to propose any other tests and crashtests of the existing ones.
For consistency.
Added a threshold score for a linter to pass. Now, if the total score >= 8, the linting action should pass.
@codecov

codecov Bot commented Apr 6, 2022

Copy link
Copy Markdown

Codecov Report

Merging #15 (a17c7a8) into main (cabfa16) will decrease coverage by 0.21%.
The diff coverage is 93.86%.

❗ Current head a17c7a8 differs from pull request most recent head 7a39d9f. Consider uploading reports for the commit 7a39d9f to get more accurate results

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   93.95%   93.74%   -0.22%     
==========================================
  Files          12       12              
  Lines         860      847      -13     
==========================================
- Hits          808      794      -14     
- Misses         52       53       +1     
Impacted Files Coverage Δ
mpopt/mps/__init__.py 100.00% <ø> (ø)
mpopt/optimizer/__init__.py 100.00% <ø> (ø)
mpopt/mps/explicit.py 72.29% <66.10%> (-0.68%) ⬇️
mpopt/contractor/contractor.py 96.42% <94.73%> (ø)
mpopt/mps/canonical.py 94.96% <94.96%> (-0.37%) ⬇️
mpopt/utils/utils.py 96.47% <96.47%> (-0.16%) ⬇️
mpopt/optimizer/dmrg.py 98.71% <100.00%> (+0.03%) ⬆️
tests/contractor/test_contractor.py 100.00% <100.00%> (ø)
tests/mps/test_canonical.py 100.00% <100.00%> (ø)
tests/mps/test_explicit.py 100.00% <100.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cabfa16...7a39d9f. Read the comment docs.

@meandmytram meandmytram merged commit 2fbb036 into main Apr 6, 2022
@meandmytram meandmytram deleted the origin/main branch April 6, 2022 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants