This project involves simulating a quantum classifier using a variational quantum circuit for binary classification problems. It is divided into three main parts, each contributing to the total project credits.
- Objective: Build a quantum classifier for the binary classification parity problem with 3 inputs.
- Data: Provided train and test datasets (
classA_train.dat
,classB_train.dat
,classA_test.dat
,classB_test.dat
). - Data Preprocessing: Allowed to shift the data or perform simple preprocessing like subtracting 0.5 from all data.
- Circuit Design: Design the quantum circuit including measurements (recommendation: do not exceed 4 qubits).
- Cost Function: Define the cost function using the expectation value of measurements at the end of the circuit.
- Optimization Method: Select and describe the optimization method used.
- Classification Outcomes: Report the accuracy and other relevant metrics for train and test data.
- Program Code: Provide the Python code used for the simulation.
- Compare different classical optimization methods and/or loss functions.
- Justify the model using geometric representations like the Bloch sphere.
- Compare parameters, epochs, and structure with a classical neural network solving the same problem.
- Implement the parameter-shift rule for gradient evaluation.
- Apply the classifier to another binary classification problem with 3 inputs and report the outcomes.
- Any other interesting subject related to quantum machine learning (consultation with the instructor recommended).
- Objective: Extend the quantum classifier model to handle the parity problem with 5 inputs.
- Data: Provided datasets (
classA_train_N5.dat
,classB_train_N5.dat
,classA_test_N5.dat
,classB_test_N5.dat
).
- Quantum Machine Learning
- Variational Quantum Circuit
- Quantum Classifier
- Binary Classification
- Parity Problem
- Quantum Optimization
- Quantum Cost Function
- Bloch Sphere
- Parameter-shift Rule
- Classical vs Quantum Models
- Quantum Data Preprocessing
- Quantum Simulation
- Python Quantum Programming
- Quantum Computing
- Quantum Neural Networks