Added gate decomposition documentation.#237
Added gate decomposition documentation.#237vinayswamik wants to merge 10 commits intoqBraid:mainfrom
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Changes look good @vinayswamik! On a second glance through the maps, I see that we are missing some decompositions. Can you add the Qiskit decompositions for them in the gate_decompositions.md file as well and the back links in maps.py? This is the missing gate list -
[ u3, cy, zz, cswap, pswap, iswap, rxx, rccx, cphaseshift[00, 10, 01], ecr]
|
I'm still seeing the empty logo @vinayswamik with your file but if I add a new qBraid logo , it appears in the docs. Can you figure out why that's happening? |
do you mean And also, some of these gate decompositions are seems different in qiskit as per my observation. |
Sorry for that confusion, I meant the |
|
Can you also see why the CI tests are failing? Edit : turns out it was a 503 server error , re-running the jobs fixed it |
|
|
||
| ## [CPhaseShift00 Gate](../src/pyqasm/maps/gates.py#L568) | ||
|
|
||
| The controlled phase shift 00 gate is implemented using the following qiskit decomposition: |
There was a problem hiding this comment.
Add decompositions for 00, 01, 10
|
Hi @vinayswamik , changes lgtm. Once you add the decompositions for the above mentioned 4 gates, can merge |
…, RXX, RCCX, ECR, and controlled phase shift gates in the documentation.
6aed2e4 to
1aff813
Compare
|
🚫 Logo Change Blocked Changes to Why is this blocked?
What should you do?
Files changed in this PR: |
|
🚫 Logo Change Blocked Changes to Why is this blocked?
What should you do?
Files changed in this PR: |
|
🚫 Logo Change Blocked Changes to Why is this blocked?
What should you do?
Files changed in this PR: |
|
🚫 Logo Change Blocked Changes to Why is this blocked?
What should you do?
Files changed in this PR: |
|
Closing as #266 is merged |
Summary of changes
src/pyqasm/maps/gates.pyintodocs/gate_decompositions.md.gates.pyto reference the relevant section in the Markdown documentation using direct GitHub URLs for each gate decomposition.README.mdto reference the new gate decompositions documentation.Closes #190