1 of 26

Hybrid Quantum-Classical Graph Neural Networks for Track Reconstruction

Cenk Tüysüz

Middle East Technical University, Ankara, Turkey

Quantum Optics and Information Meeting 5

22-23 April 2021

1

2 of 26

Outline

  • The particle track reconstruction problem
  • Quantum Computing and Machine Learning
  • Hybrid Graph Neural Network approach
  • Results
  • Comments on future improvements

Cenk Tüysüz

2

3 of 26

Large Hadron Collider (LHC)

and particle track reconstruction

High Luminosity upgrade of LHC brings many computational challenges.

Cenk Tüysüz

https://atlas.cern/updates/atlas-news/counting-collisions

ATLAS computing model

projections for Phase-2

Number of tracks is expected to be increase by 12-15 times

μ: Average number of interactions per bunch crossing

H. Gray, Track reconstruction in the ATLAS experiment, 2016.

Run 1

Run 2

Run 3

μ

21

40

150-200?

Tracks

~280

~600

~7-10k

3

4 of 26

High Luminosity LHC

High Luminosity upgrade of LHC brings many computational challenges.

Cenk Tüysüz

ATLAS computing model projections for Phase-2

Number of tracks is expected to be increase by 12-15 times

μ: Average number of interactions per bunch crossing

H. Gray, Track reconstruction in the ATLAS experiment, 2016.

Run 1

Run 2

Run 3

μ

21

40

150-200?

Tracks

~280

~600

~7-10k

4

5 of 26

TrackML Dataset

https://www.kaggle.com/c/trackml-particle-identification/overview

Cenk Tüysüz

Contains: 10k collision events (200 soft QCD interactions)

(arXiv: 1904.06778)

Retrieved from: Farrell et al. 2018 (arXiv: 1810.06111)

endcaps produce a lot of ambiguity and therefore many track candidates, we omit endcaps as we want to limit our model to simpler cases.

5

6 of 26

Hep.TrkX GNN

Segment Classification

arXiv: 1810.06111

Cenk Tüysüz

Model Scores (with 0.5 threshold):

Purity: 99.5%, Efficiency: 98.7%

Overall Accuracy: 99.5%

The project is extended with the name Exa.TrkX to continue investigating use of GNNs in track reconstruction.

https://exatrkx.github.io

arXiv:2007.00149

6

7 of 26

Quantum Graph Neural Network

Cenk Tüysüz

Node information

(3D cylindrical coordinates)

(Graph connectivity matrix)

(Graph connectivity matrix)

7

8 of 26

Preprocessing

Cenk Tüysüz

Use only the barrel region to avoid track ambiguity.

Only 100 events are used!

Use hits of particles

with pT > 1 GeV

pT distribution of an event

The preprocessing is used to reduce both the track ambiguity and the size of the dataset. Quantum Machine Learning simulations can not handle large datasets at the moment!

~15% of hits survive

|Δr/Δ𝜙|

< 0.0006

|z0|

< 200 mm

|𝜂|

< 5

apply cuts to segments

8

9 of 26

Preprocessing

Cenk Tüysüz

After preprocessing (100 events):

Total edges: 880k (true: 450k, fake: 430k)

Total nodes: 560k

edges per graph: 8783.7 +/- 1877.3

nodes per graph: 5583.1 +/- 804.4

Distribution of 100 graphs

Single Event

9

10 of 26

Edge Network

Cenk Tüysüz

Edge

Features

Edge Network:

Input: Node information of each edge

Learn edge features

Node i (vi)

Node j (vj)

vi = [ri, ϕi, zi, (hi1, … , hiN )]

vj = [rj, ϕj, zj, (hj1, … , hjN )]

N = hidden dimension size

Edge Network

[vi , vj ]

eij

= 0 if edge is fake

= 1 if edge is true

10

11 of 26

Node Network

Cenk Tüysüz

i

Target Node (vt )

Neighbour Nodes

(vi , vj , vk )

Node Network:

Input: Triplet node information

Learns hidden node features

i

vinput = vj . ejt + vk . ekt

combine nodes using the output of the edge network

voutput = vi . eit

Node Network

[vinput , voutput , vtarget ]

htarget (update hidden node features)

11

12 of 26

Q.C. for Machine Learning

Cenk Tüysüz

We can use parameterized gates to embed data in the Hilbert Space.

Then, we can use other parametrized gates that we can optimize to do tasks such as classification.

Train

Classify

Parameterized Gates

Adapted from: Sim et al. 2019 (arXiv:1905.10876)

Adapted from: Lloyd et al. 2020 (arXiv:2001.03622)

12

13 of 26

Quantum Classification

Cenk Tüysüz

arXiv: 1804.03680

13

14 of 26

Hybrid Neural Network

Cenk Tüysüz

Single Fully Connected Layer

IQC (Information Encoding Quantum Circuit): Encodes the Classical Information to Quantum States

PQC (Parametrized Quantum Circuit): Contains trainable parameters that does operations to the Quantum States on the Hilbert Space

Single Fully Connected Layer

Variational Quantum Circuit

14

15 of 26

Parametrized Quantum Circuits

Circuits are taken from (Sim et al. 2019, arXiv:1905.10876)

Cenk Tüysüz

a layer

Circuit 19:

Circuit 10:

a layer

Layers are repeated blocks of Quantum Circuits. (They can have the same or different parameters)

15

16 of 26

Parametrized Quantum Circuits

How do we choose a Quantum Circuit?

Cenk Tüysüz

There are metrics in the literature to assess the capacity of Quantum Circuits.

However, they haven’t been shown to have correlation with their learning capacity (yet)!

(Sim et al. 2019 (arXiv:1905.10876))

16

17 of 26

Training Results

Number of Layers (Niteration = 3, qc = 19, Nhid = 4, Nqubits = 4)

Cenk Tüysüz

AUC: Area Under ROC, a measure of accuracy for different thresholds.

AUC = 1.0 means perfect score.

Training set: 50 graphs, Test set: 50 graphs, using ADAM, binary cross entropy, lr = 0.01, analytic results.

NLayers has a positive effect on the performance as expected!

17

18 of 26

Training Results

Hidden Dimension Size (Nqubits = Nhid , Nlayers = 1, Niteration = 3)

Cenk Tüysüz

AUC: Area Under ROC, a measure of accuracy for different thresholds.

AUC = 1.0 means perfect score.

Training set: 50 graphs, Test set: 50 graphs, using ADAM, binary cross entropy, lr = 0.01, analytic results.

Hidden Dimension size has a positive effect on the performance as expected.

18

19 of 26

Training Results

Number of Iterations (Nqubits = 4, Nhid = 4, Nlayers = 1)

Cenk Tüysüz

AUC: Area Under ROC, a measure of accuracy for different thresholds.

AUC = 1.0 means perfect score.

Training set: 50 graphs, Test set: 50 graphs, using ADAM, binary cross entropy, lr = 0.01, analytic results.

Niterations has a positive effect on the performance as expected!

(Exa.TrkX team reported 8 as the optimal amount.)

https://exatrkx.github.io

very small

19

20 of 26

Training Results

Comparing Results with Hep.TrkX (Niteration = 3, qc = 10 with 1 layer)

Farrell et al. 2018 (arXiv: 1810.06111)

Cenk Tüysüz

Training set: 50 graphs, Test set: 50 graphs, using ADAM, binary cross entropy, lr = 0.01, analytic results.

AUC: Area Under ROC, a measure of accuracy for different thresholds.

AUC = 1.0 means perfect score.

Our approach shows similar characteristics.

But, it can achieve better AUC and loss with better circuits and more layers!

20

21 of 26

Conclusion

QGNN results are promising.

They can achieve similar performance compared to a novel classical model. However, there are still challenges to use this algorithm on a Quantum Computer.

Cenk Tüysüz

How to improve?

  • Use more layers.

  • Explore different circuits.

  • Explore different architectures.

  • Use more events.

Challenges

  • Simulation times are long. Quantum models are hard to simulate. (Training takes 1-2 days depending on model complexity)

Things to explore

  • Effects of hardware and shot noise.

  • Complete overview with more layers and iterations.

21

22 of 26

Contributors

Cenk Tüysüz

C. Tüysüz1, C. Rieger2, K. Novotny3, B. Demirköz1, D. Dobos3,4, K. Potamianos3,5, S. Vallecorsa6, J.R. Vlimant7, Richard Forster3

1Middle East Technical University, Ankara, Turkey, 2ETH Zurich, Zurich, Switzerland,

3gluoNNet, Geneva, Switzerland,

4Lancaster University, Lancaster, UK,

5Oxford University, Oxford, UK,

6CERN, Geneva, Switzerland,

7California Institute of Technology, Pasadena, California, USA,

22

23 of 26

Contributors

Cenk Tüysüz, Carla Rieger

C. Tüysüz1,2, C. Rieger8, K. Novotny4, B. Demirköz1, D. Dobos4,6,

K. Potamianos4,5, S. Vallecorsa3, J.R. Vlimant7

1Middle East Technical University, Ankara, Turkey, 2STB Research, Ankara, Turkey, 3CERN, Geneva, Switzerland, 4gluoNNet, Geneva, Switzerland, 5Oxford University, Oxford, UK, 6Lancaster University, Lancaster, UK, 7California Institute of Technology, Pasadena, California, USA, 8ETH Zurich, Zurich, Switzerland

23

24 of 26

Thank you.

Email: ctuysuz@cern.ch

Twitter: @cenk_tuysuz

Cenk Tüysüz

Results shown here will be published soon, with a complete overview.

You can refer to our recent conference paper for previous results: arXiv:2012.01379

The current code base will be public with the release of the paper.

You can refer to our old codebase: https://github.com/cnktysz/HepTrkX-quantum

24

25 of 26

Backup Slides

Cenk Tüysüz

25

26 of 26

Information Encoding Quantum Circuit

Cenk Tüysüz

Simple Angle Encoding Circuit:

Requires Nqubits = Size of the input

Single Qubit Bloch Sphere Representation

We limit the use of full bloch sphere for two reasons:

  • Full circle prevents a 1-1 relation between data and measurements
  • Use of full sphere requires complex PQCs (on our radar for future improvements)

xi [0, 𝜋]

26