Skip to content

v0.6.4

Compare
Choose a tag to compare
@jvdwetering jvdwetering released this 23 Nov 17:18
· 658 commits to master since this release

[0.6.4] - 2021-01-27

The main feature added is support for copying and pasting inside the editor. This release should also hopefully fix the issue where users of the PyPI version can't use zx.draw and the editor.

Added

  • Added functionality to copy and paste parts of a diagram in the editor.
  • qasm files can now include u1/u2/u3 gates.
  • Method BaseGraph.merge() to merge two graphs in place.
  • Method BaseGraph.subgraph_from_vertices() to get the induced subgraph from a set of vertices.

Changed

  • tikz_to_graph() is now a bit more versatile in what it accepts as valid phases.
  • matrix_to_latex() is slightly more intelligent about parsing numbers.
  • Changed colours in editor to match those of zx.draw.

Fixed

  • Decomposing a Hadamard into Euler angles gave wrong scalar.
  • Added d3.v5.min.js to the manifest, which hopefully prevents the issue where people using the PyPI version can't see graphs drawn with d3.