Skip to content

v0.6.3

Compare
Choose a tag to compare
@jvdwetering jvdwetering released this 02 Dec 10:53
· 634 commits to master since this release

[0.6.3] - 2020-12-2

Added

  • Added settings.drawing_auto_hbox to toggle the default value of auto_hbox when using zx.draw()
  • Added function generate.spider to construct a graph containing a single spider.
  • Added function Graph.translate(x,y) to translate all the coordinates in the Graph instance by the specified amount.
  • Added additional rewrite rule to editor for H-box fusion
  • Added hsimplify.zh_simp() rewrite strategy that does a collection of rewrites of increasing difficulty to simply ZH-diagrams.

Changed

  • The par_hbox() simplification can now also handle wires with NOTs on them.
  • The copy rule in the editor now also understands how to copy a |-> state through an H-box.

Fixed

  • Fixed exception in editor that made it unusable.
  • Fixed bug when matching parallel Hadamards with match_hadamards().
  • Undo in editor correctly remembers scalar.