In this challenge, you will use Pennylane and Amazon Braket to implement a variational quantum classifier (VQC) to take on a supervised learning problem based on the work of Havlíček et al. (2018). Implement each of the four TODOs in vqc_challenge.ipynb
to construct and train a QML model to solve the binary classification task. You can use the gen_binary.py
script to generate a new train/test dataset, and further test your model.
A central feature of Amazon Braket is that its remote simulator can execute multiple circuits in parallel. This capability can be harnessed in PennyLane during circuit training, which requires lots of variations of a circuit to be executed. Hence, the PennyLane-Braket plugin provides a method for scalable optimization of large circuits with many parameters. After validating your implementation and successfully training using a local simulator, enable qBraid quantum jobs and test your binary classifier on remote quantum hardware using the Amazon Braket Pennylane plugin. See the resources linked below for more.
- To submit your hack, create a pull request from your team's named branch
- Submission PR title format:
[VQC-CHALLENGE] [team-name] [date]
- Submissions will be evaluated on a rolling basis
- Each team is allowed one submission per day
A leaderboard will be kept on https://account.qbraid.com/haqs that ranks teams in order of their submitted VQC model accuracy. The leaderboard will be updated every 24 hours with all the submissions from that day. All teams that make a submission, no matter their model's performance, will appear on the leaderboard and therefore be eligable for prizes.
Important: Your final model must be tested with on a remote quantum device using the Amazon Braket Pennylane plugin. Submissions that do not interface with Amazon Braket supported devices will not be eligible to be ranked on the leaderboard.