Hierarqcal

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

What changed?
Tutorials
- New: [Quantum Fourier Transform Tutorial](https://github.com/matt-lourens/hierarqcal/blob/develop/examples/qft_tutorial.ipynb)
- Thanks AmyRouillard
- New: [Grover Tutorial](https://github.com/matt-lourens/hierarqcal/blob/develop/examples/grover_algorithm_tutorial.ipynb)
- Thanks AmyRouillard
- New: [VQE UCCSD Tutorial](https://github.com/matt-lourens/hierarqcal/blob/develop/examples/vqe_h2.ipynb)
- Thanks Gopal-Dahale
- Updated: [Core functionality tutorial](https://github.com/matt-lourens/hierarqcal/blob/develop/examples/core_tutorial.ipynb)
- Updated: [Quickstart notebook](https://github.com/matt-lourens/hierarqcal/blob/develop/examples/core_tutorial.ipynb)

New functionality
- 26 Added `Qpivot` Primitive
- Thanks AmyRouillard
- 27 Plot hypergraphs
- Thanks metalcyanide
- 28 Specify Qiskit unitaries with strings
- Thanks khnikhil
- `utils.plot_circuit` new minimal circuit plotter
- `utils.get_tensor_as_f` new tensor contraction function for naive QC simulation
- Reworked `Qmask` and added `Qunmask` which inherits from a new `Qsplit` primitive
- Added `*` and `!` wildcards to generate string patterns
- Added custom execution for `Qhierarchy.__call__ ` to enable use without 3rd party packages and classical algorithms
- Added option to specify symbol function `Qmotif.symbol_fn` to parametrize gates based on edge order

0.4.0

What's new

- N-qubit unitary support (hypergraphs)
- Renamed primitives (Qconv->Qcycle, Qpool->Qmask, Odense->Qpermute, Free->Qinit)
- New Qunmask primitive
- New Qunitary class to manage arbitrary functions
- Functionality to Convert any level motif into Qunitary
- Support for providing sub motif as mapping for higher level motif
- More pattern support for Qmask/Qunmask (undo previous), wild cards, binary strings
- Removed networkX as dependency (refactored plotting of motifs)
- New tutorial, single notebook for 3 frameworks (qiskit, cirq, pennylane)
- New examples notebook
- Edge order hyperparameter for Qmotif
- Various small fixes

Note Version 0.4.0 is not backwards compatible.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.