google / TensorNetwork

A library for easy and efficient manipulation of tensor networks.
Apache License 2.0
1.82k stars 359 forks source link

Minor changes to enable running DMRG on block-sparse backend #866

Closed mganahl closed 4 years ago

mganahl commented 4 years ago

depends on #865

codecov-io commented 4 years ago

Codecov Report

Merging #866 into master will decrease coverage by 0.01%. The diff coverage is 94.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
- Coverage   98.21%   98.19%   -0.02%     
==========================================
  Files         129      129              
  Lines       22311    22386      +75     
==========================================
+ Hits        21913    21983      +70     
- Misses        398      403       +5     
Impacted Files Coverage Δ
tensornetwork/backends/abstract_backend.py 91.77% <0.00%> (-0.54%) :arrow_down:
tensornetwork/block_sparse/blocksparse_utils.py 97.88% <ø> (ø)
tensornetwork/matrixproductstates/base_mps_test.py 99.71% <ø> (ø)
tensornetwork/block_sparse/blocksparsetensor.py 98.74% <66.66%> (-1.01%) :arrow_down:
tensornetwork/backends/jax/jax_backend.py 98.85% <100.00%> (+<0.01%) :arrow_up:
tensornetwork/backends/jax/jax_backend_test.py 99.26% <100.00%> (+<0.01%) :arrow_up:
tensornetwork/backends/numpy/numpy_backend.py 98.03% <100.00%> (+0.01%) :arrow_up:
tensornetwork/backends/numpy/numpy_backend_test.py 99.29% <100.00%> (+<0.01%) :arrow_up:
tensornetwork/backends/pytorch/pytorch_backend.py 99.49% <100.00%> (+<0.01%) :arrow_up:
...ornetwork/backends/pytorch/pytorch_backend_test.py 100.00% <100.00%> (ø)
... and 11 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 a367602...88f1a16. Read the comment docs.