Özlem Salehi
11.10.2022
Qiskit Quantum Explorers
Quantum Women Invited Talk Series
B.S. in Mathematics
Boğaziçi University, Turkey, 2011
M.S. in Computer Engineering
Boğaziçi University, Turkey, 2013
Ph.D. in Computer Engineering
Boğaziçi University, Turkey, 2019
Teaching assistant
Boğaziçi University, Turkey, 2011 - 2019
Instructor
Özyeğin University, Turkey, 2019 - 2021
Postdoctoral researcher
Institute of Theoretical and Applied Informatics Polish Academy of Sciences, Poland, 2021 -
RESEARCH
Main Focus: Solving optimization problems using quantum computing in the NISQ era
Zhou, Leo, et al. "Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices." Physical Review X 10.2 (2020): 021067.
Follows the adiabatic evolution defined through time-dependent Hamiltonian
\(H(t) =\frac{1-t}{\tau} \:H_{\rm mix} + \frac{t}{\tau}\: H_c\)
Slow evolution during time \(\tau\)
Quantum Adiabatic Theorem: A quantum system that starts in the ground state of a time-dependent Hamiltonian, remains in the in the instantaneous ground state provided the Hamiltonian changes sufficiently slowly.
Implemented by D-Wave quantum annealers
Some conditions of AQC are relaxed in QA resulting in a heuristic algorithm
\(\displaystyle \min.~\sum_{i} Q_{i,i} x_i + \sum_{i<j} Q_{i,j}x_i x_j \)
Constrained problem:
\(\min.~~ f(x_1,x_2)\)
\(s.t.~~~~x_1+x_2\geq 1\)
1, node \(i\) is visited at step \(t\) in the tour
0, otherwise
\(\displaystyle \sum_{i=0}^{n-1} b_{t,i}=1\) for all \(t=0,\dots,n-1\)
City \(i\) is visited
exactly once
\(\displaystyle \sum_{t=0}^{n-1} b_{t,i}=1\) for all \(i=0,\dots,n-1\)
At time \(t\) exactly one city is visited
Constraints
Objective
If both variables are 1, this means \(ij\) is traversed at time \(t\)
\(b_{t,i}\)
\(\displaystyle \sum_{\substack{i,j=0 \\ i\neq j }}^{n-1} W_{ij} \)
\(\displaystyle \sum_{t=0}^{n-1}b_{t,i}b_{t+1,j}\)
Express your problem as a
Quadratic
Unconstrained
Binary
Optimatization
problem
Obtain the equivalent Ising model
Use QA to find the variable assignment that minimizes energy
\(\displaystyle \sum_{i} Q_{i,i} x_i + \sum_{i<j} Q_{i,j}x_i x_j \)
\(x_i \mapsto \frac{s_i+1}{2}\)
\(\displaystyle \sum_{i} h_i s_i + \sum_{i<j} J_{i,j}s_i s_j \)
Travelling Salesman with Time Windows
Music generation
Music reduction
Test vehicle optimization
Railway dispatching problem
Constraints
Objective
Salehi, Ö., Glos, A. and Miszczak, J.A., 2022. Unconstrained binary models of the travelling salesman problem variants for quantum optimization. Quantum Information Processing, 21(2), pp.1-30.
Aim: Find a closed route with minimum cost that visit each city exactly once obeying each city's time window.
Aim: Generate a melodic sequence of pitches
Pitches
that is plausible to the ear!
How to formulate this as an optimization process?
Arya, A., Botelho, L., Cañete, F., Kapadia, D., & Salehi, Ö. (2022). Music Composition Using Quantum Annealing. to appear in Quantum Computer Music: Foundations, Methods and Advanced Concepts : Springer, 2022.
Aim: Given a music piece with T tracks, obtain a new music with M<T tracks keeping the characteristics of the song as much as possible
Glos, A., Kundu, A. and Salehi, Ö., 2022. Optimizing the Production of Test Vehicles using Hybrid Constrained Quantum Annealing. arXiv preprint arXiv:2203.15421.
Aim: Given a list of tests, requiring cars with certain features, find the minimum number of cars that cover the tests and obey the configuration rules
Domino, K., Kundu, A., Salehi, Ö. and Krawiec, K., 2022. Quadratic and higher-order unconstrained binary optimization of railway rescheduling for quantum computing. Quantum Information Processing, 21(9), pp.1-33.
Aim: Reduce delay propagation in railway systems in case of disruptions by rescheduling and rerouting
Objective: Minimize weighted additional delay
Constraints reflect minimal headway between trains, minimal stay on stations, station/track occupation, and rolling stock circulation on double-track and multi-track lines.
Zhou, Leo, et al. "Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices." Physical Review X 10.2 (2020): 021067.
For the gate based model
\(\gamma_i\) and \(\beta_i\) optimized by external classical procedure
$$|\gamma,\beta\rangle = \prod_{i=1}^p \exp(-\mathrm{i} \beta_iH_{\rm mix})\exp(-\mathrm{i} \gamma_iH_c) |+^n\rangle $$
Can be viewed as a trotterization of AQC
$$|\gamma,\beta\rangle = \prod_{i=1}^p \exp(-\mathrm{i} \beta_iH_{\rm mix})\exp(-\mathrm{i} \gamma_iH_c) |+^n\rangle $$
Typical initial state
\(-\sum_i X_i\) s.t. eigenstate of \(X\) is \(|+\rangle\)
\(2p\) parameters required for \(p\) layers
Expectation \(\langle \gamma,\beta| H_c | \gamma, \beta \rangle \) is approximated by measurement in the computational basis
$$|\gamma,\beta\rangle = \prod_{i=1}^p \exp(-\mathrm{i} \beta_iH_{\rm mix})\exp(-\mathrm{i} \gamma_iH_c) |s\rangle $$
Subspace of the full Hilbert space containing all feasible states
Should preserve the space
Example: One-hot states and XY Mixer
\(b_{0,0}\)
\(b_{0,1}\)
\(b_{0,2}\)
\(b_{1,0}\)
\(b_{1,1}\)
\(b_{1,2}\)
\(b_{2,0}\)
\(b_{2,1}\)
\(b_{2,2}\)
\(t=0\)
\(t=1\)
\(t=2\)
Botelho, L., Glos, A., Kundu, A., Miszczak, J. A., Salehi, Ö., & Zimborás, Z. (2022). Error mitigation for variational quantum algorithms through mid-circuit measurements. Physical Review A, 105(2), 022441.
Ideally, quantum state of the system should be a superposition of valid states throughout the evolution.
For TSP with one-hot encoding, product of one-hot states
Idea: Detect and remove unvalid states during the evolution
If \(|s\rangle\) is not a valid state, ancilla will no longer be in \(|0\cdots0\rangle\) state
\(\implies\) Measure ancilla and continue if it is all 0
1000, 1100, 1110, 1111
1000, 0100, 0010, 0001
00, 01, 10, 11
For one-hot states, apply the conversion circuit from one-hot to binary
Check if bits are 0
We introduce an alternative way for implementing QAOA that allows reaching near-optimal cost metrics
Idea: Start with a classical pseudo-code function and implement it using a quantum circuit
State of the art
\(b_i \leftarrow \frac{1-s_i}{2}\)
Start with a
QUBO or HOBO
Get the corresponding Ising model
Implement each term in the expression
QUBO: \(\min.~\displaystyle \frac{1}{2}\sum_{(i,j) \in E}2x_ix_j - x_i - x_j \)
Ising model: \(\min.~ \displaystyle \frac{1}{2}\sum_{(i,j) \in E} (s_is_j-1)\)
\(\implies \min. \displaystyle \sum_{(i,j) \in E} s_is_j \)
\(\displaystyle \sum_{(i,j) \in E} Z_iZ_j \)
Corresponding Hamiltonian:
\(x_i \leftarrow \frac{1-s_i}{2}\)
https://qiskit.org/textbook/ch-applications/qaoa.html
\(b_i \leftarrow \frac{1-s_i}{2}\)
\(H = -\prod_{i=1}^n b_i\)
\(b_i \in \{0,1\}\)
Exponential number of CNOT gates!
Exponential number of terms !
\(H = -\frac{1}{2^n} \prod_{i=1}^n (1-s_i)\)
\(s_i \in \{-1,1\}\)
\(O(n^2)\) gates on LNN!
\(H = -\frac{1}{2^n} \prod_{i=1}^n (1-s_i)\)
\(s_i \in \{-1,1\}\)
Yet, there exists another efficient circuit
Claim: FUNC-QAOA allows near-optimal circuit designs for various problems
New Idea: Start with a classical pseudocode function
FUNC-QAOA
Mixer: Grover-mixer
Initial state: Product of equal superposition of valid cities
Encoding: Binary
Each \(b_t\) (which represents in binary city visited at time \(t\)) is initialized as the equal superposition of valid cities
Idea:
Count occurrence of each city in modulo 2
If they are not all 1, penalize
Idea:
Switch from time-to-city to city-to-city representation
QUESTIONS