Skip to content

✨ Add Method for Determining Number of Single-Qubit Gates #220

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 4 commits into from
Nov 22, 2022

Conversation

burgholzer
Copy link
Member

This PR adds a method for quickly determining the number of single-qubit gates in a circuit.
Such a function turns out to be useful in upstream projects such as QMAP.

@burgholzer burgholzer added the enhancement New feature or request label Nov 22, 2022
@burgholzer burgholzer self-assigned this Nov 22, 2022
@burgholzer burgholzer enabled auto-merge (squash) November 22, 2022 13:35
Signed-off-by: burgholzer <[email protected]>
@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #220 (1455fbd) into main (c7679b6) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff          @@
##            main    #220   +/-   ##
=====================================
  Coverage   84.5%   84.6%           
=====================================
  Files         51      51           
  Lines       8693    8715   +22     
=====================================
+ Hits        7352    7374   +22     
  Misses      1341    1341           
Impacted Files Coverage Δ
include/QuantumComputation.hpp 94.1% <ø> (ø)
src/QuantumComputation.cpp 69.8% <100.0%> (+0.5%) ⬆️
test/unittests/test_qfr_functionality.cpp 100.0% <100.0%> (ø)

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 33d76ed into main Nov 22, 2022
@burgholzer burgholzer deleted the single-qubit-ops branch November 22, 2022 14:06
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