Numerical and Symbolic Manipulation for Quantum Computing
Project description
# FrozenYoghourt
FrozenYoghourt is a collections of useful modules for working with circuit theory. Our library offers a tool for both numerical calculation with numpy that is optimized for speed and symbolic manipulation with sympy that is helpful for studying closed form circuit.
We divide our library into 4 main modules.
mode: used for switching between numerical and symbolic representations.
gates: contains many useful one and two qubits gates. The symbolic representation are especially conducive to analyzing parameterized families.
maths: this module contains many mathematical methods that are generally useful for quantum computing
quantum: this module contains specific methods for working with circuit decomposition
circuit: we are developing this module to optimize matrix multiplication and tensor product in the context of quantum circuits. This should also allows for easy analysis of quantum state and isometry.
visualization: this module contains methods for visualization data using both 2d plots and 3d plots
# Change Log
0.0.1 (10/02/2022)
Wrote README file
Add P gates method to gates.py
Add CU method to gates.py
Add view method to mode.py
Add log.txt for keeping track of changes
0.0.3 (11/02/2022)
Move to_su to maths.py
Move kron_decomp to quantum.py
Change default variable in the chi method to “x”
0.0.7 (12/02/2022)
Import gates to quantum
0.0.8 (12/02/2022)
Fix Quantum.double_cosets by importing the correct packages
Add default_import method to allow for faster import prompt
Change random_local_gates to random_local_ops and allow for creating more operation at the same time.
Allow for doing to_su on list of matrices.
0.0.10.1 (15/02/2022)
Add view method to visualize numerical matrices
Add CAN method
Add Gamma gates
0.0.11 (17/02/2022)
Delete Class from files so now g.CAN will just be CAN. Although the Mode class is kept.
Fix default_import to match the change in 1.
0.0.12 (17/02/2022)
Allow for custom custom mode toggle
Add color to toggle / now
0.0.12.2 (17/02/2022)
Add a dagger function that can operate on multiple matrices input
Fix the to_su function so that it can operate on multiple matrices input
Delete double_cosets to be replaced with the KAK
Add printing parameter to toggle to allow for not printing results
0.0.13 (18/02/2022)
Change P gate to Phase
Change chi to include coefficients return of symbolic matrices.
Change random_local_ops to local_ops
Replace U function with u2 function which now allows for special unitary gates
Fix local_ops so that it nows includes a special unitary option
Add evaluate numerical returns for to_su
Add canonical_class_vector method
0.0.14 (19/02/2022)
Write documentation for mode
Allow single variable input for fast_substitution
Add angles parameters to u2 function
Create two new modules circuit and visualization
Fix the default_import to reflect the above changes.
Add scatter to visualization
Fix gamma, implicitly convert matrix to unimodular if numpy and optionally if sympy
Add close to math.py to compare matrices and get boolean values
0.0.15 (22/02/2022)
Add huang_invariant to quantum
Add KAK to quantum!
Change Id method to ID to avoid collision
Add a pauli method to gates to compute tensor product of pauli matrices
Change no_times argument in tp and mm to mult (for multiplicity)
Change view in __init__ to allow for displaying sympy matrices with rounding
Change gamma method to ymap and chi method to xmap
Fix is_local to return boolean value
Create a new decomposition.py file
Delete canonical_class_vector for step1-4 in decomposition
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for FrozenYoghourt-0.0.15.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d262cc76b31a571e852448f520327838b4c72d753787af4c2ea81b200406756 |
|
MD5 | a282ca6514534a0851843cb3b05e1afc |
|
BLAKE2b-256 | acd97512dadb2d0083283ff66d86876f8fecb01772270655d858d3b2bd342fd7 |