Scotty 0.4.0 Released
This release focuses on adding new gates, a new
StateReader for single qubits that generates Bloch sphere vector coordinates and angles, and a multi-trial abstraction that lets developers run the same circuit many times in parallel. Changes since
- Remove Scala 2.11 support. Now Scotty only runs on Scala 2.12 and 2.13.
BlochSphereReaderthat works for any superposition of a single qubit. The reader shows $\phi$ and $\theta$ angles and $x$, $y$, and $z$ coordinates of the qubit superposition on the Bloch sphere.
StateReaderthat now works with superpositions and collapsed states. This change is mainly about convenience, so developers don’t have to pattern match on circuit results in order to use state readers.
- Drop custom complex number implementation in favor of the Apache Commons Math implementation.
densityMatrixfor qubits and
outerProductfor superpositions to
- Add several new gates to completely match the Quil gate set:
- Add usability helpers to
- Add a multiple trial abstraction called
ExperimentResultthat can be used with a new variation of the
runAndMeasuremethod that allows to specify a custom number of experiment trials as well as the level of parallelism. The Scotty simulator uses a
ForkJoinPoolto run multiple simulations in parallel.
Next version will be focused on (actually) improving simulator performance and adding better DSL abstractions for multi-qubit gates.