SlideShare a Scribd company logo
Typing quantum superpositions
and measurement
Alejandro Díaz-Caro
UNIVERSIDAD NACIONAL DE QUILMES & CONICET
Buenos Aires, Argentina
Gilles Dowek
INRIA, LSV, ENS PARIS-SACLAY
Cachan, France
TPNC 2017
December 18-20, 2017, Prague, Czech Republic
Motivation
We are interested in the most
natural way of forbidding
dupplication in quantum
programming languages
and formal logics
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 1 / 17
Outline
Quantum mechanics, in two slides
Simply typed lambda calculus, in two slides
Motivation, better explained
Our work: A quantum lambda calculus
Quantum mechanics, in two slides
(I) The postulates 1 and 2
Postulate 1: Quantum states
&
(A bit) more precisely:
Normalized vectors ∈ C2n
α
β
= α |0 + β |1 ∈ C2




α
β
γ
δ



 = α(|0 ⊗ |0 ) + β(|0 ⊗ |1 )
+γ(|1 ⊗ |0 ) + δ(|1 ⊗ |1 )
∈ C4
Postulate 2: Evolution
& = & &
(A bit) more precisely:
Unitary transformation (matrix)
U
α
β
= U(α |0 + β |1 )
= δ |0 + γ |1 =
δ
γ
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 2 / 17
Quantum computing, in two slides
(II) The postulates 3 and 4
Postulate 3: Measurement
&
(A bit) more precisely:
2n
i=0 αi |i collapses to |k
with probability |αk |2
Postulate 4: Composition
& ⊗ &
More precisely: Tensor product
α
β
⊗
γ
δ
=




αγ
αδ
βγ
βδ



 ∈ C2
⊗ C2
= C4
Consequence: No cloning
A superposed state cannot be cloned
& & ⊗ &
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 3 / 17
Simply typed lambda calculus, in two slides
(I) History, definitions, and intuitions
Introduced in 1936 by Alonzo Church
Motivation: Studying the foundations of mathematics
(in particular, the concept of recursion)
Why we still use it?
Simplest model to study properties of programming languages
(base of functional programming)
Connection with logics (Curry-Howard isomorphism)
Grammar
t := x | λx.t | tt
Rewrite rule
(λx.t) r → t[r/x]
Example: Let x2
+ 1 be a λ-term (with some codification)
f (x) = x2
+ 1 would be written λx.x2
+ 1
f (t) is written (λx.x2
+ 1) t and reduces to
(x2
+ 1)[t/x] = t2
+ 1
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 4 / 17
Simply typed lambda calculus, in two slides
(II) Types and logic
Terms t := x | λxA
.t | tt
Types A := τ | A ⇒ A
τ is a basic type A ⇒ B is the function type
Context: A set of typed variables: Γ = xA1
1 , . . . , xAn
n
Typing rules | Derivation rules
Γ, xA
x : A
Γ, xA
t : B
Γ λxA
.t : A ⇒ B
Γ t : A ⇒ B Γ r : A
Γ tr : B
Example of type derivation
yA⇒A
y : A ⇒ A
λyA⇒A
.y : (A ⇒ A) ⇒ (A ⇒ A)
xA
x : A
λxA
.x : A ⇒ A
(λyA⇒A
.y) (λxA
.x) : A ⇒ A
Verification: (λyA⇒A
.y) (λxA
.x) rewrites to λxA
.x (of type A ⇒ A)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 5 / 17
Motivation
Two approaches in the literature to deal with no cloning
Linear-logic approach
&
e.g. λx.(x ⊗ x) is forbidden
Linear-algebra approach
&
e.g. f (α |0 + β |1 ) → αf (|0 ) + βf (|1 )
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 6 / 17
Motivation
Measurement
&
The linear-algebra approach does
not make sense here. . .
&
. . . but the linear-logic
one, does
e.g.
(λx.πx) (α. |0 + β. |1 ) −→ α.(λx.πx) |0 + β.(λx.πx) |1 Wrong!
(Measurement operator)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 7 / 17
Key point
We need to distinguish
superposed states
from basis states
using types
Basis states can be cloned
Superposed states cannot
Functions receiving superposed states, cannot clone its argument
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 8 / 17
Grammars
First version, without tensor
Types
Ψ := B | S(Ψ) Qubit types
A := Ψ | Ψ ⇒ A | S(A) Types
Terms
t := x | λxΨ
.t | |0 | |1
basis terms
| tt | πt | ?· | t + t | α.t | 0S(A)
linear combinations
where α ∈ C
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 9 / 17
Typing applications
Γ t : Ψ ⇒ A ∆ u : Ψ
Γ, ∆ tu : A
⇒E
What about (λxB
.t) (b1 + b2)
S(B)
?
Γ t : Ψ ⇒ A ∆ u : S(Ψ)
Γ, ∆ tu : S(A)
What about ((λxB
.t) + (λyB
.u))
S(B⇒A)
v?
Γ t : S(Ψ ⇒ A) ∆ u : S(Ψ)
Γ, ∆ tu : S(A)
⇒ES
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 10 / 17
Measurement
π(α1.b1 + α2.b2) −→ |αk|2
|α1|2+|α2|2
bk
For i = 1, 2, bi = |0 or bi = |1 .
k = 1, 2
Example
π(i. |0 + 2. |1 )
|0
|1
1
5
4
5
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 11 / 17
Adding tensor products
Intepretation of types
S(B) vs. B
B = {|0 , |1 } ⊆ C2
A ⊗ B = A × B
S(A) = G A
Examples
|0
B
⊗ (1/
√
2. |0 + 1/
√
2. |1 )
S(B)
∈ {|0 , |1 } × C2
1/
√
2.(|0 ⊗ |0 ) + 1/
√
2.(|0 ⊗ |1 )
S(B⊗B)
∈ C2
⊗ C2
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 12 / 17
Some information is lost on reduction
Subtyping
{|0 , |1 } ⊂ C2
then B ≤ S(B)
G(GA) = GA then S(S(B)) ≤ S(B)
{|0 , |1 } × C2
⊂ C2
⊗ C2
then B ⊗ S(B) ≤ S(B ⊗ B)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
Some information is lost on reduction
Subtyping
{|0 , |1 } ⊂ C2
then B ≤ S(B)
G(GA) = GA then S(S(B)) ≤ S(B)
{|0 , |1 } × C2
⊂ C2
⊗ C2
then B ⊗ S(B) ≤ S(B ⊗ B)
|0 ⊗ (|0 + |1 ) : B ⊗ S(B)
|0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
Some information is lost on reduction
Subtyping
{|0 , |1 } ⊂ C2
then B ≤ S(B)
G(GA) = GA then S(S(B)) ≤ S(B)
{|0 , |1 } × C2
⊂ C2
⊗ C2
then B ⊗ S(B) ≤ S(B ⊗ B)
|0 ⊗ (|0 + |1 ) : B ⊗ S(B)
|0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
Some information is lost on reduction
Subtyping
{|0 , |1 } ⊂ C2
then B ≤ S(B)
G(GA) = GA then S(S(B)) ≤ S(B)
{|0 , |1 } × C2
⊂ C2
⊗ C2
then B ⊗ S(B) ≤ S(B ⊗ B)
|0 ⊗ (|0 + |1 ) : B ⊗ S(B)
|0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B)
Same happens in math!
(X − 1)(X − 2) −→ X2
− 3X + 2
we lost the information that it was a product
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
Some information is lost on reduction
Subtyping
{|0 , |1 } ⊂ C2
then B ≤ S(B)
G(GA) = GA then S(S(B)) ≤ S(B)
{|0 , |1 } × C2
⊂ C2
⊗ C2
then B ⊗ S(B) ≤ S(B ⊗ B)
|0 ⊗ (|0 + |1 ) : B ⊗ S(B)
|0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B)
Same happens in math!
(X − 1)(X − 2) −→ X2
− 3X + 2
we lost the information that it was a product
Solution: casting
|0 ⊗ (|0 + |1 ) |0 ⊗ |0 + |0 ⊗ |1
⇑
S(B⊗B)
B⊗S(B) |0 ⊗ (|0 + |1 ) → |0 ⊗ |0 + |0 ⊗ |1
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
Full grammars
Types
Q := B | Q ⊗ Q Basis qubit types
Ψ := Q | S(Ψ) | Ψ ⊗ Ψ Qubit types
A := Ψ | Ψ ⇒ A | S(A) | A ⊗ A Types
Terms
t := x | λxΨ
.t | |0 | |1 | tt | πj t | ?· | t + t | α.t | 0S(A)
| t ⊗ t | head t | tail t | ⇑
S(B⊗C)
S(A) t
where α ∈ C
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 14 / 17
Measurement of the first j qubits
Example
π2( 2.(|0 ⊗ |1 ⊗ |1 ) + |0 ⊗ |1 ⊗ |0 + 3.(|1 ⊗ |1 ⊗ |1 ) )
|0 ⊗ |1 ⊗ ( 2√
5
. |1 + 1√
5
. |0 ) |1 ⊗ |1 ⊗ (1. |1 )
( 5
14
) ( 9
14
)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 15 / 17
The full type system Q := B | Q ⊗ Q Basis qubit types
Ψ := Q | S(Ψ) | Ψ ⊗ Ψ Qubit types
A := Ψ | Ψ ⇒ A | S(A) | A ⊗ A Types
x : Ψ x : Ψ
ax
0S(A) : S(A)
ax0
|0 : B
ax|0
|1 : B
ax|1
Γ t : A
Γ α.t : S(A)
Sα
I
Γ t : A ∆ u : A
Γ, ∆ t + u : S(A)
S+
I
Γ t : QS
n
Γ πj t : Q
S{1,...,j}
n
SE
Γ t : A (A B)
Γ t : B ?· : B ⇒ B ⇒ B ⇒ B
if
Γ, x : Ψ t : A
Γ λx : Ψ t : Ψ ⇒ A
⇒I
Γ t : Ψ ⇒ A ∆ u : Ψ
Γ, ∆ tu : A
⇒E
Γ t : S(Ψ ⇒ A) ∆ u : S(Ψ)
Γ, ∆ tu : S(A)
⇒ES
Γ t : A
Γ, x : Q t : A
W
Γ, x : Q, y : Q t : A
Γ, x : Q (x/y)t : A
C
Γ t : A ∆ u : B
Γ, ∆ t ⊗ u : A ⊗ B
⊗I
Γ t : B ⊗ Q
Γ head t : B
⊗Er
Γ t : B ⊗ Q
Γ tail t : Q
⊗El
Γ t : S(S(A) ⊗ B)
Γ ⇑
S(A⊗B)
S(S(A)⊗B) t : S(A ⊗ B)
⇑r
Γ t : S(A ⊗ S(B))
Γ ⇑
S(A⊗B)
S(A⊗S(B)) t : S(A ⊗ B)
⇑l
Γ ⇑
S(A)
S(B) t : S(A)
Γ ⇑
S(A)
S(B) α.t : S(A)
⇑α
Γ ⇑
S(A)
S(B) t : S(A) ∆ ⇑
S(A)
S(B) r : S(A)
Γ, ∆ ⇑
S(A)
S(B) t + r : S(A)
⇑+
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 16 / 17
Summarising
Extension of (pure) first-order lambda-calculus for
quantum computing
Logical-linearity and algebraic-linearity both used for
no-cloning
Denotational semantics:
Types: sets of vectors or vector spaces
Terms: vectors
Works in progress
Strong normalisation and confluence proof (with J. P. Rinaldi)
Categorical model (with O. Malherbe)
Haskell implementation (with I. Grimma and P. E. Martínez López)
A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 17 / 17
Backup slides
Why first order
CM = λyS(B)
.((λxB⇒S(B)
.(x |0 ) ⊗ (x |0 )) (λzB
.y))
CM (α. |0 + β. |1 )
→ (λxB⇒S(B)
.(x |0 ) ⊗ (x |0 )) (λzB
.(α. |0 + β. |1 ))
→ ((λzB
.(α. |0 + β. |1 )) |0 ) ⊗ ((λzB
.(α. |0 + β. |1 )) |0 )
→2
(α. |0 + β. |1 ) ⊗ (α. |0 + β. |1 )
Deutsch algorithm
Preliminaries
Hadamard
H |0 =
1
√
2
|0 +
1
√
2
|1 H |1 =
1
√
2
|0 −
1
√
2
|1
Deutsch algorithm
Preliminaries
Hadamard
H |0 =
1
√
2
|0 +
1
√
2
|1 H |1 =
1
√
2
|0 −
1
√
2
|1
H = λxB
.1/
√
2.(|0 + x?−|1 ·|1 )
Deutsch algorithm
Preliminaries
Hadamard
H |0 =
1
√
2
|0 +
1
√
2
|1 H |1 =
1
√
2
|0 −
1
√
2
|1
H = λxB
.1/
√
2.(|0 + x?−|1 ·|1 )
Oracle
A “black box” implementing a function f : {0, 1} → {0, 1}
Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x)
Deutsch algorithm
Preliminaries
Hadamard
H |0 =
1
√
2
|0 +
1
√
2
|1 H |1 =
1
√
2
|0 −
1
√
2
|1
H = λxB
.1/
√
2.(|0 + x?−|1 ·|1 )
Oracle
A “black box” implementing a function f : {0, 1} → {0, 1}
Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x)
not = λxB
.x?|0 ·|1
Deutsch algorithm
Preliminaries
Hadamard
H |0 =
1
√
2
|0 +
1
√
2
|1 H |1 =
1
√
2
|0 −
1
√
2
|1
H = λxB
.1/
√
2.(|0 + x?−|1 ·|1 )
Oracle
A “black box” implementing a function f : {0, 1} → {0, 1}
Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x)
not = λxB
.x?|0 ·|1
Uf = λxB⊗B
.(head x) ⊗ ((tail x)?not(f (head x))·f (head x))
Deutsch in λ
|0 H
Uf
H ± |f (0) ⊕ f (1)
|1 H
1√
2
|0 − 1√
2
|1
not = λxB
.x?|0 ·|1
H = λxB
.1/
√
2.(|0 + x?−|1 ·|1 )
H⊗2
= λxB⊗B
.(H(head x)) ⊗ (H(tail x))
Uf = λxB⊗B
.(head x) ⊗ ((tail x)?not(f (head x))·f (head x))
H1 = λxB⊗B
.(H(head x)) ⊗ (tail x)
Deutschf = π1(⇑
S(B⊗B)
S(S(B)⊗B) H1(Uf ⇑
S(B⊗B)
S(B⊗S(B))⇑
S(B⊗S(B))
S(S(B)⊗S(B)) H⊗2
(|0 ⊗ |1 )
Deutschf : B ⊗ S(B)
Deutschid −→∗
(1) π1(1/
√
2. |1 ⊗ |0 − 1/
√
2. |1 ⊗ |1 )
−→(1) |1 ⊗ (1/
√
2. |0 − 1/
√
2. |1 )
Teleportation in λ
|ψ • H
|0 H •
|0 Zb1
Xb2 |ψ
epr = λxB⊗B
.cnot(H1 x)
alice =
λxS(B)⊗S(B⊗B)
.π2(⇑
S(B⊗B⊗B)
S(S(B)⊗B⊗B) H3
1 (cnot3
12 ⇑
S(B⊗B⊗B)
S(B⊗S(B⊗B))⇑
S(B⊗S(B⊗B))
S(S(B)⊗S(B⊗B)) x))
Ub
= (λbB
.λxB
.b?Ux·x) b
bob = λxB⊗B⊗B
.Zhead x
nothead (tail x)
.(tail (tail x))
Teleportation = λqS(B)
.bob (⇑
S(B⊗B⊗B)
S(B⊗B⊗S(B)) alice (q ⊗ (epr |0 ⊗ |0 )))
Teleportation : S(B) ⇒ S(B)
Teleportation q −→(1) q

More Related Content

What's hot

A Szemerédi-type theorem for subsets of the unit cube
A Szemerédi-type theorem for subsets of the unit cubeA Szemerédi-type theorem for subsets of the unit cube
A Szemerédi-type theorem for subsets of the unit cube
VjekoslavKovac1
 
Clustering in Hilbert simplex geometry
Clustering in Hilbert simplex geometryClustering in Hilbert simplex geometry
Clustering in Hilbert simplex geometry
Frank Nielsen
 
Bellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproductsBellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproducts
VjekoslavKovac1
 
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
VjekoslavKovac1
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
VjekoslavKovac1
 
A sharp nonlinear Hausdorff-Young inequality for small potentials
A sharp nonlinear Hausdorff-Young inequality for small potentialsA sharp nonlinear Hausdorff-Young inequality for small potentials
A sharp nonlinear Hausdorff-Young inequality for small potentials
VjekoslavKovac1
 
Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averages
VjekoslavKovac1
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
2016--04-07-NCUR-JON (1)
2016--04-07-NCUR-JON (1)2016--04-07-NCUR-JON (1)
2016--04-07-NCUR-JON (1)
Jon Scott
 
On Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular IntegralsOn Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular Integrals
VjekoslavKovac1
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
The Statistical and Applied Mathematical Sciences Institute
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
The Statistical and Applied Mathematical Sciences Institute
 
Multilinear singular integrals with entangled structure
Multilinear singular integrals with entangled structureMultilinear singular integrals with entangled structure
Multilinear singular integrals with entangled structure
VjekoslavKovac1
 
On the Jensen-Shannon symmetrization of distances relying on abstract means
On the Jensen-Shannon symmetrization of distances relying on abstract meansOn the Jensen-Shannon symmetrization of distances relying on abstract means
On the Jensen-Shannon symmetrization of distances relying on abstract means
Frank Nielsen
 
Boundedness of the Twisted Paraproduct
Boundedness of the Twisted ParaproductBoundedness of the Twisted Paraproduct
Boundedness of the Twisted Paraproduct
VjekoslavKovac1
 
Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013
Jurgen Riedel
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli... Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
The Statistical and Applied Mathematical Sciences Institute
 
Igv2008
Igv2008Igv2008
Igv2008
shimpeister
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle Introduction
Flavio Morelli
 

What's hot (20)

A Szemerédi-type theorem for subsets of the unit cube
A Szemerédi-type theorem for subsets of the unit cubeA Szemerédi-type theorem for subsets of the unit cube
A Szemerédi-type theorem for subsets of the unit cube
 
Clustering in Hilbert simplex geometry
Clustering in Hilbert simplex geometryClustering in Hilbert simplex geometry
Clustering in Hilbert simplex geometry
 
Bellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproductsBellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproducts
 
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
Variants of the Christ-Kiselev lemma and an application to the maximal Fourie...
 
A sharp nonlinear Hausdorff-Young inequality for small potentials
A sharp nonlinear Hausdorff-Young inequality for small potentialsA sharp nonlinear Hausdorff-Young inequality for small potentials
A sharp nonlinear Hausdorff-Young inequality for small potentials
 
Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averages
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
2016--04-07-NCUR-JON (1)
2016--04-07-NCUR-JON (1)2016--04-07-NCUR-JON (1)
2016--04-07-NCUR-JON (1)
 
On Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular IntegralsOn Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular Integrals
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Multilinear singular integrals with entangled structure
Multilinear singular integrals with entangled structureMultilinear singular integrals with entangled structure
Multilinear singular integrals with entangled structure
 
On the Jensen-Shannon symmetrization of distances relying on abstract means
On the Jensen-Shannon symmetrization of distances relying on abstract meansOn the Jensen-Shannon symmetrization of distances relying on abstract means
On the Jensen-Shannon symmetrization of distances relying on abstract means
 
Boundedness of the Twisted Paraproduct
Boundedness of the Twisted ParaproductBoundedness of the Twisted Paraproduct
Boundedness of the Twisted Paraproduct
 
Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli... Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 
Igv2008
Igv2008Igv2008
Igv2008
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle Introduction
 

Similar to Typing quantum superpositions and measurement

CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
Christian Robert
 
cswiercz-general-presentation
cswiercz-general-presentationcswiercz-general-presentation
cswiercz-general-presentation
Chris Swierczewski
 
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Gabriel Peyré
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
CrackDSE
 
Basic math including gradient
Basic math including gradientBasic math including gradient
Basic math including gradient
Ramesh Kesavan
 
Relations and Functions #BB2.0.pdf
Relations and Functions #BB2.0.pdfRelations and Functions #BB2.0.pdf
Relations and Functions #BB2.0.pdf
AakashKushwaha26
 
Low Complexity Regularization of Inverse Problems
Low Complexity Regularization of Inverse ProblemsLow Complexity Regularization of Inverse Problems
Low Complexity Regularization of Inverse Problems
Gabriel Peyré
 
Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential Equation
Mark Chang
 
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdfMathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
9866560321sv
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
Christian Robert
 
Darmon Points for fields of mixed signature
Darmon Points for fields of mixed signatureDarmon Points for fields of mixed signature
Darmon Points for fields of mixed signature
mmasdeu
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture g
Vlad Patryshev
 
Number theoretic-rsa-chailos-new
Number theoretic-rsa-chailos-newNumber theoretic-rsa-chailos-new
Number theoretic-rsa-chailos-new
Christos Loizos
 
Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...
HidenoriOgata
 
Presentation.pdf
Presentation.pdfPresentation.pdf
Presentation.pdf
Chiheb Ben Hammouda
 
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Gabriel Peyré
 
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMSSOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
Tahia ZERIZER
 
Compiler Construction | Lecture 9 | Constraint Resolution
Compiler Construction | Lecture 9 | Constraint ResolutionCompiler Construction | Lecture 9 | Constraint Resolution
Compiler Construction | Lecture 9 | Constraint Resolution
Eelco Visser
 
09 logic programming
09 logic programming09 logic programming
09 logic programming
saru40
 
3 grechnikov
3 grechnikov3 grechnikov
3 grechnikov
Yandex
 

Similar to Typing quantum superpositions and measurement (20)

CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
 
cswiercz-general-presentation
cswiercz-general-presentationcswiercz-general-presentation
cswiercz-general-presentation
 
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
 
Basic math including gradient
Basic math including gradientBasic math including gradient
Basic math including gradient
 
Relations and Functions #BB2.0.pdf
Relations and Functions #BB2.0.pdfRelations and Functions #BB2.0.pdf
Relations and Functions #BB2.0.pdf
 
Low Complexity Regularization of Inverse Problems
Low Complexity Regularization of Inverse ProblemsLow Complexity Regularization of Inverse Problems
Low Complexity Regularization of Inverse Problems
 
Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential Equation
 
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdfMathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
Mathematical-Formula-Handbook.pdf-76-watermark.pdf-68.pdf
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
 
Darmon Points for fields of mixed signature
Darmon Points for fields of mixed signatureDarmon Points for fields of mixed signature
Darmon Points for fields of mixed signature
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture g
 
Number theoretic-rsa-chailos-new
Number theoretic-rsa-chailos-newNumber theoretic-rsa-chailos-new
Number theoretic-rsa-chailos-new
 
Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...
 
Presentation.pdf
Presentation.pdfPresentation.pdf
Presentation.pdf
 
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
 
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMSSOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
SOLVING BVPs OF SINGULARLY PERTURBED DISCRETE SYSTEMS
 
Compiler Construction | Lecture 9 | Constraint Resolution
Compiler Construction | Lecture 9 | Constraint ResolutionCompiler Construction | Lecture 9 | Constraint Resolution
Compiler Construction | Lecture 9 | Constraint Resolution
 
09 logic programming
09 logic programming09 logic programming
09 logic programming
 
3 grechnikov
3 grechnikov3 grechnikov
3 grechnikov
 

More from Alejandro Díaz-Caro

A lambda calculus for density matrices with classical and probabilistic controls
A lambda calculus for density matrices with classical and probabilistic controlsA lambda calculus for density matrices with classical and probabilistic controls
A lambda calculus for density matrices with classical and probabilistic controls
Alejandro Díaz-Caro
 
Towards a quantum lambda-calculus with quantum control
Towards a quantum lambda-calculus with quantum controlTowards a quantum lambda-calculus with quantum control
Towards a quantum lambda-calculus with quantum control
Alejandro Díaz-Caro
 
Affine computation and affine automaton
Affine computation and affine automatonAffine computation and affine automaton
Affine computation and affine automaton
Alejandro Díaz-Caro
 
Simply typed lambda-calculus modulo isomorphisms
Simply typed lambda-calculus modulo isomorphismsSimply typed lambda-calculus modulo isomorphisms
Simply typed lambda-calculus modulo isomorphisms
Alejandro Díaz-Caro
 
The probability of non-confluent systems
The probability of non-confluent systemsThe probability of non-confluent systems
The probability of non-confluent systems
Alejandro Díaz-Caro
 
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Vectorial types, non-determinism and probabilistic systems: Towards a computa...Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Alejandro Díaz-Caro
 
Quantum computing, non-determinism, probabilistic systems... and the logic be...
Quantum computing, non-determinism, probabilistic systems... and the logic be...Quantum computing, non-determinism, probabilistic systems... and the logic be...
Quantum computing, non-determinism, probabilistic systems... and the logic be...
Alejandro Díaz-Caro
 
Non determinism through type isomophism
Non determinism through type isomophismNon determinism through type isomophism
Non determinism through type isomophism
Alejandro Díaz-Caro
 
Call-by-value non-determinism in a linear logic type discipline
Call-by-value non-determinism in a linear logic type disciplineCall-by-value non-determinism in a linear logic type discipline
Call-by-value non-determinism in a linear logic type discipline
Alejandro Díaz-Caro
 
Slides used during my thesis defense "Du typage vectoriel"
Slides used during my thesis defense "Du typage vectoriel"Slides used during my thesis defense "Du typage vectoriel"
Slides used during my thesis defense "Du typage vectoriel"
Alejandro Díaz-Caro
 
Linearity in the non-deterministic call-by-value setting
Linearity in the non-deterministic call-by-value settingLinearity in the non-deterministic call-by-value setting
Linearity in the non-deterministic call-by-value setting
Alejandro Díaz-Caro
 
A type system for the vectorial aspects of the linear-algebraic lambda-calculus
A type system for the vectorial aspects of the linear-algebraic lambda-calculusA type system for the vectorial aspects of the linear-algebraic lambda-calculus
A type system for the vectorial aspects of the linear-algebraic lambda-calculus
Alejandro Díaz-Caro
 
Slides QuAND 2011
Slides QuAND 2011Slides QuAND 2011
Slides QuAND 2011
Alejandro Díaz-Caro
 
Equivalence of algebraic λ-calculi
Equivalence of algebraic λ-calculiEquivalence of algebraic λ-calculi
Equivalence of algebraic λ-calculi
Alejandro Díaz-Caro
 
A System F accounting for scalars
A System F accounting for scalarsA System F accounting for scalars
A System F accounting for scalars
Alejandro Díaz-Caro
 

More from Alejandro Díaz-Caro (15)

A lambda calculus for density matrices with classical and probabilistic controls
A lambda calculus for density matrices with classical and probabilistic controlsA lambda calculus for density matrices with classical and probabilistic controls
A lambda calculus for density matrices with classical and probabilistic controls
 
Towards a quantum lambda-calculus with quantum control
Towards a quantum lambda-calculus with quantum controlTowards a quantum lambda-calculus with quantum control
Towards a quantum lambda-calculus with quantum control
 
Affine computation and affine automaton
Affine computation and affine automatonAffine computation and affine automaton
Affine computation and affine automaton
 
Simply typed lambda-calculus modulo isomorphisms
Simply typed lambda-calculus modulo isomorphismsSimply typed lambda-calculus modulo isomorphisms
Simply typed lambda-calculus modulo isomorphisms
 
The probability of non-confluent systems
The probability of non-confluent systemsThe probability of non-confluent systems
The probability of non-confluent systems
 
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Vectorial types, non-determinism and probabilistic systems: Towards a computa...Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
 
Quantum computing, non-determinism, probabilistic systems... and the logic be...
Quantum computing, non-determinism, probabilistic systems... and the logic be...Quantum computing, non-determinism, probabilistic systems... and the logic be...
Quantum computing, non-determinism, probabilistic systems... and the logic be...
 
Non determinism through type isomophism
Non determinism through type isomophismNon determinism through type isomophism
Non determinism through type isomophism
 
Call-by-value non-determinism in a linear logic type discipline
Call-by-value non-determinism in a linear logic type disciplineCall-by-value non-determinism in a linear logic type discipline
Call-by-value non-determinism in a linear logic type discipline
 
Slides used during my thesis defense "Du typage vectoriel"
Slides used during my thesis defense "Du typage vectoriel"Slides used during my thesis defense "Du typage vectoriel"
Slides used during my thesis defense "Du typage vectoriel"
 
Linearity in the non-deterministic call-by-value setting
Linearity in the non-deterministic call-by-value settingLinearity in the non-deterministic call-by-value setting
Linearity in the non-deterministic call-by-value setting
 
A type system for the vectorial aspects of the linear-algebraic lambda-calculus
A type system for the vectorial aspects of the linear-algebraic lambda-calculusA type system for the vectorial aspects of the linear-algebraic lambda-calculus
A type system for the vectorial aspects of the linear-algebraic lambda-calculus
 
Slides QuAND 2011
Slides QuAND 2011Slides QuAND 2011
Slides QuAND 2011
 
Equivalence of algebraic λ-calculi
Equivalence of algebraic λ-calculiEquivalence of algebraic λ-calculi
Equivalence of algebraic λ-calculi
 
A System F accounting for scalars
A System F accounting for scalarsA System F accounting for scalars
A System F accounting for scalars
 

Recently uploaded

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 

Typing quantum superpositions and measurement

  • 1. Typing quantum superpositions and measurement Alejandro Díaz-Caro UNIVERSIDAD NACIONAL DE QUILMES & CONICET Buenos Aires, Argentina Gilles Dowek INRIA, LSV, ENS PARIS-SACLAY Cachan, France TPNC 2017 December 18-20, 2017, Prague, Czech Republic
  • 2. Motivation We are interested in the most natural way of forbidding dupplication in quantum programming languages and formal logics A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 1 / 17
  • 3. Outline Quantum mechanics, in two slides Simply typed lambda calculus, in two slides Motivation, better explained Our work: A quantum lambda calculus
  • 4. Quantum mechanics, in two slides (I) The postulates 1 and 2 Postulate 1: Quantum states & (A bit) more precisely: Normalized vectors ∈ C2n α β = α |0 + β |1 ∈ C2     α β γ δ     = α(|0 ⊗ |0 ) + β(|0 ⊗ |1 ) +γ(|1 ⊗ |0 ) + δ(|1 ⊗ |1 ) ∈ C4 Postulate 2: Evolution & = & & (A bit) more precisely: Unitary transformation (matrix) U α β = U(α |0 + β |1 ) = δ |0 + γ |1 = δ γ A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 2 / 17
  • 5. Quantum computing, in two slides (II) The postulates 3 and 4 Postulate 3: Measurement & (A bit) more precisely: 2n i=0 αi |i collapses to |k with probability |αk |2 Postulate 4: Composition & ⊗ & More precisely: Tensor product α β ⊗ γ δ =     αγ αδ βγ βδ     ∈ C2 ⊗ C2 = C4 Consequence: No cloning A superposed state cannot be cloned & & ⊗ & A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 3 / 17
  • 6. Simply typed lambda calculus, in two slides (I) History, definitions, and intuitions Introduced in 1936 by Alonzo Church Motivation: Studying the foundations of mathematics (in particular, the concept of recursion) Why we still use it? Simplest model to study properties of programming languages (base of functional programming) Connection with logics (Curry-Howard isomorphism) Grammar t := x | λx.t | tt Rewrite rule (λx.t) r → t[r/x] Example: Let x2 + 1 be a λ-term (with some codification) f (x) = x2 + 1 would be written λx.x2 + 1 f (t) is written (λx.x2 + 1) t and reduces to (x2 + 1)[t/x] = t2 + 1 A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 4 / 17
  • 7. Simply typed lambda calculus, in two slides (II) Types and logic Terms t := x | λxA .t | tt Types A := τ | A ⇒ A τ is a basic type A ⇒ B is the function type Context: A set of typed variables: Γ = xA1 1 , . . . , xAn n Typing rules | Derivation rules Γ, xA x : A Γ, xA t : B Γ λxA .t : A ⇒ B Γ t : A ⇒ B Γ r : A Γ tr : B Example of type derivation yA⇒A y : A ⇒ A λyA⇒A .y : (A ⇒ A) ⇒ (A ⇒ A) xA x : A λxA .x : A ⇒ A (λyA⇒A .y) (λxA .x) : A ⇒ A Verification: (λyA⇒A .y) (λxA .x) rewrites to λxA .x (of type A ⇒ A) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 5 / 17
  • 8. Motivation Two approaches in the literature to deal with no cloning Linear-logic approach & e.g. λx.(x ⊗ x) is forbidden Linear-algebra approach & e.g. f (α |0 + β |1 ) → αf (|0 ) + βf (|1 ) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 6 / 17
  • 9. Motivation Measurement & The linear-algebra approach does not make sense here. . . & . . . but the linear-logic one, does e.g. (λx.πx) (α. |0 + β. |1 ) −→ α.(λx.πx) |0 + β.(λx.πx) |1 Wrong! (Measurement operator) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 7 / 17
  • 10. Key point We need to distinguish superposed states from basis states using types Basis states can be cloned Superposed states cannot Functions receiving superposed states, cannot clone its argument A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 8 / 17
  • 11. Grammars First version, without tensor Types Ψ := B | S(Ψ) Qubit types A := Ψ | Ψ ⇒ A | S(A) Types Terms t := x | λxΨ .t | |0 | |1 basis terms | tt | πt | ?· | t + t | α.t | 0S(A) linear combinations where α ∈ C A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 9 / 17
  • 12. Typing applications Γ t : Ψ ⇒ A ∆ u : Ψ Γ, ∆ tu : A ⇒E What about (λxB .t) (b1 + b2) S(B) ? Γ t : Ψ ⇒ A ∆ u : S(Ψ) Γ, ∆ tu : S(A) What about ((λxB .t) + (λyB .u)) S(B⇒A) v? Γ t : S(Ψ ⇒ A) ∆ u : S(Ψ) Γ, ∆ tu : S(A) ⇒ES A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 10 / 17
  • 13. Measurement π(α1.b1 + α2.b2) −→ |αk|2 |α1|2+|α2|2 bk For i = 1, 2, bi = |0 or bi = |1 . k = 1, 2 Example π(i. |0 + 2. |1 ) |0 |1 1 5 4 5 A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 11 / 17
  • 14. Adding tensor products Intepretation of types S(B) vs. B B = {|0 , |1 } ⊆ C2 A ⊗ B = A × B S(A) = G A Examples |0 B ⊗ (1/ √ 2. |0 + 1/ √ 2. |1 ) S(B) ∈ {|0 , |1 } × C2 1/ √ 2.(|0 ⊗ |0 ) + 1/ √ 2.(|0 ⊗ |1 ) S(B⊗B) ∈ C2 ⊗ C2 A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 12 / 17
  • 15. Some information is lost on reduction Subtyping {|0 , |1 } ⊂ C2 then B ≤ S(B) G(GA) = GA then S(S(B)) ≤ S(B) {|0 , |1 } × C2 ⊂ C2 ⊗ C2 then B ⊗ S(B) ≤ S(B ⊗ B) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
  • 16. Some information is lost on reduction Subtyping {|0 , |1 } ⊂ C2 then B ≤ S(B) G(GA) = GA then S(S(B)) ≤ S(B) {|0 , |1 } × C2 ⊂ C2 ⊗ C2 then B ⊗ S(B) ≤ S(B ⊗ B) |0 ⊗ (|0 + |1 ) : B ⊗ S(B) |0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
  • 17. Some information is lost on reduction Subtyping {|0 , |1 } ⊂ C2 then B ≤ S(B) G(GA) = GA then S(S(B)) ≤ S(B) {|0 , |1 } × C2 ⊂ C2 ⊗ C2 then B ⊗ S(B) ≤ S(B ⊗ B) |0 ⊗ (|0 + |1 ) : B ⊗ S(B) |0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
  • 18. Some information is lost on reduction Subtyping {|0 , |1 } ⊂ C2 then B ≤ S(B) G(GA) = GA then S(S(B)) ≤ S(B) {|0 , |1 } × C2 ⊂ C2 ⊗ C2 then B ⊗ S(B) ≤ S(B ⊗ B) |0 ⊗ (|0 + |1 ) : B ⊗ S(B) |0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B) Same happens in math! (X − 1)(X − 2) −→ X2 − 3X + 2 we lost the information that it was a product A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
  • 19. Some information is lost on reduction Subtyping {|0 , |1 } ⊂ C2 then B ≤ S(B) G(GA) = GA then S(S(B)) ≤ S(B) {|0 , |1 } × C2 ⊂ C2 ⊗ C2 then B ⊗ S(B) ≤ S(B ⊗ B) |0 ⊗ (|0 + |1 ) : B ⊗ S(B) |0 ⊗ |0 + |0 ⊗ |1 : S(B ⊗ B) Same happens in math! (X − 1)(X − 2) −→ X2 − 3X + 2 we lost the information that it was a product Solution: casting |0 ⊗ (|0 + |1 ) |0 ⊗ |0 + |0 ⊗ |1 ⇑ S(B⊗B) B⊗S(B) |0 ⊗ (|0 + |1 ) → |0 ⊗ |0 + |0 ⊗ |1 A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 13 / 17
  • 20. Full grammars Types Q := B | Q ⊗ Q Basis qubit types Ψ := Q | S(Ψ) | Ψ ⊗ Ψ Qubit types A := Ψ | Ψ ⇒ A | S(A) | A ⊗ A Types Terms t := x | λxΨ .t | |0 | |1 | tt | πj t | ?· | t + t | α.t | 0S(A) | t ⊗ t | head t | tail t | ⇑ S(B⊗C) S(A) t where α ∈ C A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 14 / 17
  • 21. Measurement of the first j qubits Example π2( 2.(|0 ⊗ |1 ⊗ |1 ) + |0 ⊗ |1 ⊗ |0 + 3.(|1 ⊗ |1 ⊗ |1 ) ) |0 ⊗ |1 ⊗ ( 2√ 5 . |1 + 1√ 5 . |0 ) |1 ⊗ |1 ⊗ (1. |1 ) ( 5 14 ) ( 9 14 ) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 15 / 17
  • 22. The full type system Q := B | Q ⊗ Q Basis qubit types Ψ := Q | S(Ψ) | Ψ ⊗ Ψ Qubit types A := Ψ | Ψ ⇒ A | S(A) | A ⊗ A Types x : Ψ x : Ψ ax 0S(A) : S(A) ax0 |0 : B ax|0 |1 : B ax|1 Γ t : A Γ α.t : S(A) Sα I Γ t : A ∆ u : A Γ, ∆ t + u : S(A) S+ I Γ t : QS n Γ πj t : Q S{1,...,j} n SE Γ t : A (A B) Γ t : B ?· : B ⇒ B ⇒ B ⇒ B if Γ, x : Ψ t : A Γ λx : Ψ t : Ψ ⇒ A ⇒I Γ t : Ψ ⇒ A ∆ u : Ψ Γ, ∆ tu : A ⇒E Γ t : S(Ψ ⇒ A) ∆ u : S(Ψ) Γ, ∆ tu : S(A) ⇒ES Γ t : A Γ, x : Q t : A W Γ, x : Q, y : Q t : A Γ, x : Q (x/y)t : A C Γ t : A ∆ u : B Γ, ∆ t ⊗ u : A ⊗ B ⊗I Γ t : B ⊗ Q Γ head t : B ⊗Er Γ t : B ⊗ Q Γ tail t : Q ⊗El Γ t : S(S(A) ⊗ B) Γ ⇑ S(A⊗B) S(S(A)⊗B) t : S(A ⊗ B) ⇑r Γ t : S(A ⊗ S(B)) Γ ⇑ S(A⊗B) S(A⊗S(B)) t : S(A ⊗ B) ⇑l Γ ⇑ S(A) S(B) t : S(A) Γ ⇑ S(A) S(B) α.t : S(A) ⇑α Γ ⇑ S(A) S(B) t : S(A) ∆ ⇑ S(A) S(B) r : S(A) Γ, ∆ ⇑ S(A) S(B) t + r : S(A) ⇑+ A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 16 / 17
  • 23. Summarising Extension of (pure) first-order lambda-calculus for quantum computing Logical-linearity and algebraic-linearity both used for no-cloning Denotational semantics: Types: sets of vectors or vector spaces Terms: vectors Works in progress Strong normalisation and confluence proof (with J. P. Rinaldi) Categorical model (with O. Malherbe) Haskell implementation (with I. Grimma and P. E. Martínez López) A. Díaz-Caro & G. Dowek Typing quantum superpositions and measurement 17 / 17
  • 25. Why first order CM = λyS(B) .((λxB⇒S(B) .(x |0 ) ⊗ (x |0 )) (λzB .y)) CM (α. |0 + β. |1 ) → (λxB⇒S(B) .(x |0 ) ⊗ (x |0 )) (λzB .(α. |0 + β. |1 )) → ((λzB .(α. |0 + β. |1 )) |0 ) ⊗ ((λzB .(α. |0 + β. |1 )) |0 ) →2 (α. |0 + β. |1 ) ⊗ (α. |0 + β. |1 )
  • 26. Deutsch algorithm Preliminaries Hadamard H |0 = 1 √ 2 |0 + 1 √ 2 |1 H |1 = 1 √ 2 |0 − 1 √ 2 |1
  • 27. Deutsch algorithm Preliminaries Hadamard H |0 = 1 √ 2 |0 + 1 √ 2 |1 H |1 = 1 √ 2 |0 − 1 √ 2 |1 H = λxB .1/ √ 2.(|0 + x?−|1 ·|1 )
  • 28. Deutsch algorithm Preliminaries Hadamard H |0 = 1 √ 2 |0 + 1 √ 2 |1 H |1 = 1 √ 2 |0 − 1 √ 2 |1 H = λxB .1/ √ 2.(|0 + x?−|1 ·|1 ) Oracle A “black box” implementing a function f : {0, 1} → {0, 1} Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x)
  • 29. Deutsch algorithm Preliminaries Hadamard H |0 = 1 √ 2 |0 + 1 √ 2 |1 H |1 = 1 √ 2 |0 − 1 √ 2 |1 H = λxB .1/ √ 2.(|0 + x?−|1 ·|1 ) Oracle A “black box” implementing a function f : {0, 1} → {0, 1} Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x) not = λxB .x?|0 ·|1
  • 30. Deutsch algorithm Preliminaries Hadamard H |0 = 1 √ 2 |0 + 1 √ 2 |1 H |1 = 1 √ 2 |0 − 1 √ 2 |1 H = λxB .1/ √ 2.(|0 + x?−|1 ·|1 ) Oracle A “black box” implementing a function f : {0, 1} → {0, 1} Uf (|x ⊗ |y ) = |x ⊗ |y ⊕ f (x) not = λxB .x?|0 ·|1 Uf = λxB⊗B .(head x) ⊗ ((tail x)?not(f (head x))·f (head x))
  • 31. Deutsch in λ |0 H Uf H ± |f (0) ⊕ f (1) |1 H 1√ 2 |0 − 1√ 2 |1 not = λxB .x?|0 ·|1 H = λxB .1/ √ 2.(|0 + x?−|1 ·|1 ) H⊗2 = λxB⊗B .(H(head x)) ⊗ (H(tail x)) Uf = λxB⊗B .(head x) ⊗ ((tail x)?not(f (head x))·f (head x)) H1 = λxB⊗B .(H(head x)) ⊗ (tail x) Deutschf = π1(⇑ S(B⊗B) S(S(B)⊗B) H1(Uf ⇑ S(B⊗B) S(B⊗S(B))⇑ S(B⊗S(B)) S(S(B)⊗S(B)) H⊗2 (|0 ⊗ |1 ) Deutschf : B ⊗ S(B) Deutschid −→∗ (1) π1(1/ √ 2. |1 ⊗ |0 − 1/ √ 2. |1 ⊗ |1 ) −→(1) |1 ⊗ (1/ √ 2. |0 − 1/ √ 2. |1 )
  • 32. Teleportation in λ |ψ • H |0 H • |0 Zb1 Xb2 |ψ epr = λxB⊗B .cnot(H1 x) alice = λxS(B)⊗S(B⊗B) .π2(⇑ S(B⊗B⊗B) S(S(B)⊗B⊗B) H3 1 (cnot3 12 ⇑ S(B⊗B⊗B) S(B⊗S(B⊗B))⇑ S(B⊗S(B⊗B)) S(S(B)⊗S(B⊗B)) x)) Ub = (λbB .λxB .b?Ux·x) b bob = λxB⊗B⊗B .Zhead x nothead (tail x) .(tail (tail x)) Teleportation = λqS(B) .bob (⇑ S(B⊗B⊗B) S(B⊗B⊗S(B)) alice (q ⊗ (epr |0 ⊗ |0 ))) Teleportation : S(B) ⇒ S(B) Teleportation q −→(1) q