Scotty 0.3.0 Released

Published on July 15, 2019 by Vasily Vasinov


This release focuses on simplifying the QuantumContext API, streamlining custom gates, and adding new gates. Changes since 0.2.0:

  • Remove Scala 2.10 support.
  • Cleanup QuantumContext definition and add tensorProduct and product methods for easy gate and state transformations.
  • Remove different gate type matrix methods from QuantumContext. Now, there is just one gate matrix method and it’s up to specific architectures to implement it. This method has the following signature: gateMatrix(gate: Gate): Matrix.
  • Add an abstraction for custom gates DefGate that can be used for static and parametric gates.
  • Add implicit conversions for matricies and vectors of doubles and integers to complex numbers.
  • Add S, T, PHASE, CZ, and CSWAP gates to the set of standard gates.
  • Add the Dagger modifier that takes the conjugate transpose of the gate matrix.

Next version will be focused on improving simulator performance, completing the standard gate set, and adding tools for multiple circuit execution and evaluation.