amazon-braket / amazon-braket-default-simulator-python

Quantum program simulators that can run locally
https://amazon-braket-default-simulator-python.readthedocs.io/
Apache License 2.0
67 stars 22 forks source link

feat: Introduce Device AHS validator for additional device information. #271

Closed Altanali closed 3 months ago

Altanali commented 4 months ago

Issue #, if available:

Description of changes: Extend the AHS Validator by introducing a DeviceCapabilitiesConstants data class and additional Device-AtomArrangement, LocalDetuning, Hamiltonian, and DrivingField validators for information that's available in AWS AHS devices (e.g. Quera Aquila).

Testing done:

Testing done to achieve full coverage.

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.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (a9808f3) to head (8620b84).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #271 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 48 55 +7 Lines 3802 4102 +300 Branches 930 988 +58 ========================================== + Hits 3802 4102 +300 ```

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

Altanali commented 3 months ago

Closing - Moving AHS Device Validation to the BDK instead of extending the default-simulator repo.