Skip to content
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

Add properties to LocalSimulator #76

Merged
merged 2 commits into from
May 14, 2020
Merged

Conversation

kshitijc
Copy link
Contributor

Issue #, if available:

Description of changes:

  • Added properties to the LocalSimulator and BraketSimulator interface.
  • BraketSimulator has been moved over to the simulator repo and will be removed from the sdk in a subsequent PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kshitijc kshitijc requested a review from avawang1 as a code owner May 13, 2020 19:00
@abstractmethod
def properties(self) -> Dict[str, Any]:
""" Dict[str, Any]: Properties of the BraketSimulator device. """
raise NotImplementedError()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need raise NotImplementedError() if it's an abstractmethod

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@kshitijc kshitijc merged commit 2c77bfd into master May 14, 2020
@kshitijc kshitijc deleted the feature/local_properties branch May 14, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants