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

clifford.py #982

Closed AbdullahKazi500 closed 1 month ago

AbdullahKazi500 commented 1 month ago

Issue #, if available:

253

Description of changes: Issue #: N/A

Description of changes: Implemented a Clifford simulator target for the local simulator by creating a new class CliffordSimulator that inherits from OpenQASMSimulator and provides implementations for its abstract methods. Additionally, implemented the CliffordProgramContext class to handle the translation of OpenQASM instructions into simulator instructions specific to the Clifford simulator. Registered the CliffordSimulator class so that it can be recognized by the Amazon Braket SDK. Testing done:

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.

speller26 commented 1 month ago

Closing as this isn't being worked on.