Science track challenge for FLIQ 2025 hackathon
A challenge hosted by Classiq Technologies and DuQIS (Duke Quantum Information Society) as part of the FLIQ Hackathon. Participants will apply quantum machine learning to distinguish between different phases of a Rydberg atom system using measurement data obtained in randomized bases.
The task is to build a Quantum Machine Learning (QML) model capable of classifying different phases of quantum matter from measurement data.
Unlike typical datasets, your inputs are classical shadows: compressed representations of quantum states constructed via randomized measurements. Your model should learn to identify the phase label of a quantum state based only on this information.
A classical shadow is a compact representation of a quantum state constructed from local randomized measurements. Suppose an experiment prepares an
For each round
We then form an estimate:
You are provided with
For more details, see:
- Huang et al., Predicting Many Properties of a Quantum System from Very Few Measurements (2020), arXiv:2002.08953
- Huang et al., Provably efficient machine learning for quantum many-body problems (2022), arXiv:2106.12627
The Rydberg Hamiltonian for an atom chain reads
where
The Rydberg Hamiltonian contains three types of operators:
-
Terms involving Pauli
$X = \ket{r}\bra{g} + \ket{g}\bra{r}$ are responsible for driving atoms from$\ket{g}$ to$\ket{r}$ . -
Terms involving the projector
$n$ introduce the punishment (or reward) for being in the excited state: when$\delta > 0$ , excitation is penalized; when$\delta < 0$ , excitation is rewarded. -
The interaction terms
$n_i \otimes n_j$ realize the Rydberg blockade mechanism.
The interaction terms prevent neighboring sites from being excited simultaneously, while the terms involving
For more information, please refer to:
Participants are expected to build a parameterized quantum circuit to classify measurement data. The exact architecture — including encoding scheme, number of qubits, and circuit layers — is up to you.
The following reading might inspire your quantum circuit:
- Sim et al., Expressibility and Entangling Capability of Parameterized Quantum Circuits for Hybrid Quantum‐Classical Algorithms (2019), arXiv:1905.10876
Each data point consists of:
- A list of
$T$ measurement outcomes, each a list of$n$ elements$s_j^{(i,t)} \in \lbrace\text{"g"}, \text{"r"}, \text{"+"}, \text{"-"}, \text{"+i"}, \text{"-i"}\rbrace$ - A label
$y^{(i)}$ such as"Z2"
indicating the phase
Example:
It is up to you to choose which reduced density matrices to extract as features (e.g., 1-qubit, 2-qubit). Avoid reconstructing the full
Build a quantum circuit that:
- Takes as input reduced density matrices constructed from the measurement data
- Outputs a prediction of the quantum phase
- Is optimized for both accuracy and efficiency
Each submission will be scored using the function:
Where:
-
$A$ : accuracy on the test set -
$P$ : number of trainable parameters -
$D$ : circuit depth -
$W$ : number of qubits (circuit width)
Higher values of
This grading scheme is not rigorous - it only filters solutions. Even if your solution doesn't yield a high
In this repo you can find the following files:
FLIQ_Challenge_ClassiqDuQIS.ipynb
– the notebook with code snippets, in which you will show your solutiontraining_data.npz
– file with randomized measurements. There are 10 data points corresponding to each of the two phases studiedphase_diagram.png
– Rydberg phase diagram for a 51-particle neutral atom array
You may clone the repository locally and use your editor of choice. Alternatively, you may clone the repository into Classiq Studio - a web-based Classiq IDE. If you would like to use Classiq Studio, refer to the following guide: https://docs.classiq.io/latest/user-guide/classiq-studio/
On the submission platform, please upload the main Jupyter notebook along with any additional .py
files used for data processing. You should also include:
- The quantum program (
qprog
) saved as a.qprog
file - The trained model parameters saved as a
.npz
file using NumPy
Ensure all files necessary to reproduce your results are included in the submission.
Submission deadline: Sunday, May 18 at 08:00 UTC — mark it, set alarms, summon caffeine.
- Reduced density matrices of small subsystems may already carry enough information about the phase.
- Consider different encoding strategies such as angle or amplitude encoding. You can find the pre-defined Classiq method for angle encoding here
- You may apply classical preprocessing, but the model must ultimately be quantum.