Skip to content

Commit

Permalink
Make SimulatesExpectationValues public (#3927)
Browse files Browse the repository at this point in the history
I forgot to make the `SimulatesExpectationValues` interface visible at the top level of Cirq :(

You can still use this type in Cirq v0.10, but it must be referenced as `cirq.sim.simulator.SimulatesExpectationValues`.
  • Loading branch information
95-martin-orion committed Mar 18, 2021
1 parent 584b221 commit 9c7a862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cirq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@
sample_state_vector,
sample_sweep,
SimulatesAmplitudes,
SimulatesExpectationValues,
SimulatesFinalState,
SimulatesIntermediateState,
SimulatesIntermediateStateVector,
Expand Down
1 change: 1 addition & 0 deletions cirq/sim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

from cirq.sim.simulator import (
SimulatesAmplitudes,
SimulatesExpectationValues,
SimulatesFinalState,
SimulatesIntermediateState,
SimulatesSamples,
Expand Down

0 comments on commit 9c7a862

Please sign in to comment.