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

Multiplier Operators Quantum Arithmetic #6112

Closed gmlejarza closed 2 months ago

gmlejarza commented 3 months ago

Before submitting


Context:

Adding Multiplier templates for Quantum Arithmetic.

Description of the Change:

Adding Multiplier and OutMultiplier templates to perform arithmetic operations between quantum registers.

Benefits:

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

Related GitHub Issues: [sc-71592]

github-actions[bot] commented 3 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 (23023e5). Report is 17 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6112 +/- ## ========================================== - Coverage 99.67% 99.66% -0.01% ========================================== Files 432 443 +11 Lines 41839 42276 +437 ========================================== + Hits 41702 42134 +432 - Misses 137 142 +5 ```

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