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

🚸 Check whether a logical qubit is contained in a circuit #201

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

burgholzer
Copy link
Member

This tiny PR adds a convenience function that allows to check whether a given logical qubit is present in the initial layout of a QuantumComputation.

@burgholzer burgholzer added the enhancement New feature or request label Oct 18, 2022
@burgholzer burgholzer self-assigned this Oct 18, 2022
@burgholzer burgholzer enabled auto-merge (squash) October 18, 2022 15:48
@codecov
Copy link

codecov bot commented Oct 18, 2022

Codecov Report

Merging #201 (7b37f4b) into main (76dfda6) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff          @@
##            main    #201   +/-   ##
=====================================
  Coverage   84.0%   84.0%           
=====================================
  Files         48      48           
  Lines       8251    8264   +13     
=====================================
+ Hits        6937    6950   +13     
  Misses      1314    1314           
Impacted Files Coverage Δ
include/QuantumComputation.hpp 94.0% <ø> (ø)
src/QuantumComputation.cpp 65.1% <100.0%> (+0.4%) ⬆️
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 46f1f5b into main Oct 18, 2022
@burgholzer burgholzer deleted the convenience-function branch October 18, 2022 16:21
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