sQUlearn / squlearn

scikit-learn interface for quantum algorithms
https://squlearn.github.io
Apache License 2.0
58 stars 18 forks source link

fix entangling and num_parameters in `ChebPQC` #130

Closed MoritzWillmann closed 1 year ago

MoritzWillmann commented 1 year ago

I found some erros in ChebPQC.

  1. The number of parameters was wrong for feature maps with less than 3 qubits
  2. The way how the entangling layers were set up was wrong

I fixed both 😄