-
Notifications
You must be signed in to change notification settings - Fork 643
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
Multiplier Operators Quantum Arithmetic #6112
Conversation
Hello. You may have forgotten to update the changelog!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it's looking good!
In the tests remember to apply the changes requested in qml.Adder as well:
- merge
test_operation_result_args_None
with the previous test. - remove comment from
jax.jit
- import auxiliary function from file
Remember also to include the templates in the __init__
file so we can call them as qml.Multiplier
directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
…AI/pennylane into multipliers_arithmetic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gmlejarza, looks great!
### Before submitting - [ ] Add a new entry to the `doc/releases/changelog-dev.md` file, summarizing the change, and including a link back to the PR. ------------------------------------------------------------------------------------------------------------ **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] --------- Co-authored-by: KetpuntoG <65235481+KetpuntoG@users.noreply.github.com> Co-authored-by: soranjh <soran.jahangiri@gmail.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Before submitting
doc/releases/changelog-dev.md
file, summarizing thechange, and including a link back to the PR.
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]