amazon-braket / amazon-braket-sdk-python

A Python SDK for interacting with quantum devices on Amazon Braket
https://aws.amazon.com/braket/
Apache License 2.0
294 stars 118 forks source link

from_ir method for AnalogHamiltonianSimulation #971 #984

Closed EuGig closed 1 month ago

EuGig commented 1 month ago

Issue #, if available:

971

Description of changes: Add from_ir method for AnalogHamiltonianSimulation Testing done: Ini order to test from_ir an __equal__ method is added to check if two instances of an AnalogHamiltonianSimulation object are the same.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

Tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

peterkomar-aws commented 1 month ago

Thank you @EuGig for contributing this PR. In the order of creation time, we accepted the PR created by a different user to resolve the issue. I will close this PR. Thank you. Looking forward to seeing you contribute to our repo in the future.