Skip to content

🚸 Extended Operation Recognition #127

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 1 commit into from
Jun 20, 2022
Merged

🚸 Extended Operation Recognition #127

merged 1 commit into from
Jun 20, 2022

Conversation

burgholzer
Copy link
Member

This tiny little PR extends the opTypeFromString method to recognize more gates, e.g., recognize "cx" as qc::OpType::X.
This helps when parsing instructions from Qiskit and matching them to the gates we provide.

Verified

This commit was signed with the committer’s verified signature.
burgholzer Lukas Burgholzer
e.g., recognize "cx" as `qc::OpType::X`.
@burgholzer burgholzer added the enhancement New feature or request label Jun 20, 2022
@burgholzer burgholzer self-assigned this Jun 20, 2022
@codecov
Copy link

codecov bot commented Jun 20, 2022

Codecov Report

Merging #127 (c993903) into main (5c7361c) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #127   +/-   ##
=====================================
  Coverage   82.1%   82.1%           
=====================================
  Files         44      44           
  Lines       7300    7300           
=====================================
  Hits        5999    5999           
  Misses      1301    1301           
Impacted Files Coverage Δ
include/operations/OpType.hpp 0.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 5c7361c...c993903. Read the comment docs.

@burgholzer burgholzer enabled auto-merge (squash) June 20, 2022 22:35
@burgholzer burgholzer merged commit b1fe5cc into main Jun 20, 2022
@burgholzer burgholzer deleted the optype-extensions branch December 2, 2024 12:31
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.

None yet

1 participant