Question on VQC tutorial

Hello all,

I am starting to study QC an QML, so I am new here.
Following some tutorials, now the VQC on the Iris dataset (https://pennylane.ai/qml/demos/tutorial_variational_classifier.html#data). Is there a reason why it uses only 2 of the 4 features of the dataset, and then pad 2 to meet the criteria of 2ˆn qbits, instead of using all 4 and no padding?

Thanks.

Hey @dalcinj and welcome,

no, there is no particular reason at all :slight_smile: Well, except from that you can plot 2 features much easier, and the demo shows the final decision boundary…

Iris is the tiniest toy dataset, and it is chosen more for illustration purpose than to really solve any real classification task.

2 Likes