Scotty 0.2.0 Released
This releases focuses on supporting Scala 2.13 and adding more features. Changes since 0.1.0
:
- Add support for Scala 2.13.
- Add
Labeled
trait for easy labeling of quantum primitives. - Add labels that can be added to qubits by the user and that are automatically applied to classical bits after measurement.
- Add multiple qubit support to
Target
gates. - Add
Swapped
trait andSWAP
default gate. - Rewrite
QuantumSimulator.controlMatrix
to support multi-qubit target gates. The matrix construction loop was rewritten to be more efficient. - Move all error and validation messages to
ErrorMessage
. - Add a sum type (
One
andZero
of typeBit
) to represent classical bits in place of integers. - Add index uniqueness validation for multi-qubit gates.