TensorBFS / OMEinsumContractionOrders.jl

Tensor network contraction order optimizers for OMEinsum
MIT License
25 stars 3 forks source link

support fixed slices #29

Closed GiggleLiu closed 2 years ago

GiggleLiu commented 2 years ago

@Fanerst I think you mentioned the feature of fixed slices once, I just got it supported.

Example

optimize_code(code2, uniformsize(code2, 2), TreeSA(; ntrials=1, nslices=2, fixed_slices=[8]))
codecov[bot] commented 2 years ago

Codecov Report

Merging #29 (6e2a499) into master (f12eff1) will increase coverage by 0.05%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   95.94%   96.00%   +0.05%     
==========================================
  Files           8        8              
  Lines         789      800      +11     
==========================================
+ Hits          757      768      +11     
  Misses         32       32              
Impacted Files Coverage Δ
src/interfaces.jl 100.00% <ø> (ø)
src/slicing.jl 99.12% <100.00%> (+0.06%) :arrow_up:
src/treesa.jl 93.52% <100.00%> (+0.07%) :arrow_up:

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 f12eff1...6e2a499. Read the comment docs.