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

Requirement: Model training module #35

Open SaashaJoshi opened 7 months ago

SaashaJoshi commented 7 months ago

There is a requirement to configure the model training module.

Currently, the pipeline assumes dependence on Qiskit for Runtime Primitives and other training modules like gradients and optimizers. However, some elements in the library, such as dynamic circuits in QuantumPoolingLayer2 and QuantumPoolingLayer3, cannot use these Runtime Primitives. This, therefore, presents a need for an autonomous model training module.

SaashaJoshi commented 5 months ago

I do not think there is anymore a pressing need to replace Qiskit Runtime primitives. The autonomy over training and testing is not relevant to the QML pipeline design and structure now.

SaashaJoshi commented 5 months ago

The idea should be more about replacing SamplerQNN and EstimatorQNN from the qiskit_machine_learning library and establishing a direct connection with Qiskit Runtime Primitives and Simulators such that techniques like dynamic circuits and circuit cutting can be supported. The QNNs currently wrap a lot in them and cause limitations.