Mqt.qcec

Latest version: v2.8.1

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

Scan your dependencies

Page 9 of 10

1.7.1

This small release adds the capability to extract I/O mapping information from Qiskit `QuantumCircuit` objects.
As a result, the verification of a circuit compiled with IBM Qiskit becomes even easier:

python
from jkq import qcec
from qiskit import QuantumCircuit, transpile

create your quantum circuit
qc = <...>

append measurements to save output permutation
qc.measure_all()

transpile circuit to appropriate backend using some optimization level
qc_trans = transpile(qc, backend=<...>, optimization_level=<0 | 1 | 2 | 3>)

verify the compilation result
qcec.verify(qc, qc_trans, method=qcec.Method.compilationflow, statistics=True)

1.7

This release adds support for directly using Qiskit `QuantumCircuit` objects (as well as corresponding `.pickle` files) as input to the verification tool.
Many of Qiskit's operations are natively supported and directly translated to our Quantum Functionality Representation (QFR).
Any non-native operation is decomposed using Qiskit's definition of the operation until only native operations remain.
A release that allows to incorporate compilation information (e.g., logical to physical qubit mapping) is planned for the future.

Due to these changes, the interface of the `qcec.verify` function has changed: the parameters `file1`/`file2` are now suitably called `circ1`/`circ2`.

This release also fixes a small issue where the `naive` and `lookahead` method could not be set correctly.

1.6.2

This minor release provides a functioning `sdist` for Python distribution.

1.6.1

Minor release
- Switched CI/CD to Github Actions.
- Updated submodules
- Slight modification to Python bindings structure

1.6

v1.6 introduces *random stimuli generation* methods for the verification of quantum circuits.
It also adds the option of persisting the state vector used for verification methods based on simulation.

1.5

bash
pip install jkq.qcec

and use it to verify quantum circuits in Python with
python
from jkq import qcec
qcec.verify([...])

This beta release tests the CI/CD functionality for automatically building and deploying to PyPI.

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.