Skip to content
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

Improvements to the CircuitZoo purification circuits (fixes #32 and #31) #37

Merged
merged 18 commits into from
Sep 4, 2023

Conversation

Barosandu
Copy link
Contributor

@Barosandu Barosandu commented Aug 29, 2023

All i have left is to check the varargs length
edit done

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #37 (17e5383) into master (29d87e4) will decrease coverage by 44.02%.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

❗ Current head 17e5383 differs from pull request most recent head e2ea864. Consider uploading reports for the commit e2ea864 to get more accurate results

@@             Coverage Diff             @@
##           master      #37       +/-   ##
===========================================
- Coverage   65.15%   21.14%   -44.02%     
===========================================
  Files          23       23               
  Lines         927      960       +33     
===========================================
- Hits          604      203      -401     
- Misses        323      757      +434     
Files Changed Coverage Δ
src/CircuitZoo/CircuitZoo.jl 0.00% <0.00%> (-71.63%) ⬇️
src/QuantumSavory.jl 28.12% <ø> (-30.79%) ⬇️

... and 17 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Krastanov Krastanov changed the title Fixes #32 and #31 Improvements to the CircuitZoo purification circuits (fixes #32 and #31) Aug 31, 2023
There was a bit of confusion here. The point of entanglement distillation is to purify pairs that are not all store on the same node. I.e. Alice has two halves of two different Bell pairs. Bob has the other halves. This is very different from Alice locally having a Bell pair and Bob locally having an independent Bell pair -- there is no shared entanglement in such a case and no possiblity for quantum networking.

A second issue is that the purification was reporting a failure in the docstring - this could have been a sign to investigate what the problem is.
@Krastanov
Copy link
Member

@Barosandu , please check the 6 commits I pushed one by one for the changes I have made. We should discuss anything that might have been unclear at our meeting tomorrow.

I also enabled the doctests: currently a lot of the new ones are failing. Could you make sure they run correctly before we merge this?

@Krastanov
Copy link
Member

forgot to mention: to run the doctests, you do not need to run the entirety of the test suite. You can just open the test_doctests.jl file in your editor and execute it in the REPL that is connected to vscode.

@Krastanov
Copy link
Member

@Barosandu , please check the changes I have made. Let me know if there are any you disagree with or would like to discuss.

I will merge this so that it does not block other tasks. Could you submit a separate pull request that addresses the TODOs I have left in?

@Krastanov Krastanov merged commit 40577b6 into QuantumSavory:master Sep 4, 2023
0 of 7 checks passed
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