Skip to main content

View on GitHub

Open this notebook in GitHub to run it yourself

What Is Network Traffic Optimization?

Network Traffic Optimization is a critical network management used in Telecommunication: Input: Weighted directed graph and a set of demands. Goal: Satisfy the demands, while minimizing the latency, without violating the two constraints. 1. Capacity per edge (unit capacity): ∑dZ(d,e)≤1\sum_d Z(d,e) \leq 1 2. Flow conservation for each demand and node The following notebook demonstrates a solution to the network traffic optimization problem, applying the QAOA algorithm.

  1. Setup

  1. Problem Definition
We define the graph by introducing six vertices (A−FA-F), V, and connecting edges, E. Three demands are introduced, each with start and terminal nodes; our goal is to find the minimal-latency disjoint routes that connect the start and terminal nodes of all the demands. Disjoint routes do not share a node at each time-step.
Output:

Visualize

output

  1. Classical Solution

Visualize

output
Output:

  1. Quantum Solution with QAOA
Output:
Output:
Output:
Output:

  1. Results Analysis
Output:
Output:

Visualize Valid Solutions

output output