Skip to content

♻️ Simplify output permutation computation in circuit import #264

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 2 commits into from
Feb 2, 2023

Conversation

burgholzer
Copy link
Member

Simplifies the logic for how the output permutation is derived when importing circuits. Introduces a slight optimization where idle qubits are always marked as garbage; even when the qubit appears in the output permutation.

Simplifies the logic for how the output permutation is derived when importing circuits. Introduces a slight optimization where idle qubits are always marked as garbage; even when the qubit appears in the output permutation.

Signed-off-by: Lukas Burgholzer <[email protected]>
@burgholzer burgholzer added the enhancement New feature or request label Feb 2, 2023
@burgholzer burgholzer self-assigned this Feb 2, 2023
@burgholzer burgholzer enabled auto-merge (squash) February 2, 2023 14:46
Signed-off-by: Lukas Burgholzer <[email protected]>
@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Merging #264 (3ef66fb) into main (37722f2) will increase coverage by 0.0%.
The diff coverage is 88.8%.

@@          Coverage Diff          @@
##            main    #264   +/-   ##
=====================================
  Coverage   84.0%   84.0%           
=====================================
  Files         58      58           
  Lines       6978    6977    -1     
  Branches    1388    1384    -4     
=====================================
+ Hits        5864    5865    +1     
+ Misses      1114    1112    -2     
Impacted Files Coverage Δ
src/QuantumComputation.cpp 79.2% <88.8%> (+0.2%) ⬆️
include/QuantumComputation.hpp 93.9% <0.0%> (+<0.1%) ⬆️

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

@burgholzer burgholzer merged commit 61543f8 into main Feb 2, 2023
@burgholzer burgholzer deleted the simplify-output-permutation-extraction branch February 2, 2023 16:58
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