Help incompatible kidney donor-recipient pairs exchange recipients with quantum computing.
- Run
kepio.unzip_data() - Execute
main.py
We were looking into applications of linear programming and found kidney donation chain optimization in a textbook. There hasn't been any interest in using quantum computing for this problem, so we decided to look into it.
We use a quantum algorithm, QAOA, to solve the kidney exchange problem. We think we achieved exponential speedup.
We downloaded datasets from the internet, modernized the provided parser, wrote our own pruner and problem generator, used OpenQAOA to convert the BIP to an Ising model, used PennyLane to simulate QAOA, used the CPLEX Python bindings, PuLP, and CBC to get classical solutions, used PuLP to filter the quantum output, and used Matplotlib to generate charts.
The SDK we plannede to use, classiq, requires manual verification of new accounts and was buggy, so we had to switch tools. OpenQAOA's DOcplex to Ising model converter threw obscure errors. Performance constraints of quantum simulation on classical computers prevented us from using datasets with more than 30 donor-recipient pairs, even with unbalanced penalization to reduce variable count. Additionally, pruning optimizations made predicting model size from dataset size challenging.
We implemented a working quantum algorithm that has an exponential speedup in many realistic cases.
We learned a lot about the applications, implementation, and analysis of quantum optimization algorithms.
We could add support for success probabilities and altruistic donors. We could run further simulations to properly optimize the hamiltonian parameters for QAOA.