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

Define state method and returns_state=True in capabilities #101

Merged
merged 9 commits into from
Jun 8, 2022

Conversation

antalszava
Copy link
Contributor

The Wavefunction and NumPyWavefunction simulator devices are capable of returning the state, yet they don't define a state method or have the returns_state=True entry in the capabilities dictionary of the device (see the explanation of capabilities here).

@antalszava antalszava changed the title Fix returns state Define state method and returns_state=True in capabilities Jun 8, 2022
@antalszava antalszava requested a review from rmoyard June 8, 2022 21:25
Copy link
Contributor

@rmoyard rmoyard left a comment

Choose a reason for hiding this comment

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

Thank you again @antalszava, it looks good!

@rmoyard rmoyard merged commit ddfd8e5 into master Jun 8, 2022
@rmoyard rmoyard deleted the fix_returns_state branch June 8, 2022 23:44
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.

None yet

2 participants