Closed tonmoy-b closed 1 month ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: tonmoy-b
:x: Tonmoy Bhattacharya
Thank you for opening a new pull request.
Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.
While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.
One or more of the following people are relevant to this code:
@Qiskit/terra-core
@kevinhartman
@mtreinish
Due to a commit without email address, I have been unable to sign the CLA for this PR. Due to this I am closing this PR. I have created a new PR#13055 instead.
Due to a commit without email address, I have been unable to sign the CLA for this PR. Due to this I am closing this PR. I have created a new PR#13055 instead.
Summary
Added function to tally operations in circuit with associated qubits fixes #12972
Details and comments
-Added function count_ops_with_qubits() in quantumcircuit.py, this returns the operations in the QuantumCircuit along with the qubits associated with those operations. -The abovementioned function uses the Rust function fn operations_with_qubits in circuit_data.rs -A test (test_count_ops_with_qubits()) has been added to file test/python/circuit/test_circuit_data.py -tox has been run -- no test failures reported -tox -eblack run to reformat files