Skip to content

[binary_tree_partition] [2/2]: Add binary_tree_partition #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

LinjianMa
Copy link
Contributor

Add

function binary_tree_partition(tn::ITensorNetwork, inds_btree::Vector)

Given an input tn and a rooted binary tree of indices, return a partition of tn with the same binary tree structure as inds_btree.

@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2023

Codecov Report

Merging #64 (d69f17a) into main (3df4c84) will increase coverage by 0.70%.
The diff coverage is 98.92%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   77.73%   78.44%   +0.70%     
==========================================
  Files          55       56       +1     
  Lines        2834     2927      +93     
==========================================
+ Hits         2203     2296      +93     
  Misses        631      631              
Impacted Files Coverage Δ
src/ITensorNetworks.jl 77.77% <ø> (ø)
src/binary_tree_partition.jl 98.86% <98.86%> (ø)
src/mincut.jl 94.87% <100.00%> (+0.22%) ⬆️
src/itensornetwork.jl 86.20% <0.00%> (+0.86%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mtfishman
Copy link
Member

Looks good, thanks!

@mtfishman mtfishman merged commit c04b33b into ITensor:main Feb 10, 2023
@LinjianMa LinjianMa deleted the binary_tree_partition branch July 1, 2023 16:16
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.

3 participants