SlideShare a Scribd company logo
Rolf huisman   programming quantum computers in dot net using q#
Agenda
Rolf huisman   programming quantum computers in dot net using q#
Rolf huisman   programming quantum computers in dot net using q#
Rolf huisman   programming quantum computers in dot net using q#
Rolf huisman   programming quantum computers in dot net using q#
Rolf huisman   programming quantum computers in dot net using q#
Internet Of Stuffed Animals (IOSA)
Living Room
Attic
Bedroom
Stuffed animal problem
Living Room
Attic
Bedroom
Stuffed animal problem
Living Room
Attic
Bedroom
Stuffed animal problem
Living Room
Attic
Bedroom
Stuffed animal problem
Living Room
Attic
Bedroom
Stuffed animal problem
Living Room
Attic
Bedroom
Stuffed animal problem
Search Path
Optimization
Same problem as other fields
Traveling Salesman problem
Add more hardware
Right ?
The power of exponents
2n*
And there are more fields that have this issue
New plan
New plan
Qubit can take value |0>, |1>, or both at once,
a phenomenon known as superposition
Speed
Speed
Multi-Billion Investments
Rolf huisman   programming quantum computers in dot net using q#
Pictures by Lars Plougmann / CC BY-SA 2.0
IBM Q
https://quantumexperience.ng.bluemix.net
“Quantum Accelerator card”
by Lars Plougmann / CC BY-SA 2.0
Quantum Computing Workflow
Traditional
Computer
Quantum Computing Workflow
Traditional
Computer
Quantum Circuit
Quantum Computing Workflow
Traditional
Computer
Quantum Circuit
Quantum Computing Workflow
Traditional
Computer
Quantum Circuit Measurements
11 10 01 00
Quantum Computing Workflow
Traditional
Computer
Quantum Circuit Measurements
11 10 01 00
3
2
The Qubit in more detail
The Qubit in more detail
Angle Θ
M (Measurement Gate)
X Gate (Not)
H Gate (Hadamard)
H
One Qubit Gates
Multiple Qubit Gates
Multiple Qubit Gates
|0>
|0>
|1>
|0>
|1>
Multiple Qubit Gates
|0>
|0>
|1>
|0>
|1>
|1>
|0>
|1>
|1>
|0>
Multiple Qubit Gates
|0>
|0>
|1>
|0>
|1>
|1>
|0>
|1>
|1>
|0>
|0> 50%
|1> 50%
Q1
Q2
|0> 100%
Multiple Qubit Gates
|0>
|0>
|1>
|0>
|1>
|1>
|0>
|1>
|1>
|0>
|0> 50%
|1> 50%
Q1
Q2
|0> 100%
Q1
|0> |1>
Q2 |0> 50% 0%
|1> 0% 50%
Rolf huisman   programming quantum computers in dot net using q#
Microsoft Q#
Microsoft Q#
Rolf huisman   programming quantum computers in dot net using q#
Grover (and other amplifications)
Original Amplitudes Negate Amplitude Average of all Amplitudes Flip all Amplitudes around Avg
Grover execution: informally 𝑠𝑡𝑎𝑡𝑒𝑠
Q# Functions
Reversing on the real device
Living Room
Attic
Bedroom
Stuffed animal problem
Using the gates to describe
Phys. Rev. A 95, 032323 – Published 22 March 2017
Oracle Function
One Stair Two Stairs
Oracle (State)
Many hours and code lines later
Traditional Quantum
Naive O(𝑛!) O( 𝑛!)
With effort O(2n*2n) O(( 𝑛)!)
Living Room
Attic
Bedroom
Stuffed animal solution
Low-Tech Solution
Conclusions
So be part of the quantum future !
Questions ?
Microsoft Q# (Operators)
Microsoft Q# (Driver)
Microsoft Q# (Emulated Run)
Microsoft Q# (Unit Test)
Microsoft Q# (VSTS Build)
Microsoft Q# (VSTS Test)
Production (IBM Q)
Production (Work in progress)
Production (Work in progress)
Bitcoin Mining 101
SHA 256
SHA 256
Data NONCE
00000000000101001001010010010101..
Bitcoin Mining 101
SHA 256
SHA 256
Data NONCE + 1
00000000000101001001010010010101..OOOOOOOOOOOOO
SHA 256
A B C D E F G H
KT
WT
CH
∑1
E
Maj
A
∑2
A => B, C => D, F => G, G => H
x64
32 bits
Reduced Adder
A B
𝑋𝑜𝑟𝐴𝑛𝑑
Carry Sum
x1
1 bit
Quantum Adder
A B
𝑋𝑜𝑟𝐴𝑛𝑑
Carry Sum
Waste
Quantum Adder
Adder Algorithm
A B
𝑋𝑜𝑟𝐴𝑛𝑑
0 ? 0 ?
Waste |0>
Inverted Adder Algorithm
A B
𝑋𝑜𝑟𝐴𝑛𝑑
0 ? 0 ?
Waste
|0> |0>
𝑋𝑜𝑟𝐴𝑛𝑑
Super
Position
A B
|0> Waste
SHOR
Reverse Adder
Reverse Adder
Reverse Adder
This is why you need to add
Grover
SHA 256
A B C D E F G H
KT
WT
CH
∑1
E
Maj
A
∑2
A => B, C => D, F => G, G => H
x64
32 bits
Dirty Adder (Not Reduced)
Tolifo Gate
Adder (Not Reduced)

More Related Content

PPTX
"The Arrival of Quantum Computing" by Will Zeng
ODP
Quantum computation introduction for developers
PPTX
Quantum computers
PDF
Quantum computing
PPTX
Introduction to Quantum Computing with Qiskit
PPTX
Quantum computers
PPTX
Quantum programming
PPTX
Quantum computing.ppt
"The Arrival of Quantum Computing" by Will Zeng
Quantum computation introduction for developers
Quantum computers
Quantum computing
Introduction to Quantum Computing with Qiskit
Quantum computers
Quantum programming
Quantum computing.ppt

What's hot (13)

PPTX
2013.09.13 quantum computing has arrived s.nechuiviter
PPTX
Quantum Computing: Welcome to the Future
PPTX
Intro to Quantum Computing - IndiQ Hyderabad meetup (Feb 2nd)
PDF
Quantum Computers PART 4 Quantum Computer’sHardware by Lili Saghafi
PDF
Quantum computation: past-now-future - 2021-06-19
PDF
The Ring programming language version 1.9 book - Part 8 of 210
PDF
Sequential Learning in the Position-Based Model
PDF
Automatic Features Generation And Model Training On Spark: A Bayesian Approach
PDF
Quantum Roles in Quantum Computing
PDF
Quantum Computing with Amazon Braket
PPTX
Navneet presentation
PDF
Recurrent Neuronal Network tailored for Weather Radar Nowcasting
PDF
Giancarlo Sudano - Welcome to the Quantum Age - A lap around Microsoft Quantu...
2013.09.13 quantum computing has arrived s.nechuiviter
Quantum Computing: Welcome to the Future
Intro to Quantum Computing - IndiQ Hyderabad meetup (Feb 2nd)
Quantum Computers PART 4 Quantum Computer’sHardware by Lili Saghafi
Quantum computation: past-now-future - 2021-06-19
The Ring programming language version 1.9 book - Part 8 of 210
Sequential Learning in the Position-Based Model
Automatic Features Generation And Model Training On Spark: A Bayesian Approach
Quantum Roles in Quantum Computing
Quantum Computing with Amazon Braket
Navneet presentation
Recurrent Neuronal Network tailored for Weather Radar Nowcasting
Giancarlo Sudano - Welcome to the Quantum Age - A lap around Microsoft Quantu...
Ad

Similar to Rolf huisman programming quantum computers in dot net using q# (20)

PDF
Programming quantum computers in Q# (Techorama NL 2018)
PDF
Quantum computing journey from origin to future Technologies
PDF
[Lightning] Microsoft q# on vsts mvp lightning
PPTX
TechEvent Quantum Computing
PPTX
Meetup web scale architecture quantum computing (Part 1 16-10-2018)
PPTX
Student session Quantum Computing
PDF
Revolution of Quantum Computing in AI Era
PPTX
February 2017 HUG: Data Sketches: A required toolkit for Big Data Analytics
PPTX
Lunch session: Quantum Computing
PPTX
Quantum Computation simplified.pptx
PDF
[第34回 WBA若手の会勉強会] Microsoft AI platform
PPTX
What is Quantum Computing and Why it is Important
PPTX
Quantum Computing and its security implications
PDF
Kenneth Knowles - Apache Beam - A Unified Model for Batch and Streaming Data...
PPTX
Lecture 2 - Bit vs Qubits.pptx
PPTX
Quantum computers
PPT
Des2017 quantum computing_final
PPT
2017 10 17_quantum_program_v2
PPTX
Quantum Information FINAL.pptx
PPTX
Tears for quantum fears
Programming quantum computers in Q# (Techorama NL 2018)
Quantum computing journey from origin to future Technologies
[Lightning] Microsoft q# on vsts mvp lightning
TechEvent Quantum Computing
Meetup web scale architecture quantum computing (Part 1 16-10-2018)
Student session Quantum Computing
Revolution of Quantum Computing in AI Era
February 2017 HUG: Data Sketches: A required toolkit for Big Data Analytics
Lunch session: Quantum Computing
Quantum Computation simplified.pptx
[第34回 WBA若手の会勉強会] Microsoft AI platform
What is Quantum Computing and Why it is Important
Quantum Computing and its security implications
Kenneth Knowles - Apache Beam - A Unified Model for Batch and Streaming Data...
Lecture 2 - Bit vs Qubits.pptx
Quantum computers
Des2017 quantum computing_final
2017 10 17_quantum_program_v2
Quantum Information FINAL.pptx
Tears for quantum fears
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf

Rolf huisman programming quantum computers in dot net using q#