Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Dec 7, 2023
1 parent a8577a1 commit 77cc734
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
17 changes: 6 additions & 11 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

Release notes for `quimb`.

(whats-new-1-6-1)=

## v1.6.1 (unreleased)
(whats-new-1-7-0)=
## v1.7.0 (unreleased)

**Breaking Changes**

- {class}`~quimb.tensor.Circuit` : remove `target_size` in preparation for
all contraction specifications to be encapsulated at the contract level (e.g.
with `cotengra`)
- some TN drawing options (mainly arrow options) have changed due to the
backend change detailed below.

**Enhancements:**

Expand All @@ -25,6 +26,8 @@ Release notes for `quimb`.
`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.
- [`Circuit`](quimb.tensor.Circuit) : support for parsing `openqasm2`
specifications now with custom and nested gate definitions etc.
- add [`is_cyclic_x`](quimb.tensor.TensorNetwork2D.is_cyclic_x),
[`is_cyclic_y`](quimb.tensor.TensorNetwork2D.is_cyclic_y) and
[`is_cyclic_z`](quimb.tensor.TensorNetwork3D.is_cyclic_z) to
Expand All @@ -37,7 +40,6 @@ Release notes for `quimb`.
for constructing MPS from a function that fills the tensors.

(whats-new-1-6-0)=

## v1.6.0 (2023-09-10)

**Breaking Changes**
Expand All @@ -62,7 +64,6 @@ Release notes for `quimb`.
- fix gauge size check for some backends

(whats-new-1-5-1)=

## v1.5.1 (2023-07-28)

**Enhancements:**
Expand All @@ -83,7 +84,6 @@ Release notes for `quimb`.
- fix bug where calling `tn.norm()` would mangle indices.

(whats-new-1-5-0)=

## v1.5.0 (2023-05-03)

**Enhancements**
Expand Down Expand Up @@ -148,7 +148,6 @@ Release notes for `quimb`.
triangular R factors.

(whats-new-1-4-2)=

## v1.4.2 (28th November 2022)

**Enhancements**
Expand All @@ -157,7 +156,6 @@ Release notes for `quimb`.
[setuptools_scm](https://pypi.org/project/setuptools-scm/) for versioning

(whats-new-1-4-1)=

## v1.4.1 (28th November 2022)

**Enhancements**
Expand Down Expand Up @@ -191,7 +189,6 @@ Release notes for `quimb`.
> - allow unpickling of `PTensor` objects ({issue}`128`, {pull}`131`)
(whats-new-1-4-0)=

## v1.4.0 (14th June 2022)

**Enhancements**
Expand All @@ -211,7 +208,6 @@ Release notes for `quimb`.
- Various graph generators and TN builders

(whats-new-1-3-0)=

## v1.3.0 (18th Feb 2020)

**Enhancements**
Expand Down Expand Up @@ -248,7 +244,6 @@ Release notes for `quimb`.
- Make cache import and initilization of `petsc4py` and `slepc4py` more robust.

(whats-new-1-2-0)=

## v1.2.0 (6th June 2019)

**Enhancements**
Expand Down
7 changes: 6 additions & 1 deletion quimb/tensor/circuit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Tools for quantum circuit simulation using tensor networks.
TODO:
- [ ] gate-by-gate sampling
- [ ] sub-MPO apply for MPS simulation
- [ ] multi qubit gates via MPO for MPS simulation
"""

import functools
Expand Down Expand Up @@ -217,7 +222,7 @@ def parse_openqasm2_str(contents):
if rgxs["error"].match(line):
# raise hard error for custom tate defns etc
raise NotImplementedError(
f"Custom gate definitions are not supported: {line}"
f"The following instruction is not supported: {line}"
)

if rgxs["gate_def"].match(line):
Expand Down

0 comments on commit 77cc734

Please sign in to comment.