Discopy

Latest version: v1.2.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.2.0

What's Changed
* Fix Qiskit requirement by toumix in https://github.com/discopy/discopy/pull/272
* Update CONTRIBUTING.md by toumix in https://github.com/discopy/discopy/pull/271
* Fix pickles of quantum gates by toumix in https://github.com/discopy/discopy/pull/273
* Feedback categories by toumix in https://github.com/discopy/discopy/pull/232
* Monoidal streams by toumix in https://github.com/discopy/discopy/pull/276
* Make bubble wires go straight by toumix in https://github.com/discopy/discopy/pull/278
* Bubbles with multiple args by toumix in https://github.com/discopy/discopy/pull/279
* Update python and sympy by boldar99 in https://github.com/discopy/discopy/pull/285
* Support `quimb` by y-richie-y in https://github.com/discopy/discopy/pull/284
* Functorial drawing by toumix in https://github.com/discopy/discopy/pull/280
* Fix broken image link by toumix in https://github.com/discopy/discopy/pull/286
* Additive functions by toumix in https://github.com/discopy/discopy/pull/287
* Update README.md by toumix in https://github.com/discopy/discopy/pull/289


**Full Changelog**: https://github.com/discopy/discopy/compare/1.1.7...1.2.0

1.1.7

What's Changed
* Add example to README.md by toumix in https://github.com/discopy/discopy/pull/253
* Fix docs, remove architecture from readme by toumix in https://github.com/discopy/discopy/pull/255
* Fix pregroup swap rotation by toumix in https://github.com/discopy/discopy/pull/258
* Fix documentation, update its dependencies by boldar99 in https://github.com/discopy/discopy/pull/260
* feat: Do not infer dtype when `data` is `None` in `tensor.Box` by boldar99 in https://github.com/discopy/discopy/pull/261
* Update build.yml with versions 3.10 and 3.11 by toumix in https://github.com/discopy/discopy/pull/262
* Fix CRz and CRx gate conversion by y-richie-y in https://github.com/discopy/discopy/pull/263
* Fix scalar too by y-richie-y in https://github.com/discopy/discopy/pull/264
* Fix CZ scalar too by y-richie-y in https://github.com/discopy/discopy/pull/265
* TypeVar argument must be str by toumix in https://github.com/discopy/discopy/pull/267


**Full Changelog**: https://github.com/discopy/discopy/compare/1.1.6...1.1.7

1.1.6

Bug fixes:

- Fix caching mechanism of `NamedGeneric`
- Fix pickling of parametrised classes

1.1.5

New features:
- Unpickling is now backward compatible: pickled diagrams from DisCoPy v0.6 can be unpickled into the current version.
- `Tensor` is now parametrised by the `dtype`.
- A hypergraph equality context manager has been.
- `Discard` has been defined on `Markov` categories
- `Tensor.copy` has been added
- The term "polygynous" has been changed to "left monogamous"

Bug fixes:
- Missing qiskit-aer import has been added
- Missing `Sum` classes has been added to markov
- Broken links in QNLP tutorial has been fixed
- Ribbon rotation has been fixed
- Matrix.swap has been fixed

Notable updates in the documentation:
- Examples from [arXiv:2205.05190](https://arxiv.org/abs/2205.05190) has been added into `docs/notebooks/examples.ipynb`

1.1.4

Fix PennyLane Sympy substitution

1.1.3

- Revert symmetric diagram hashing and equality back to old behaviour, see PR 179
- Fix flake8 coding style 178

Page 1 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.