Preparing the catalog and filters…Katalog ve filtreler hazırlanıyor…
Starter code
module fidelity_kernel_map;
@dataset("circles_2d", split: "train");
fn main() {
let q: QReg<2> = qreg[2];
encode(sample_row(1), q, method: "iqp");
let result = expect Z(q[0]) Z(q[1]);
return result;
}Expected output
circles_2d is selected
IQP encoding produces a finite state
The ZZ feature-map signal is reported
Kernel values remain in [0, 1]
Debugging checklist
Run the IQP map
Compare two dataset rows
Open the circles kernel preset
Inspect the symmetric Gram matrix
Compare against a classical baseline
Extension challenge
Change ridge regularization and explain its effect on the closed-form classifier.