Toqito

Latest version: v1.0.8

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

Scan your dependencies

Page 1 of 2

1.0.8

- Patch for 1.0.7 as prior version was not including new files.

1.0.5

- Adding ability to perform parallel repetition for `XORGame` objects (thanks to
juliusw352) [PR-143](https://github.com/vprusso/toqito/pull/143)

- Thanks to puva-thakre for updating the installation and contribution
guidelines. [PR-153](https://github.com/vprusso/toqito/pull/153)

- Thanks to ryanprior for providing a CI/CD testing and linting pipeline
[PR-154](https://github.com/vprusso/toqito/pull/154)

- Thanks to georgios-ts for fixing a bug in `apply_channel`
[PR-155](https://github.com/vprusso/toqito/pull/155)

- Thanks to georgios-ts for fixing a bug in `sk_norm`.
[PR-156](https://github.com/vprusso/toqito/pull/156)

- Thanks to georgios-ts for fixing a bug in `is_unitary` for channels.
[PR-164](https://github.com/vprusso/toqito/pull/164)

- Thanks to georgios-ts for fixing an issue in `choi_to_kraus` for non-CP maps.
[PR-162](https://github.com/vprusso/toqito/pull/162)

- Thanks for georgios-ts for adding the `channel_dim` feature to allow one to
extract the dimensions of a quantum channel.
[PR-161](https://github.com/vprusso/toqito/pull/161)

- Thanks to AmanieOxana for integrating the completely bounded trace and
spectral norms. [PR-157](https://github.com/vprusso/toqito/pull/157)

- Thanks to ErikQQY for refactoring and simplifying the partial trace and
partial transpose functions.
[PR-158](https://github.com/vprusso/toqito/pull/158)

- Thanks to purva-thakre for adding SDPs for calculating the fidelity of
separability in `fidelity_of_separability`
[PR-165](https://github.com/vprusso/toqito/pull/165)

- Thanks to elads888 for adding the `is_diagonally_dominant` feature to allow
one to determine if a matrix is diagonally dominant.
[PR-176](https://github.com/vprusso/toqito/pull/176)

- Thanks to epelaaez for adding the `bures_angle` feature.
[PR-181](https://github.com/vprusso/toqito/pull/181)

- Refactor of `state_exclusion` to take advantage of the `picos` SDP solver with
to return both the optimal value and optimal measurements.
[PR-182](https://github.com/vprusso/toqito/pull/182)

- Adding feature to determine if a given matrix is circulant with
`is_circulant`. [PR-184](https://github.com/vprusso/toqito/pull/184)

1.0.7

- Numerous improvements to linting and overall improvement in project structure
([PR-190](https://github.com/vprusso/toqito/pull/190), [PR-192](https://github.com/vprusso/toqito/pull/192),
[PR-193](https://github.com/vprusso/toqito/pull/193), [PR-195](https://github.com/vprusso/toqito/pull/195),
[PR-200](https://github.com/vprusso/toqito/pull/200), [PR-205](https://github.com/vprusso/toqito/pull/205),
[PR-206](https://github.com/vprusso/toqito/pull/206) [PR-212](https://github.com/vprusso/toqito/pull/212),
[PR-223](https://github.com/vprusso/toqito/pull/223), and others). Thanks to purva-thakre for a bunch of work here!

- Improved test coverage in channel fidelity([PR-232](https://github.com/vprusso/toqito/pull/232)), CB norm ([PR-234](https://github.com/vprusso/toqito/pull/234)), and KP-norm ([PR-246](https://github.com/vprusso/toqito/pull/246)), and more. Thanks to purva-thakre!

- Fixed RTD failing builds. [PR-253](https://github.com/vprusso/toqito/pull/253).

- Optimizations to checking if set of vectors are mutually orthogonal. Improvement from O(n^2) to O(n). [PR-250](https://github.com/vprusso/toqito/pull/250).

- Feature to generate a set of mutually unbiased bases for a given prime dimension. [PR-272](https://github.com/vprusso/toqito/pull/272).

- Feature to check whether a given collection of quantum states described as vectors are antidistinguishable. [PR-271](https://github.com/vprusso/toqito/pull/271).

- Feature to check whether a set of quantum states constitute an unextendible product basis or not. (thanks to
Newtech66 and smtsjhr).

- Feature to check if matrix is totally positive [PR-274](https://github.com/vprusso/toqito/pull/274)

- Fix: Bug in state exclusion code [PR-292](https://github.com/vprusso/toqito/pull/292)

- Feature: Determine whether a collection of vectors are linearly independent or not [PR-324](https://github.com/vprusso/toqito/pull/324)

- Feature: Adding the BB84 states [PR-327](https://github.com/vprusso/toqito/pull/327)

- Feature: Integrating the functionality to determine whether a collection of states comprise an unextendible product basis [PR-328](https://github.com/vprusso/toqito/pull/328)

- Feature: Adding the PBR states [PR-382](https://github.com/vprusso/toqito/pull/384)

- Feature: Adding cyclic permutation (thanks to Bchass) [PR-390](https://github.com/vprusso/toqito/pull/390)

- Feature: Adding support for density matrix and vector input for state distinguishability and exclusion [PR-462](https://github.com/vprusso/toqito/pull/462)

1.0.4

- Version bump to fix Python package versioning issue.

- Adding `outer_product` and `inner_product` functions in `matrix_ops` (thanks
to juliusw352)

- Fixing random number generation in `random_density_matrix` function to be
obtained from Haar measure (thanks to BCasale)

- Adding `to_nonlocal_game` function in `XORGame` that converts an XOR game
definition to a `NonlocalGame` object (thanks to juliusw352)

- Adding `nonsignaling` function in `XORGame` that calculates the nonsignaling
value of an `XORGame` object (thanks to juliusw352)

1.0.3

- Version bump to fix Python package versioning issue.

1.0.2

- Enhancement: Update to Python 3.9 from 3.7.

- Feature: Added `dual_channel.py` under `channel_ops`. This feature
allows one to calculate the dual channel of a given input provided as either a
list of Kraus operators, or, a Choi matrix that represents a valid quantum
channel.

- Fix: Thanks to Jake Xuereb for a fix in the `concurrence.py` function that was
incorrectly not taking the transpose.

- Feature: Thanks to Joseph Li (jli0108) for the ability to calculate the Schmidt
decomposition.

- Feature: Added `diamond_norm.py` under `channel_metrics/`. This
feature allows the user to calculate the diamond norm between the Choi
representations of two quantum channels.

- Feature: Added `is_npt.py` under `state_props/`. This
feature allows the user to determine whether a given state is has negative
partial transpose (is NPT).

- Fix: Thanks to iftachyakar for the state distinguishability docs update

- Fix: Thanks to georgios-ts for the fix to `symmetric_extension_hierarchy`.

- Feature: Thanks to georgios-ts for the feature of the `sk_vector_norm`.

- Feature: Thanks to georgios-ts for the extended nonlocal game version of the
NPA hierarchy in `extended_nonlocal_games`.

- Fix: Thanks to georgios-ts for a fix in the `partial_transpose.py` function.

- Feature: Thanks to georgios-ts for the `block_positive.py` feature that
allows the user to detect if a matrix is block positive.

- Feature: Thanks to meandmytram for the `is_separable.py` feature that allows
the user to test whether a quantum state represented as a density operator is
entangled or separable.

- Feature: Added `standard_basis.py` under `matrices/` that allows one to
construct the standard basis of dimension "d".

- Feature: Added `is_orthonormal.py` under `matrix_props/` that allows one to
determine if a collection of vectors or matrices are orthonormal.

- Feature: Thanks to AdithyaSireesh for `hilbert_schmidt_inner_product.py`
under `state_metrics/` that allows one to calculate the Hilbert-Schmidt inner
product between two linear operators.

- Enhancement: Updating `Union` syntax using the `|` operator instead of `Union`
from `typing`.

- Enhancement: Linting and stylistic improvements.

1.0.1

- Feature: Added `bures_distance.py` under `state_metrics/`. This feature
allows the user to determine whether a given matrix is idempotent.

- Feature: Added `singlet.py` under `states/`. This feature allows one to yield
a singlet state of dimension `dim`.

- Feature: Added `is_quantum_channel` under `channel_props`. This feature
allows one to check whether a given input provided as either a list of Kraus
operators, or, a Choi matrix constitutes a valid quantum channel.

- Fix: Permute systems had a bug where if the `inv_perm` option in
`permute_systems.py` was selected, the standard permutation was calculated
(not the inverse permutation). Further unit tests are included to catch
similar failures.

- Fix: The `partial_transpose.py` function did not accurately calculate the
partial transpose on matrices of certain dimension. The fix for
`permute_systems.py` fixes the issue with `partial_transpose.py`. Further unit
tests are included to catch similar failures.

- Fix: The `partial_trace.py` function was not accurately calculating the
partial trace when the argument was specified as a list of dimensions for
certain cases. This has been fixed and further test cases have been included
to prevent this from occurring.

- Fix: The `swap.py` function was not accurately swapping on all sub-systems.
Further unit tests are included to catch similar failures.

- Fix: The `hadamard.py` function was not yielding Hadamard matrices of proper
size and value. Fixed and added tests to cover this case.

- Fix: The `schmidt_decomposition.py` function was taking an incorrect argument
into the SVD function. Fixed and added further tests cases to cover.

- Fix: The `is_product_vector.py` was making use of the
`schmidt_decomposition.py` function incorrectly. Fixed and added further
test cases.

- Enhancement: Adding ability for `schmidt_rank.py` function to process not
just vectors, but also matrices. Adding in unit tests to cover this case.

- Enhancement: Adding the ability for `is_product.py` function to process not
just vectors, but also matrices. Adding in unit tests to cover this case.

- Enhancement: Simplified code for `nonlocal_game.py` and
`extended_nonlocal_game.py`

- Enhancement: Some general documentation clean-up.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.