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

Add placeholders for all mising standard gates in Rust #12646

Merged
merged 5 commits into from
Jun 24, 2024

Conversation

ElePT
Copy link
Contributor

@ElePT ElePT commented Jun 24, 2024

Summary

This PR proposes placeholders for all missing gates in #12566 with a dummy number of qubits and number of parameters (34) that should be replaced with the actual number when implemented. The idea of this proposal is to allow for a better parallelization of the work that avoids conflicts. Note that I don't particularly like this order, and I think we should reorder the lists once the implementations are completed, but I think this order is better than having to resolve conflicts every time we merge a new PR. I have also added annotations in the static vectors to increase readability.

Details and comments

@ElePT ElePT requested a review from a team as a code owner June 24, 2024 11:22
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core
  • @kevinhartman
  • @mtreinish

@coveralls
Copy link

coveralls commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9644456868

Details

  • 0 of 34 (0.0%) changed or added relevant lines in 1 file are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 89.743%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 0 34 0.0%
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 5 92.11%
Totals Coverage Status
Change from base Build 9642268925: -0.04%
Covered Lines: 63672
Relevant Lines: 70949

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9645642831

Details

  • 0 of 34 (0.0%) changed or added relevant lines in 1 file are covered.
  • 6 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 89.741%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 0 34 0.0%
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 6 92.11%
Totals Coverage Status
Change from base Build 9642268925: -0.04%
Covered Lines: 63670
Relevant Lines: 70949

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9648750761

Details

  • 0 of 32 (0.0%) changed or added relevant lines in 1 file are covered.
  • 10 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.05%) to 89.716%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 0 32 0.0%
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 4 91.86%
crates/qasm2/src/parse.rs 6 96.23%
Totals Coverage Status
Change from base Build 9648699798: -0.05%
Covered Lines: 63727
Relevant Lines: 71032

💛 - Coveralls

@ElePT ElePT added Changelog: None Do not include in changelog Rust This PR or issue is related to Rust code in the repository labels Jun 24, 2024
Copy link
Member

@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this should reduce merge conflicts a bit, and also make it easier to resolve them when they do occur.

@mtreinish mtreinish added this pull request to the merge queue Jun 24, 2024
Merged via the queue into Qiskit:main with commit b20a7ce Jun 24, 2024
15 checks passed
Procatv pushed a commit to Procatv/qiskit-terra-catherines that referenced this pull request Aug 1, 2024
* Add placeholders for all gates, mark TODOs

* Update name for CPhase

* Remove todo from Ux gates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog Rust This PR or issue is related to Rust code in the repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants