SaashaJoshi / piQture

piQture: A quantum machine learning library for image processing.
https://saashajoshi.github.io/piQture/
Apache License 2.0
15 stars 7 forks source link

Add complex parameterization function #25

Closed SaashaJoshi closed 7 months ago

SaashaJoshi commented 7 months ago

Add complex simple parameterization function to two_qubit_unitary.py file. Also, make necessary additions to respective unit tests. Additional changes were made to TTN and MPS files where parameterization_mapper is now a fixture.

This Closes #7

SaashaJoshi commented 7 months ago

Tthe choice of gates in complex simple parameterization can be changed. Any of the complex rotation gates among Rx and Rz can be chosen to construct the unitary block. However, a commonly used combination of Rx and Ry was chosen in this PR. Better ways to have a user make these choices can be included in the future work of this library.