You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Features
Ability to support additional result types for gate model devices
The following result types are supported:
State vector
Amplitude
Probability
Expectation
Variance
Sample
examples/bell_result_types.py has example usage
When shots>0, users can request probability in the computational basis, sampling, expectation, variance, and sampling for the desired observable.
These values are calculated from measurements.
When shots=0 for simulators, users can request state vector and amplitude, as well as exact values for expectation, variance, and sampling for the desired observable.
Sample is not supported when shots=0
measurements, measurement_counts, and measurement_probabilitiesare not returned in the task result when shots=0
Ability to check version in Python
Increased default polling timeout for AWS devices to 5 days
Added topology_graph as an attribute of AwsQpu that returns the topology of the QPU as a networkx graph
Breaking Changes
When using AwsQuantumSimulator and LocalSimulator, shots is by default 0
As part of new result types feature, .state_vector of a GateModelQuantumTaskResult is only returned when state vector is requested as a result type and shots=0