PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.36k stars 604 forks source link

OutAdder and ModExp Operators Quantum Arithmetic #6121

Closed gmlejarza closed 2 months ago

gmlejarza commented 2 months ago

Context:

Adding OutAdder and ModExp templates for Quantum Arithmetic.

Description of the Change:

Adding OutAdder and ModExp templates to perform arithmetic operations between quantum registers.

Benefits:

Users can implement arithmetic operations in an easy and efficient way.

Related GitHub Issues: [sc-71590]

github-actions[bot] commented 2 months ago

Hello. You may have forgotten to update the changelog! Please edit doc/releases/changelog-dev.md with:

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.66%. Comparing base (1f55c88) to head (9fc0f1e). Report is 21 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6121 +/- ## ========================================== - Coverage 99.67% 99.66% -0.01% ========================================== Files 432 445 +13 Lines 41839 42357 +518 ========================================== + Hits 41702 42215 +513 - Misses 137 142 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.