SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Genomics Algorithms
on digital NISQ accelerators
25th Jan 2019
Universitat Politècnica de València
Aritra Sarkar
aaw.reet.tro syor.kaar
PhD candidate, QuTech
Delft University of Technology
QGS Roadmap
Theoretical QGS
Perfect qubits
Many qubits
Theoretical QGS
Perfect qubits
Less qubits
Integrated QGS
Noisy qubits
Less qubits
Hardware QGS
Noisy qubits
Less qubits
Supremacy QGS
Noisy qubits
Less qubits
Useful QGS
FT qubits
Many qubits
 NISQ: Noisy Intermediate-Scale Quantum
Phase II/IIIPhase I
Quantum accelerator for genomics
Quantum Complexity Theory
Quantum Algorithms
Computing Applications
Architecture-aware Implementations
2-40 EB/year
Genomical Big Data
QISA0
cqIR
WGS pipeline
What it is (not)?
Quantum
Biology
- “if evolution is smart enough to create a creature who understands QM, it must be using it for itself”
naturally occurring QM phenomena advantages, not necessarily for Computational purpose
e.g. photosynthesis, navigation in birds, neurons firing, … (sense of smell, emotions, past life, etc.…. keeps getting weirder)
Quantum
Genomics
Quantum-mechanical
Sequencing
Quantum-accelerated
Analysis
Sequencing
Gen2
NGS
Gen3
SMS
Gen1
Illumina
Roche 454
~100 bp
parallelism
high yield
Sanger
~1000 bp
Pacific Biosciences
Oxford Nanopore
~10000 bp
Overlap
Layout
Consensus
Pairwise
alignment
de Bruijn
k-mer
Analysis
Sorting
Deduplication
Variant
Calling
Reconstruction
De novoAb initio
(reference-based)
alignment/mapping
(reference-free)
assembly
Exact Heuristic
Approximate
Optimal
…
for each short read in sample:
do:
find index in reference genome
assess answer
while (result not satisfactory)
save short read matched index
reconstruct sequenced genome
…
Quantum accelerator
QASM
Simulator
multi-qubit regime target algorithm
current techs. have ~50 physical qubits
current Q Processor designs are not well scalable
exponentially difficult to simulate qubits
large planar topology yet to be implemented
full connectivity to specific topology can be compiled
number of gates related to total decoherence of result
gate fidelity guarantee with QEC codes
universal set to allow full domain exploration
Unlimited
Qubits
Unlimited
Gates
space complexity is a
critical design parameter
~ 50 bound for
feasible QX simulation
full connectivity
(complete graph)
time complexity is a
critical design parameter
Gate Fidelity = 1 (no errors)
available gates
(σX/Y/Z, H, CX, CZ, Rθ, Toffoli)
Platforms
• Quantum Infinity
– DiCarlo lab (QuTech)
– Simulator (QX and QuantumSim)
– Superconducting qubits
• Quantum Inspire
– QuTech (TU Delft + TNO)
– ~ 37 qubits simulator on Cartesius supercomputer with SURFsara
– Semiconducting qubits
Quantum HLL
• OpenQL (inspired by OpenCL)
• Programs (Kernels (Operations))
– Decompose: Toffoli, Control, Unitary, Rotation, CX-CZ
– Optimize: Cancel UU†
– Scheduling: ASAP, ALAP, Balanced
– Mapping: Surface-17 connectivity routing
– QASM: cQASM, eQASM (topology, resource constraints)
• Other features:
– Conjugate uncompute
– Classical logical/comparative operations
– Language features
• Recursion, loops, functions
• Libraries like NumPy, Matplotlib
Configure Platform
Create Program
Create Kernels
Populate each Kernel
Add Kernels to Program
Compile Program
IDE with circuit designer
10
• Map-to-reference alignment vs. De-novo assembly - right candidate for near-term Q acceleration?
– Try both for now. More on that to follow...
• Throughput on CPU vs GPU?
– Compare Q algorithm with single-core single-threaded clock cycles
• Will the developed algorithm solve a real bioinformatics problem faster than classical HPC?
1. Make the Q algorithm work for a small artificial sequence (algorithm functionality check)
2. Make the Q algorithm work for a real GS problem (need not be new or faster than sota algorithms)
3. Mapping and Error Correction
4. Step 1 in physical Q hardware
5. Step 2 in physical Q hardware
6. Make the Q algorithm work for a real GS problem (faster than classical algorithm)
7. Make the Q algorithm work for a new GS problem (inaccessible by classical methods)
• How many qubits are ok in NISQ-era?
– Attack from opposite perspective. What is the minimum number of qubits that are required to solve QGS?
• How to load reference genome for each run more effectively from classical data?
– Open: Pipelining or partial cloning. After algorithm’s functional design.
• How accurate or fast should the algorithm be?
– Note: Simulation time scales exponentially with operations (not true for Q hardware)
FAQs
Q supremacy
PhD scope
Algorithm
11
Genomics optimization
Max-Cut
Hamiltonian Path
Hamiltonian Cycle
Vertex Cover
Shortest Common
Superstring
Clique
Boolean
Satisfiability
Knapsack
Travelling
Salesman Problem
Vehicle Routing
ProblemGraph Colouring
QAOA
VQE
De novo
Sequencing
Smith-Waterman
Algorithm
Independent
Set
…
for each short read from classical memory:
map to Hamiltonian Cycle
map to Vertex Cover
map to Max-Cut
convert to quantum compatible datatype
do:
load data in quantum memory
run QAOA
run VQE
measure quantum state
find solution of VQE
find solution of QAOA
find solution of Max-Cut; Vertex Cover; Hamiltonian Cycle
assess solution of Genomics problem
while (result not satisfactory)
reconstruct sequenced genome
…
12
Pattern matching
DNA Fingerprinting Motif FindingAmino-acid Sequencing
Pattern based Trading Object RecognitionSpeech Recognition
18x18 px
17 qubits
~ 50k gates
Exact matching
13
Near-term algorithms
• Peter Shor’s estimates
– Without QEC, Shor’s algorithm needs ~5k qubits to factor cryptographically significant numbers
– With error correction, ~1 million
– ~100 millions gate operations
• Near-Term Quantum Algorithms
– runs on few qubits (low depth circuits) without extensive QEC (small-codes)
– enough qubits to just store the problem (hard to do better)
– still solve useful problems with local constraints
– Adaptable optimization algorithms (easy to map to problem)
• Genetic Algorithm / Evolutionary Programs
• Simulated Annealing
• Deep Learning
• QAOA: The Quantum Master Algorithm
https://www.bcg.com/en-ca/publications/2018/next-decade-quantum-computing-how-play.aspx
14
Variational Quantum Eigensolver
• Quantum/classical Hybrid algorithm
– Parameterised quantum subroutine is run within a classical optimization loop
– Prepare the quantum state | ൿ𝜓 Ԧ𝜃 , often called the ansatz
– Measure the expectation value ൻ𝜓 Ԧ𝜃 ℋ ൿ𝜓 Ԧ𝜃
• Variational theorem
– Expectation value ℋ ۧ|𝑎𝑛𝑠𝑎𝑡𝑧 ≥ λ1 (smallest eigenvalue; lowest energy; ground-state)
• Find an optimal choice of real-valued parameters Ԧ𝜃 such that the expectation value is minimised
• Heuristic
– No general recipe of ansatz definition that universally works well for all VQE problem
• Ansatz Learning
– Selection of the initial state is arbitrary
• Gained popularity as in some cases it is resistant to a quantum gate noise
– However not to a measurement noise
ℋ ≡ Hamiltonian (not Hadamard, in this context)
15
Quantum Approximate Optimization Algorithm
• Approximate algorithm
– NP-Hard problem
– Polynomial-time solution every instance with guaranteed quality
– QAOA is interesting because of its potential to exhibit quantum supremacy
• Structure
– 2 parameterized Ising-type Hamiltonian
• Cost function (problem soft constraints)
• Driver/Mixing function (solution space hard constraints)
– for QA, Hm is fixed by hardware
– Classical parameter optimizer
• Rigetti Grove’s implementation of the QAOA uses the VQE module backend
– pyQAOA package contains separate modules for each type of problem instance: Max-Cut & graph partitioning
16
NP-hard problems
• Vertex Cover: 𝑆 ⊆ 𝑉 (vertex set) such that each edge of the graph is incident to at least one vertex in 𝑆
• Max-Cut: 𝑆 ⊆ 𝑉 (vertex set) such that the number of edges between 𝑆 and ҧ𝑆 is as large as possible
– Analytically: at least one of the solutions of Max-Cut will be the Minimum Vertex-Cover (Min Vertex-Cover has Max-Cut)
– QAOA identifies the ground state of the Hamiltonian by evolving from a reference state
• The reference state is generated by a Hadamard gate on each qubit from all zero state
0
011110
100001
543210
1
2
34
5
111110
000001
101110
010001
Iteration 1 Iteration 6
17
Variational Quantum Search
• Variationally Learning Grover’s Quantum Search Algorithm
• How this performs for approximate search?
Grover search vs. VQS
1 soln. max prob. w.r.t. qubits
18
Hybrid C/Q programming in OpenQL
• Programming Platform Support
– Classical instructions
– Target classical processor
– Real-time parameter specification
– Unitary decomposition
• Survey of available libraries
– Tutorial for each platforms (QWorld Jupyter notebooks)
• Currently QISKIT (IBM) and Forest (Rigetti) done
– Derive requirement for OpenQL
19
Current To-Do Summary
• Algorithm development (primary focus)
– Design a Variational Approximate Quantum Search Algorithm for DNA sequence alignment
– Map De novo Sequencing problem to QAOA
– Can the ansatz be evolved or learned?
• Platform development
– Implement Rigetti Forest’s maxcut, qaoa and vqe libraries and classical optimisers (like Nelder-Meed) on
OpenQL
• How many primitive gates and qubits does it get decomposed to?
• How do the classical and quantum parts interact?
– How to efficiently implement a QGS algorithm on the micro-architecture?
• e.g. format and procedure to load/store the DNA data
Genomics Algorithms
on digital NISQ accelerators
Aritra Sarkar
Quantum Computer Architecture Lab
QuTech and Department of Quantum & Computer Engineering
Delft University of Technology

Mais conteúdo relacionado

Mais procurados

Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18
Aritra Sarkar
 
Quantum computing for CS students: open source software
Quantum computing for CS students: open source softwareQuantum computing for CS students: open source software
Quantum computing for CS students: open source software
Bruno Fedrici, PhD
 
A Gomez TimTrack at C E S G A
A Gomez  TimTrack at C E S G AA Gomez  TimTrack at C E S G A
A Gomez TimTrack at C E S G A
Miguel Morales
 

Mais procurados (20)

Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18
 
2017 10 17_quantum_program_v2
2017 10 17_quantum_program_v22017 10 17_quantum_program_v2
2017 10 17_quantum_program_v2
 
Programming Existing Quantum Computers
Programming Existing Quantum ComputersProgramming Existing Quantum Computers
Programming Existing Quantum Computers
 
2017 07 04_cmmse_quantum_programming_v1
2017 07 04_cmmse_quantum_programming_v12017 07 04_cmmse_quantum_programming_v1
2017 07 04_cmmse_quantum_programming_v1
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Quantum programming
Quantum programmingQuantum programming
Quantum programming
 
High Performance Systems Without Tears - Scala Days Berlin 2018
High Performance Systems Without Tears - Scala Days Berlin 2018High Performance Systems Without Tears - Scala Days Berlin 2018
High Performance Systems Without Tears - Scala Days Berlin 2018
 
Ibm quantum computing
Ibm quantum computingIbm quantum computing
Ibm quantum computing
 
Planqc2020 codar
Planqc2020 codarPlanqc2020 codar
Planqc2020 codar
 
Quantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AIQuantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AI
 
NSC #2 - D1 05 - Renaud Lifchitz - Quantum computing in practice
NSC #2 - D1 05 - Renaud Lifchitz - Quantum computing in practiceNSC #2 - D1 05 - Renaud Lifchitz - Quantum computing in practice
NSC #2 - D1 05 - Renaud Lifchitz - Quantum computing in practice
 
Quantum computing for CS students: open source software
Quantum computing for CS students: open source softwareQuantum computing for CS students: open source software
Quantum computing for CS students: open source software
 
The Search for Gravitational Waves
The Search for Gravitational WavesThe Search for Gravitational Waves
The Search for Gravitational Waves
 
Pimp my gc - Supersonic Scala
Pimp my gc - Supersonic ScalaPimp my gc - Supersonic Scala
Pimp my gc - Supersonic Scala
 
The second quantum revolution: the world beyond binary 0 and 1
The second quantum revolution: the world beyond binary 0 and 1The second quantum revolution: the world beyond binary 0 and 1
The second quantum revolution: the world beyond binary 0 and 1
 
Quantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit modelQuantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit model
 
A petri-net
A petri-netA petri-net
A petri-net
 
A Gomez TimTrack at C E S G A
A Gomez  TimTrack at C E S G AA Gomez  TimTrack at C E S G A
A Gomez TimTrack at C E S G A
 
Tall and Skinny QRs in MapReduce
Tall and Skinny QRs in MapReduceTall and Skinny QRs in MapReduce
Tall and Skinny QRs in MapReduce
 
Quantum Roles in Quantum Computing
Quantum Roles in Quantum ComputingQuantum Roles in Quantum Computing
Quantum Roles in Quantum Computing
 

Semelhante a Genomics algorithms on digital NISQ accelerators - 2019-01-25

EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13
Paul Brodbeck
 

Semelhante a Genomics algorithms on digital NISQ accelerators - 2019-01-25 (20)

開発者が語る NVIDIA cuQuantum SDK
開発者が語る NVIDIA cuQuantum SDK開発者が語る NVIDIA cuQuantum SDK
開発者が語る NVIDIA cuQuantum SDK
 
SW/HW co-design for near-term quantum computing
SW/HW co-design for near-term quantum computingSW/HW co-design for near-term quantum computing
SW/HW co-design for near-term quantum computing
 
preskill.pptx
preskill.pptxpreskill.pptx
preskill.pptx
 
Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and How
 
Des2017 quantum computing_final
Des2017 quantum computing_finalDes2017 quantum computing_final
Des2017 quantum computing_final
 
Strengths and limitations of quantum computing
Strengths and limitations of quantum computingStrengths and limitations of quantum computing
Strengths and limitations of quantum computing
 
QGATE 0.3: QUANTUM CIRCUIT SIMULATOR
QGATE 0.3: QUANTUM CIRCUIT SIMULATORQGATE 0.3: QUANTUM CIRCUIT SIMULATOR
QGATE 0.3: QUANTUM CIRCUIT SIMULATOR
 
[Q-tangled 22] Deconstructing Quantum Machine Learning Algorithms - Sasha Laz...
[Q-tangled 22] Deconstructing Quantum Machine Learning Algorithms - Sasha Laz...[Q-tangled 22] Deconstructing Quantum Machine Learning Algorithms - Sasha Laz...
[Q-tangled 22] Deconstructing Quantum Machine Learning Algorithms - Sasha Laz...
 
What is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is ImportantWhat is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is Important
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Alfonso Senatore
Alfonso SenatoreAlfonso Senatore
Alfonso Senatore
 
Quantum & AI in Finance
Quantum & AI in FinanceQuantum & AI in Finance
Quantum & AI in Finance
 
Performance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming ModelPerformance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming Model
 
Quantum & AI in Finance
Quantum & AI in FinanceQuantum & AI in Finance
Quantum & AI in Finance
 
QuantumFuzzylogic
QuantumFuzzylogicQuantumFuzzylogic
QuantumFuzzylogic
 
Quantum Fuzzy Logic
Quantum Fuzzy LogicQuantum Fuzzy Logic
Quantum Fuzzy Logic
 
Værktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmerVærktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmer
 
Quantum Information FINAL.pptx
Quantum Information FINAL.pptxQuantum Information FINAL.pptx
Quantum Information FINAL.pptx
 
EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 

Mais de Aritra Sarkar

Mais de Aritra Sarkar (16)

CV Aritra 08-2020
CV Aritra 08-2020CV Aritra 08-2020
CV Aritra 08-2020
 
ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15
 
Ccsds based file delivery protocol (cfdp) v1p3
Ccsds based file delivery protocol (cfdp) v1p3Ccsds based file delivery protocol (cfdp) v1p3
Ccsds based file delivery protocol (cfdp) v1p3
 
Optimized Multi-agent Box-pushing - 2017-10-24
Optimized Multi-agent Box-pushing - 2017-10-24Optimized Multi-agent Box-pushing - 2017-10-24
Optimized Multi-agent Box-pushing - 2017-10-24
 
Computer-Vision based Centralized Multi-agent System on Matlab and Arduino Du...
Computer-Vision based Centralized Multi-agent System on Matlab and Arduino Du...Computer-Vision based Centralized Multi-agent System on Matlab and Arduino Du...
Computer-Vision based Centralized Multi-agent System on Matlab and Arduino Du...
 
Jupiter - The gas giant - 2012-11-06
Jupiter - The gas giant - 2012-11-06Jupiter - The gas giant - 2012-11-06
Jupiter - The gas giant - 2012-11-06
 
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
 
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
 
Fractal Rendering in Developer C++ - 2012-11-06
Fractal Rendering in Developer C++ - 2012-11-06Fractal Rendering in Developer C++ - 2012-11-06
Fractal Rendering in Developer C++ - 2012-11-06
 
Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...
Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...
Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...
 
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
 
Artificial Intelligence for Robotics - Statement of Accomplishment
Artificial Intelligence for Robotics - Statement of AccomplishmentArtificial Intelligence for Robotics - Statement of Accomplishment
Artificial Intelligence for Robotics - Statement of Accomplishment
 
Machine Learning - Statement of Accomplishment
Machine Learning - Statement of AccomplishmentMachine Learning - Statement of Accomplishment
Machine Learning - Statement of Accomplishment
 
Introduction to Artificial Intelligence - Statement of Accomplishment
Introduction to Artificial Intelligence - Statement of AccomplishmentIntroduction to Artificial Intelligence - Statement of Accomplishment
Introduction to Artificial Intelligence - Statement of Accomplishment
 
Quantum Mechanics and Quantum Computation - Statement of Accomplishment
Quantum Mechanics and Quantum Computation - Statement of AccomplishmentQuantum Mechanics and Quantum Computation - Statement of Accomplishment
Quantum Mechanics and Quantum Computation - Statement of Accomplishment
 
Aritra Sarkar - Curriculum vitae
Aritra Sarkar - Curriculum vitaeAritra Sarkar - Curriculum vitae
Aritra Sarkar - Curriculum vitae
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Genomics algorithms on digital NISQ accelerators - 2019-01-25

  • 1. Genomics Algorithms on digital NISQ accelerators 25th Jan 2019 Universitat Politècnica de València Aritra Sarkar aaw.reet.tro syor.kaar PhD candidate, QuTech Delft University of Technology
  • 2. QGS Roadmap Theoretical QGS Perfect qubits Many qubits Theoretical QGS Perfect qubits Less qubits Integrated QGS Noisy qubits Less qubits Hardware QGS Noisy qubits Less qubits Supremacy QGS Noisy qubits Less qubits Useful QGS FT qubits Many qubits  NISQ: Noisy Intermediate-Scale Quantum Phase II/IIIPhase I
  • 3. Quantum accelerator for genomics Quantum Complexity Theory Quantum Algorithms Computing Applications Architecture-aware Implementations 2-40 EB/year Genomical Big Data QISA0 cqIR
  • 5. What it is (not)? Quantum Biology - “if evolution is smart enough to create a creature who understands QM, it must be using it for itself” naturally occurring QM phenomena advantages, not necessarily for Computational purpose e.g. photosynthesis, navigation in birds, neurons firing, … (sense of smell, emotions, past life, etc.…. keeps getting weirder) Quantum Genomics Quantum-mechanical Sequencing Quantum-accelerated Analysis Sequencing Gen2 NGS Gen3 SMS Gen1 Illumina Roche 454 ~100 bp parallelism high yield Sanger ~1000 bp Pacific Biosciences Oxford Nanopore ~10000 bp Overlap Layout Consensus Pairwise alignment de Bruijn k-mer Analysis Sorting Deduplication Variant Calling Reconstruction De novoAb initio (reference-based) alignment/mapping (reference-free) assembly Exact Heuristic Approximate Optimal
  • 6. … for each short read in sample: do: find index in reference genome assess answer while (result not satisfactory) save short read matched index reconstruct sequenced genome … Quantum accelerator QASM Simulator multi-qubit regime target algorithm current techs. have ~50 physical qubits current Q Processor designs are not well scalable exponentially difficult to simulate qubits large planar topology yet to be implemented full connectivity to specific topology can be compiled number of gates related to total decoherence of result gate fidelity guarantee with QEC codes universal set to allow full domain exploration Unlimited Qubits Unlimited Gates space complexity is a critical design parameter ~ 50 bound for feasible QX simulation full connectivity (complete graph) time complexity is a critical design parameter Gate Fidelity = 1 (no errors) available gates (σX/Y/Z, H, CX, CZ, Rθ, Toffoli)
  • 7. Platforms • Quantum Infinity – DiCarlo lab (QuTech) – Simulator (QX and QuantumSim) – Superconducting qubits • Quantum Inspire – QuTech (TU Delft + TNO) – ~ 37 qubits simulator on Cartesius supercomputer with SURFsara – Semiconducting qubits
  • 8. Quantum HLL • OpenQL (inspired by OpenCL) • Programs (Kernels (Operations)) – Decompose: Toffoli, Control, Unitary, Rotation, CX-CZ – Optimize: Cancel UU† – Scheduling: ASAP, ALAP, Balanced – Mapping: Surface-17 connectivity routing – QASM: cQASM, eQASM (topology, resource constraints) • Other features: – Conjugate uncompute – Classical logical/comparative operations – Language features • Recursion, loops, functions • Libraries like NumPy, Matplotlib Configure Platform Create Program Create Kernels Populate each Kernel Add Kernels to Program Compile Program
  • 9. IDE with circuit designer
  • 10. 10 • Map-to-reference alignment vs. De-novo assembly - right candidate for near-term Q acceleration? – Try both for now. More on that to follow... • Throughput on CPU vs GPU? – Compare Q algorithm with single-core single-threaded clock cycles • Will the developed algorithm solve a real bioinformatics problem faster than classical HPC? 1. Make the Q algorithm work for a small artificial sequence (algorithm functionality check) 2. Make the Q algorithm work for a real GS problem (need not be new or faster than sota algorithms) 3. Mapping and Error Correction 4. Step 1 in physical Q hardware 5. Step 2 in physical Q hardware 6. Make the Q algorithm work for a real GS problem (faster than classical algorithm) 7. Make the Q algorithm work for a new GS problem (inaccessible by classical methods) • How many qubits are ok in NISQ-era? – Attack from opposite perspective. What is the minimum number of qubits that are required to solve QGS? • How to load reference genome for each run more effectively from classical data? – Open: Pipelining or partial cloning. After algorithm’s functional design. • How accurate or fast should the algorithm be? – Note: Simulation time scales exponentially with operations (not true for Q hardware) FAQs Q supremacy PhD scope Algorithm
  • 11. 11 Genomics optimization Max-Cut Hamiltonian Path Hamiltonian Cycle Vertex Cover Shortest Common Superstring Clique Boolean Satisfiability Knapsack Travelling Salesman Problem Vehicle Routing ProblemGraph Colouring QAOA VQE De novo Sequencing Smith-Waterman Algorithm Independent Set … for each short read from classical memory: map to Hamiltonian Cycle map to Vertex Cover map to Max-Cut convert to quantum compatible datatype do: load data in quantum memory run QAOA run VQE measure quantum state find solution of VQE find solution of QAOA find solution of Max-Cut; Vertex Cover; Hamiltonian Cycle assess solution of Genomics problem while (result not satisfactory) reconstruct sequenced genome …
  • 12. 12 Pattern matching DNA Fingerprinting Motif FindingAmino-acid Sequencing Pattern based Trading Object RecognitionSpeech Recognition 18x18 px 17 qubits ~ 50k gates Exact matching
  • 13. 13 Near-term algorithms • Peter Shor’s estimates – Without QEC, Shor’s algorithm needs ~5k qubits to factor cryptographically significant numbers – With error correction, ~1 million – ~100 millions gate operations • Near-Term Quantum Algorithms – runs on few qubits (low depth circuits) without extensive QEC (small-codes) – enough qubits to just store the problem (hard to do better) – still solve useful problems with local constraints – Adaptable optimization algorithms (easy to map to problem) • Genetic Algorithm / Evolutionary Programs • Simulated Annealing • Deep Learning • QAOA: The Quantum Master Algorithm https://www.bcg.com/en-ca/publications/2018/next-decade-quantum-computing-how-play.aspx
  • 14. 14 Variational Quantum Eigensolver • Quantum/classical Hybrid algorithm – Parameterised quantum subroutine is run within a classical optimization loop – Prepare the quantum state | ൿ𝜓 Ԧ𝜃 , often called the ansatz – Measure the expectation value ൻ𝜓 Ԧ𝜃 ℋ ൿ𝜓 Ԧ𝜃 • Variational theorem – Expectation value ℋ ۧ|𝑎𝑛𝑠𝑎𝑡𝑧 ≥ λ1 (smallest eigenvalue; lowest energy; ground-state) • Find an optimal choice of real-valued parameters Ԧ𝜃 such that the expectation value is minimised • Heuristic – No general recipe of ansatz definition that universally works well for all VQE problem • Ansatz Learning – Selection of the initial state is arbitrary • Gained popularity as in some cases it is resistant to a quantum gate noise – However not to a measurement noise ℋ ≡ Hamiltonian (not Hadamard, in this context)
  • 15. 15 Quantum Approximate Optimization Algorithm • Approximate algorithm – NP-Hard problem – Polynomial-time solution every instance with guaranteed quality – QAOA is interesting because of its potential to exhibit quantum supremacy • Structure – 2 parameterized Ising-type Hamiltonian • Cost function (problem soft constraints) • Driver/Mixing function (solution space hard constraints) – for QA, Hm is fixed by hardware – Classical parameter optimizer • Rigetti Grove’s implementation of the QAOA uses the VQE module backend – pyQAOA package contains separate modules for each type of problem instance: Max-Cut & graph partitioning
  • 16. 16 NP-hard problems • Vertex Cover: 𝑆 ⊆ 𝑉 (vertex set) such that each edge of the graph is incident to at least one vertex in 𝑆 • Max-Cut: 𝑆 ⊆ 𝑉 (vertex set) such that the number of edges between 𝑆 and ҧ𝑆 is as large as possible – Analytically: at least one of the solutions of Max-Cut will be the Minimum Vertex-Cover (Min Vertex-Cover has Max-Cut) – QAOA identifies the ground state of the Hamiltonian by evolving from a reference state • The reference state is generated by a Hadamard gate on each qubit from all zero state 0 011110 100001 543210 1 2 34 5 111110 000001 101110 010001 Iteration 1 Iteration 6
  • 17. 17 Variational Quantum Search • Variationally Learning Grover’s Quantum Search Algorithm • How this performs for approximate search? Grover search vs. VQS 1 soln. max prob. w.r.t. qubits
  • 18. 18 Hybrid C/Q programming in OpenQL • Programming Platform Support – Classical instructions – Target classical processor – Real-time parameter specification – Unitary decomposition • Survey of available libraries – Tutorial for each platforms (QWorld Jupyter notebooks) • Currently QISKIT (IBM) and Forest (Rigetti) done – Derive requirement for OpenQL
  • 19. 19 Current To-Do Summary • Algorithm development (primary focus) – Design a Variational Approximate Quantum Search Algorithm for DNA sequence alignment – Map De novo Sequencing problem to QAOA – Can the ansatz be evolved or learned? • Platform development – Implement Rigetti Forest’s maxcut, qaoa and vqe libraries and classical optimisers (like Nelder-Meed) on OpenQL • How many primitive gates and qubits does it get decomposed to? • How do the classical and quantum parts interact? – How to efficiently implement a QGS algorithm on the micro-architecture? • e.g. format and procedure to load/store the DNA data
  • 20. Genomics Algorithms on digital NISQ accelerators Aritra Sarkar Quantum Computer Architecture Lab QuTech and Department of Quantum & Computer Engineering Delft University of Technology