qBraid / qbraid-algorithms

Build hybrid quantum-classical algorithms with qBraid
GNU General Public License v3.0
6 stars 4 forks source link

Implement QRCModel prediction call method #11

Closed ryanhill1 closed 3 months ago

ryanhill1 commented 5 months ago

https://github.com/qBraid/qbraid-algorithms/blob/acdbe47e971830136ad822a542059693d3da40de/qbraid_algorithms/qrc/model.py#L25-L34

Using the PCA model (https://github.com/qBraid/qbraid-algorithms/issues/7), detuning layer (https://github.com/qBraid/qbraid-algorithms/issues/9), and linear regression function (https://github.com/qBraid/qbraid-algorithms/issues/10), construct the complete QRC model, and implement __call__ method to compute prediction against given input.