Quzzi

Quantum Annealing Optimization Coding

Github Sponsorship

Welcome to Quzzi

This repository hosts experimental code which uses Quantum Annealing (QA) to solve np-hard optimization problems. The author is using the DWave Quantum Hybrid Solver as well as Simulated Annealing (SA) for this purpose.

The main interest is with solving real-world use cases within the airline industry. Code for the original functional prototype for solving Crew Trip problems is included in the code repository.

Also included in the code repository are various side problems that can help understand how to use this new technology. Solvers are implemented using Quadratic Unconstrained Binary Optimization (QUBO) using the DWave BQM and CQM.

The code is provided as an Apache 2 Open Source license.

Blog

You can find the Quzzi blog here.

Quick Start

Overview

Examples overview

Jump to specific solvers

Airline Crew Trips: Quzzi library

Strategy Problem: Solving Goat/Wolf/Cabbage riddle

Viable Configurations: Solving 8 Queens problem with BQM and CQM

Load code in Leap IDE

Load models in your D-Wave Leap Account

Sponsors!

Github Sponsorship

Catalyst ✈

The author’s initial drive behind this work was to prove that Quantum Annealing could be used to solve certain hard problems that airlines of various sizes are confronted with on a daily basis. Despite using powerful classical computing solvers used by the larger airlines, these systems continue to struggle to find optimum results within operational deadlines, especially in a world where strategies are in constant increasing flux.

Classical computing challenges

Having personally written and deployed classical solvers for some of these problems, the author’s experience with the constant battle to work around the inpractibility of brute force solvers and “right sizing” heuristic algorithms to obtain viable operational results for np-hard problems made him wish for a “chip” that would handle the combinatorics and solution landscape exploration.

Experimental code

Discovering the existance of the DWave Quantum Annealing technology in 2018, it appeared as a wish come true and he engaged in learning about and experimenting with Quantum computing in general, but more specifically how to use the DWave Quantum Computer to attempt solving the Airline Crew Trip use case.

Why consider a Quantum Annealer for optimization?

Quantum Annealing allows finding solutions to large combination problems that are hard to solve with classical computing and offers opportunities for breakthoughs in both speed and solution quality. Furthermore, to code solvers using such a Quantum computer does not require knowledge of physics (although it helps understand why it works).

Problems where there are countless “choices” to be made with consequences on cost/time as these choices interact with each other to form even greater combinations, there is an opportunity to use QA to find the best fit solutions where Classical computing can fail rooted in problem magnitude and time to solution constraints.

What is the difference between Classical and Quantum Annealing solvers?

Here is a simplistic analogy from the author’s point of view:

What to expect from the Quzzi site

Quzzi aims at making Quantum Annealing solvers more accessible and as simple as possible to anyone by sharing its own experience, through code, examples and training on methodologies.

Quzzi will be listening to anyone interested in this work and more specifically what they wish to learn from it.

Github Sponsorship

Sponsor Quzzi today and get involved to get it to work for you!