Qlazy

Latest version: v0.3.4

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

Scan your dependencies

Page 2 of 10

0.2.5

Added
- Amazon Braket backend (LocalSimulator, AWS, IonQ, Rigetti, OQC are availale)
- rxx, ryy, rzz gate method of QState,DensOp,QCirc class
- show, save, load method of Result class
- get_bits method CMem class
- Probability tools (freq2prob, entropy, kl_divergence, cross_entropy)
Fixed
- qulacs_gpu backend

0.2.4

Added
- get stats of quantum circuit (frequency of each gate etc)
- generate random quantum circuit
- dump and load quntum circuit file
- import/export OpenQASM 2.0 string/file
- quantum circuit optimization by ZX-calculus (using pyzx)
- equivalent judgement of 2 quantum circuits by ZX-calculus (using pyzx)
Changed
- default device of IBMQ backend: qasm_simulator -> aer_simulator
Removed
- u1,u2,u3,cu1,cu2,cu3 gates

0.2.3

Added
- QCirc class (quantum circuit)
- Result class (result of quantum circuit execution)
- 'measure' method of QState, Stabilizer (one shot measuremant in computational basis)
- example of "Lattice Surgery"
Changed
- Backend class (add run method to execute quantum circuit)
Removed
- QComp class

0.2.2

Changed
- possible to create subclass of QState, DensOp, Stabilizer etc
Fixed
- 'apply' method of QState, DensOp
- 'patrace','partial','reset' method of DensOp

0.2.1

Changed
- performance improvement (reduce 'memcpy' etc)
- no need to call 'free' method (free automatically, use 'del' to free memory explicitly)
- create 'Stabilizer' instance with list of pauli products
Added
- 'PauliProduct' class and 'operate' method (to operate pauli product to quantum state)
- 'join' method (for making tensor product of many quantum states)
- elapsed time option (-etm) for command line tool ($ qlazy -qc foo.qc -etm)

0.2.0

Changed
- Quick install supported: "pip install qlazy"
- Python package name changed: 'qlazypy' --> 'qlazy'
Added
- New option added: 'nonzero' option of 'show' method (for printing only non-zero elements)
- ex) qs = QState(2).h(0).cx(0,1); qs.show(nonzero=True)

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.