Skip to content

Commit

Permalink
TN: drawing updates, incld multitag coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Nov 30, 2023
1 parent 0ecc2b5 commit 1678ad0
Show file tree
Hide file tree
Showing 10 changed files with 211,936 additions and 104,097 deletions.
12 changes: 9 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ Release notes for `quimb`.
- {class}`~quimb.tensor.Circuit` : remove `target_size` in preparation for
all contraction specifications to be encapsulated at the contract level (e.g.
with `cotengra`)
* add [quimb.schematic.Drawing](quimb.schematic.Drawing) from experimental
submodule, add example docs at {ref}`schematic`. Add methods `text_between`,
`wedge`, `line_offset` and other tweaks for future use by main TN drawing.

**Enhancements:**

- [TensorNetwork.draw](quimb.tensor.TensorNetwork.draw): use `quimb.schematic`
for main `backend="matplotlib"` drawing. Enabling:
1. multi tag coloring for single tensors
2. arrows and labels on multi-edges
3. better sizing of tensors using absolute units
4. neater single tensor drawing, in 2D and 3D
* add [quimb.schematic.Drawing](quimb.schematic.Drawing) from experimental
submodule, add example docs at {ref}`schematic`. Add methods `text_between`,
`wedge`, `line_offset` and other tweaks for future use by main TN drawing.
- [`Circuit`](quimb.tensor.Circuit) : allow any gate to be controlled by any
number of qubits.
- add [`is_cyclic_x`](quimb.tensor.TensorNetwork2D.is_cyclic_x),
Expand Down
61,293 changes: 61,261 additions & 32 deletions docs/examples/ex_MERA.ipynb

Large diffs are not rendered by default.

10,197 changes: 4,637 additions & 5,560 deletions docs/tensor-1d.ipynb

Large diffs are not rendered by default.

12,620 changes: 12,591 additions & 29 deletions docs/tensor-2d.ipynb

Large diffs are not rendered by default.

16,964 changes: 8,550 additions & 8,414 deletions docs/tensor-basics.ipynb

Large diffs are not rendered by default.

111,682 changes: 62,879 additions & 48,803 deletions docs/tensor-circuit.ipynb

Large diffs are not rendered by default.

4,354 changes: 4,302 additions & 52 deletions docs/tensor-design.ipynb

Large diffs are not rendered by default.

97,306 changes: 56,768 additions & 40,538 deletions docs/tensor-drawing.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 1678ad0

Please sign in to comment.