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

✨ CNOT Cancellation Optimization Pass #101

Merged
merged 4 commits into from
May 6, 2022
Merged

✨ CNOT Cancellation Optimization Pass #101

merged 4 commits into from
May 6, 2022

Conversation

burgholzer
Copy link
Member

This PR adds a new optimization method to the QFR library which allows to cancel adjacent CNOT gates.

@burgholzer burgholzer added the enhancement New feature or request label May 5, 2022
@burgholzer burgholzer self-assigned this May 5, 2022
@burgholzer burgholzer changed the title ✨ CNOT Cancellation Optimisation Pass ✨ CNOT Cancellation Optimization Pass May 5, 2022
@burgholzer burgholzer enabled auto-merge (squash) May 5, 2022 22:44
@codecov
Copy link

codecov bot commented May 5, 2022

Codecov Report

Merging #101 (b5fb50a) into main (b38fe5f) will increase coverage by 0.4%.
The diff coverage is 82.7%.

@@           Coverage Diff           @@
##            main    #101     +/-   ##
=======================================
+ Coverage   81.7%   82.1%   +0.4%     
=======================================
  Files         44      44             
  Lines       7212    7300     +88     
=======================================
+ Hits        5895    5999    +104     
+ Misses      1317    1301     -16     
Impacted Files Coverage Δ
src/CircuitOptimizer.cpp 86.5% <77.8%> (+3.7%) ⬆️
include/QuantumComputation.hpp 89.3% <100.0%> (+0.5%) ⬆️
test/unittests/test_qfr_functionality.cpp 100.0% <100.0%> (ø)

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 b38fe5f...b5fb50a. Read the comment docs.

@burgholzer burgholzer merged commit 22528b3 into main May 6, 2022
@burgholzer burgholzer deleted the cancel_cnots branch May 6, 2022 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant