SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
My computer wants to be quantum (when it grows up)
A tutorial on classical simulation of quantum computers
Javier Rodr´ıguez Laguna
Dto. F´ısica Fundamental, UNED, Madrid Instituto de F´ısica Te´orica (CSIC), Madrid
Facultad de Inform´atica, UCM, Madrid. March 31, 2016.
What shall we talk about?
Seducing Nature into doing our work
Someone’s crisis is another guy’s opportunity
Not up or down, but up and down
The astonishing power of combinatorics
The Matrix is your friend (take the quantum pill)
Sorting your life priorities is NP-hard
In order to compute, do not wake up the dragon
Seducing Nature into doing our work
Optimization problems:
• Traveling salesman problem (TSP), knapsack problem...
• Factorizing: Minimize E(x, y) = |N − xy|.
Nature Optimizes:
• E.g., crystal structure minimizes the energy, and solves a tough problem.
Complexity classes:
• P problems: can be solved in polynomial time.
• NP problems: can be checked in polynomial time.
The dimensionality curse
Classical vs Quantum: information content of a state.
Consider space divided into N boxes.
Classical Description: Select one configuration in {0, 1}N.
Quantum Description: Map ψ : {0, 1}N → C.
Configuration Classical Quantum
000 - +1/2
001 - 0
010 - −1/2
011 - +1/2
100 - 0
101 • −1/2
110 - 0
111 - 0
Richard Feynman: Turn the crisis into an opportunity!
Brave Quantum World
Probabilistic or mixed state
Pure state or ket
Brave Quantum World
|↑ + |↓ = |→
Measurements of Sx are certain.
Brave Quantum World
General Qubit
|ψ = α|↑ + β|↓
|ψ = α|0 + β|1
Probability for up: |α|2, Probability for down: |β|2
|α|2 + |β|2 = 1
General Quantum State
|ψ =
N
i=1
αi|si
Probability for i-th state: |αi|2, N
i=1 |αi|2 = 1.
States as Vectors
• General Qubit:
|ψ = α|0 + β|1 , =⇒ ψ = (α, β)
• General Quantum State:
|ψ =
N
i=1
αi|si , =⇒ ψ = (α1, α2, . . . , αN)
|0
|1
|ψ|φ
Probability of mistaking
• Two quantum states,
|ψ = ψ0|0 + ψ1|1 , |φ = φ0|0 + φ1|1
ψ = (ψ0, ψ1), φ = (φ0, φ1)
• To compute the probability of mistaking them:
|0
|1
|ψ|φ
Prob(φ, ψ) = cos2(φ, ψ)
= (¯φ0ψ0 + ¯φ1ψ1)2
≡ | φ|ψ |2
Each state is a direction: you can not mistake N and E, but you can mistake N
and NE.
Probability of mistaking
• E.g. what is the probability of mistaking |→ and |↑ ?
|→ = 1√
2
(|↑ + |↓ ) = 1√
2
, 1√
2
|↑ = (1, 0)
Prob(→, ↑) = | → | ↑ |2 = 1√
2
· 1 + 1√
2
· 0
2
= 1
2
Many-cat Theory
• What if we have two killer cats?
• Why not in a linear superposition?
Many-cat Theory
• Tensor basis for two qubits:
{|00 , |01 , |10 , |11 }
• Generic state:
|ψ = α|00 + β|01 + γ|10 + δ|11
ψ = (α, β, γ, δ)
• We need to store 4 = 22 numbers.
• Specially relevant state is the Einstein-Podolsky-Rosen (EPR):
|S = 1√
2
(|01 − |10 ) , S = 0, 1√
2
, − 1√
2
, 0
Many-cat Theory
• What about states like
|ψ = |→→
• Introduce the tensor product, ⊗, which works like a product!
|ψ = |→ ⊗ |→
= 1√
2
(|↑ + |↓ ) ⊗ 1√
2
(|↑ + |↓ )
= 1
2 (|↑ ⊗ |↑ + |↑ ⊗ |↓ + |↓ ⊗ |↑ + |↓ ⊗ |↓ )
= 1
2 (|↑↑ + |↑↓ + |↓↑ + |↓↓ )
ψ = 1
2 (1, 1, 1, 1)
Many-cat Theory
• Tensor basis for three qubits:
{|000 , |001 , |010 , |011 , |100 , |101 , |110 , |111 }
• Generic state:
|ψ = α|000 + β|001 + γ|010 + δ|011 + ǫ|100 + ζ|101 + η|110 + θ|111
ψ = (α, β, γ, δ, ǫ, ζ, η, θ)
• We need to store 8 = 23 numbers.
• For N qubits, we need to store 2N numbers! The dimensionality curse!
Many-cat Theory
• Some special many-qubit states: GHZ, N´eel & Dicke.
|GHZ = 1√
2
(|000 · · · + |111 · · · )
|N = 1√
2
(|1010 · · · + |0101 · · · )
|D4,2 = 1√
6
(|0011 + |0101 + |0110 + |1001 + |1010 + |1100 )
D4,2 = (0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0)
• Do you observe a link between many-qubit states and formal languages?
Formal language: {0, 1}∗ → {0, 1},
Many-qubit state: {0, 1}N → C.
Qubism
• Our group developed a plotting scheme for many-qubit states.
00 → Upper left 01 → Upper right
10 → Lower left 11 → Lower right Level 1
2 qubits
00
10
01
11
Level 2
4 qubits
0000 0001 0100 0101
0010 0011 0110 0111
1000 1001 1100 1101
1010 1011 1110 1111
Qubism
FM 0000...
FM 1111...AF 1010...
AF 0101...
|0000 |GHZ |D4,2
Qubism
• Qubistic plots are typically fractal
|D12,6 (α|0 + β|1 )⊗12
Energy
• The dynamics is specified if we know the energy of all states.
• First example, external magnetic field: E = ΓSz.
|↑ → E = Γ, |↓ → E = −Γ
• What is the energy of |→ ? A random variable!
• OK, what is the expected energy of |→ ?
E = p(↑) · E(↑) + p(↓) · E(↓)
= 1
2 · Γ + 1
2 · (−Γ) = 0
• And for a generic qubit |ψ = α|↑ + β|↓ ?
E = p(↑) · E(↑) + p(↓) · E(↓)
= |α|2 · Γ + |β|2 · (−Γ)
= Γ |α|2 − |β|2
Enter The Matrix
• Each observable can be associated to a linear operator (=matrix);
Sz =
1 0
0 −1
, Sx =
0 1
1 0
• Expected values on state |ψ = α|↑ + β|↓ ,
ψ|Sz|ψ = (¯α, ¯β)
1 0
0 −1
α
β
= (¯α, ¯β)
α
−β
= |α|2 − |β|2
ψ|Sx|ψ = (¯α, ¯β)
0 1
1 0
α
β
= (¯α, ¯β)
β
α
= ¯αβ + α¯β
• The matrix corresponding to the energy is called Hamiltonian.
Enter The Matrix
• Each matrix has some specially dear states, called eigenstates.
H|ϕ = E|ϕ
• Eigenvector: |ϕ ; Eigenvalue: E.
• Example, Sz:
1 0
0 −1
1
0
= (+1) ·
1
0
,
1 0
0 −1
0
1
= (−1) ·
0
1
Sz|↑ = (+1)|↑ , Sz|↓ = (−1)|↓
• Example, Sx:
0 1
1 0
1
1
= (+1) ·
1
1
,
0 1
1 0
1
−1
= (−1) ·
1
−1
Sx|→ = (+1)|→ , Sx|← = (−1)|←
Enter The Matrix
• A symmetric matrix N × N has N orthogonal eigenstates:
H|ϕi = Ei|ϕi , {|ϕi , Ei}
ϕi|ϕj = δij.
• Finding eigenstates and eigenvalues (diagonalization) is efficient, O(N3).
• On |ψ , measurement of energy will yield one of the Ei, randomly.
• Probability for outcome Ei = probability of mistaking |ψ and |ϕi .
p(Ei) = | ϕi|ψ |2
• Eigenvalues are ordered: E1 < E2 < · · · < EN.
• The minimal possible energy is E1 for |ϕ1 , the Ground State.
Many-body Hamiltonians
• Recipe: Find out how H acts on all basis states.
• Elements of the game:
Sz|0 = −|0 , Sz|1 = |1 ; Sx|0 = |1 , Sx|1 = |0
• Example, H = Sz
1 + Sx
2
(Sz
1 + Sx
2) |00 = −|00 + |01 = (−1, +1, 0, 0),
(Sz
1 + Sx
2) |01 = −|01 + |00 = (+1, −1, 0, 0),
(Sz
1 + Sx
2) |10 = +|10 + |11 = (0, 0, +1, +1),
(Sz
1 + Sx
2) |11 = +|11 + |10 = (0, 0, +1, +1),
H = Sz
1 + Sz
2 =



−1 1 0 0
1 −1 0 0
0 0 1 1
0 0 1 1



Many-body Hamiltonians
• Another example, H = Sx
1Sx
2
Sx
1 Sx
2 |00 = |11 = (0, 0, 0, 1),
Sx
1 Sx
2 |01 = |10 = (0, 0, 1, 0),
Sx
1 Sx
2 |10 = |01 = (0, 1, 0, 0),
Sx
1 Sx
2 |11 = |00 = (1, 0, 0, 0).
H = Sx
1Sx
2 =



0 0 0 1
0 0 1 0
0 1 0 0
1 0 0 0



The Spin-Glass Problem
• Draw a graph with your life aims.
The Spin-Glass Problem
• Ising spin-glass model:
HI =
i,j
Jij Sz
i Sz
j +
i
hi Sz
i
J12 = 1 J13 = 2
J23 = 2
h1 = 1
h2 = 0 h3 = 0
HI|000 = (1 + 2 + 2 − 1)|000 = +4|000 ,
HI|001 = (1 − 2 − 2 − 1)|001 = −4|001 ,
HI|010 = (−1 + 2 − 2 − 1)|010 = −2|010 ,
HI|011 = (−1 − 2 + 2 − 1)|011 = −2|011 ,
HI|100 = (−1 − 2 + 2 + 1)|100 = +0|100 ,
HI|101 = (−1 + 2 − 2 + 1)|101 = +0|101 ,
HI|110 = (+1 − 2 − 2 + 1)|110 = −2|110 ,
HI|111 = (+1 + 2 + 2 + 1)|111 = 6|111 .
The Spin-Glass Problem
HI =
i,j
Jij Sz
i Sz
j +
i
hi Sz
i
J12 = 1 J13 = 2
J23 = 2
h1 = 1
h2 = 0 h3 = 0
HI =











+4
−4
−2
−2
0
0
−2
+6











• The Ground State of HI is the solution to an NP-complete problem!
• But... how to cool the system down? System is glassy!
Transverse Field
• The effect of a Sx external field is to flip the spin!
HX = −
i
Sx
i ,
• Ground State is the democratic state:
|ϕ1 = |→ ⊗N
= 1√
8
(|000 + |001 + |010 + |011 + |100 + |101 + |110 + |111 )
Transverse Field
(Sx
1 + Sx
2 + Sx
3) |000 = |100 + |010 + |001 ,
(Sx
1 + Sx
2 + Sx
3) |001 = |101 + |011 + |000 ,
(Sx
1 + Sx
2 + Sx
3) |010 = |110 + |000 + |011 ,
(Sx
1 + Sx
2 + Sx
3) |011 = |111 + |001 + |010 ,
(Sx
1 + Sx
2 + Sx
3) |100 = |000 + |110 + |101 ,
(Sx
1 + Sx
2 + Sx
3) |101 = |001 + |111 + |100 ,
(Sx
1 + Sx
2 + Sx
3) |110 = |010 + |100 + |111 ,
(Sx
1 + Sx
2 + Sx
3) |111 = |011 + |101 + |110 .
HX = −











1 1 1
1 1 1
1 1 1
1 1 1 1
1 1
1 1 1
1 1 1
1 1 1











Adiabatic Quantum Computation
1.- Build a tunable machine, with Hamiltonian
H(s) = s HI + (1 − s) HX
2.- Start with s = 0, get the GS of HX (easy!).
3.- Increase s with care! (Don’t wake the dragon!)
4.- When s = 1, read the solution: just measure Sz on each qubit.
• How fast can we get? Landau-Zener formula.
v ∝ (∆E)2
= (E2 − E1)2
TAQC ∝
1
0
ds
(E2(s) − E1(s))2
Mind the Gap
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Energygap,∆E
Adiabatic parameter s
Now, let’s play!
• Connect to http://github.com/jvrlag/qtoys
• Download Qtoys, it is GPL-free.
• Follow the compilation instructions (for Linux), or translate to your pet system.
• Run xqshow, if possible with some smooth jazz.
• Open the code, change it freely, play.
• If you get to publish a paper, buy me a beer! :)
Thank you for your Attention!
• Visit our bar: http://mononoke.fisfun.uned.es/jrlaguna
• Remember the main web: http://github.com/jvrlag/qtoys
Thanks to I. Rodr´ıguez-Laguna, S.N. Santalla, G. Sierra, G. Santoro, P. Raghani,
A. Degenhard, M. Lewenstein, A. Celi, E. Koroutcheva, M.A. Mart´ın-Delgado and
R. Cuerno.

Más contenido relacionado

La actualidad más candente

Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation Meet Patel
 
Newton backward interpolation
Newton backward interpolationNewton backward interpolation
Newton backward interpolationMUHAMMADUMAIR647
 
Different kind of distance and Statistical Distance
Different kind of distance and Statistical DistanceDifferent kind of distance and Statistical Distance
Different kind of distance and Statistical DistanceKhulna University
 
Study Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and IntegrationStudy Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and IntegrationMeenakshisundaram N
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
On Bernstein Polynomials
On Bernstein PolynomialsOn Bernstein Polynomials
On Bernstein PolynomialsIOSR Journals
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolationHarshad Koshti
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler methodSohaib Butt
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleMuhammadUsmanIkram2
 
On Certain Classess of Multivalent Functions
On Certain Classess of Multivalent Functions On Certain Classess of Multivalent Functions
On Certain Classess of Multivalent Functions iosrjce
 
Student manual
Student manualStudent manual
Student manualec931657
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference FormulationSohaib H. Khan
 
Applications of Numerical Functional Analysis in Atomless Finite Measure Spaces
Applications of Numerical Functional Analysis in Atomless Finite Measure SpacesApplications of Numerical Functional Analysis in Atomless Finite Measure Spaces
Applications of Numerical Functional Analysis in Atomless Finite Measure SpacesQUESTJOURNAL
 
Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4Rai University
 
Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces Sohaib H. Khan
 

La actualidad más candente (17)

Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Newton backward interpolation
Newton backward interpolationNewton backward interpolation
Newton backward interpolation
 
Different kind of distance and Statistical Distance
Different kind of distance and Statistical DistanceDifferent kind of distance and Statistical Distance
Different kind of distance and Statistical Distance
 
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
 
Study Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and IntegrationStudy Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and Integration
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
On Bernstein Polynomials
On Bernstein PolynomialsOn Bernstein Polynomials
On Bernstein Polynomials
 
Unit iv
Unit ivUnit iv
Unit iv
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with Example
 
On Certain Classess of Multivalent Functions
On Certain Classess of Multivalent Functions On Certain Classess of Multivalent Functions
On Certain Classess of Multivalent Functions
 
Student manual
Student manualStudent manual
Student manual
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference Formulation
 
Applications of Numerical Functional Analysis in Atomless Finite Measure Spaces
Applications of Numerical Functional Analysis in Atomless Finite Measure SpacesApplications of Numerical Functional Analysis in Atomless Finite Measure Spaces
Applications of Numerical Functional Analysis in Atomless Finite Measure Spaces
 
Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4
 
Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces
 

Similar a Mi ordenador, de mayor, quiere ser cuántico (curso acelerado de simulación clásica de computación cuántica) - Dr. Javier Rodríguez Laguna

07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processingJordanJohmMallillin
 
Calculus Early Transcendentals 10th Edition Anton Solutions Manual
Calculus Early Transcendentals 10th Edition Anton Solutions ManualCalculus Early Transcendentals 10th Edition Anton Solutions Manual
Calculus Early Transcendentals 10th Edition Anton Solutions Manualnodyligomi
 
Solutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by AntonSolutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by AntonPamelaew
 
5icdsa2007 v4
5icdsa2007 v45icdsa2007 v4
5icdsa2007 v4fminhos
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment HelpEdu Assignment Help
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manualnmahi96
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signalsaroosa khan
 
Lecture 3 - Series Expansion III.pptx
Lecture 3 - Series Expansion III.pptxLecture 3 - Series Expansion III.pptx
Lecture 3 - Series Expansion III.pptxPratik P Chougule
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.Abu Kaisar
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfAnuBajpai5
 
some important questions for practice clas 12
some important questions for practice clas 12  some important questions for practice clas 12
some important questions for practice clas 12 nitishguptamaps
 
Assignment For Matlab Report Subject Calculus 2
Assignment For Matlab Report Subject  Calculus 2Assignment For Matlab Report Subject  Calculus 2
Assignment For Matlab Report Subject Calculus 2Laurie Smith
 
LP Graphical Solution
LP Graphical SolutionLP Graphical Solution
LP Graphical Solutionunemployedmba
 

Similar a Mi ordenador, de mayor, quiere ser cuántico (curso acelerado de simulación clásica de computación cuántica) - Dr. Javier Rodríguez Laguna (20)

07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 
Calculus Early Transcendentals 10th Edition Anton Solutions Manual
Calculus Early Transcendentals 10th Edition Anton Solutions ManualCalculus Early Transcendentals 10th Edition Anton Solutions Manual
Calculus Early Transcendentals 10th Edition Anton Solutions Manual
 
Solutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by AntonSolutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by Anton
 
5icdsa2007 v4
5icdsa2007 v45icdsa2007 v4
5icdsa2007 v4
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
 
Power series
Power series Power series
Power series
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment Help
 
Calculo integral - Larson
Calculo integral - LarsonCalculo integral - Larson
Calculo integral - Larson
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signals
 
Lecture 3 - Series Expansion III.pptx
Lecture 3 - Series Expansion III.pptxLecture 3 - Series Expansion III.pptx
Lecture 3 - Series Expansion III.pptx
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdf
 
some important questions for practice clas 12
some important questions for practice clas 12  some important questions for practice clas 12
some important questions for practice clas 12
 
Teknik Simulasi
Teknik SimulasiTeknik Simulasi
Teknik Simulasi
 
Assignment For Matlab Report Subject Calculus 2
Assignment For Matlab Report Subject  Calculus 2Assignment For Matlab Report Subject  Calculus 2
Assignment For Matlab Report Subject Calculus 2
 
LP Graphical Solution
LP Graphical SolutionLP Graphical Solution
LP Graphical Solution
 

Más de Facultad de Informática UCM

¿Por qué debemos seguir trabajando en álgebra lineal?
¿Por qué debemos seguir trabajando en álgebra lineal?¿Por qué debemos seguir trabajando en álgebra lineal?
¿Por qué debemos seguir trabajando en álgebra lineal?Facultad de Informática UCM
 
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...Facultad de Informática UCM
 
DRAC: Designing RISC-V-based Accelerators for next generation Computers
DRAC: Designing RISC-V-based Accelerators for next generation ComputersDRAC: Designing RISC-V-based Accelerators for next generation Computers
DRAC: Designing RISC-V-based Accelerators for next generation ComputersFacultad de Informática UCM
 
Tendencias en el diseño de procesadores con arquitectura Arm
Tendencias en el diseño de procesadores con arquitectura ArmTendencias en el diseño de procesadores con arquitectura Arm
Tendencias en el diseño de procesadores con arquitectura ArmFacultad de Informática UCM
 
Introduction to Quantum Computing and Quantum Service Oriented Computing
Introduction to Quantum Computing and Quantum Service Oriented ComputingIntroduction to Quantum Computing and Quantum Service Oriented Computing
Introduction to Quantum Computing and Quantum Service Oriented ComputingFacultad de Informática UCM
 
Inteligencia Artificial en la atención sanitaria del futuro
Inteligencia Artificial en la atención sanitaria del futuroInteligencia Artificial en la atención sanitaria del futuro
Inteligencia Artificial en la atención sanitaria del futuroFacultad de Informática UCM
 
Design Automation Approaches for Real-Time Edge Computing for Science Applic...
 Design Automation Approaches for Real-Time Edge Computing for Science Applic... Design Automation Approaches for Real-Time Edge Computing for Science Applic...
Design Automation Approaches for Real-Time Edge Computing for Science Applic...Facultad de Informática UCM
 
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...Estrategias de navegación para robótica móvil de campo: caso de estudio proye...
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...Facultad de Informática UCM
 
Fault-tolerance Quantum computation and Quantum Error Correction
Fault-tolerance Quantum computation and Quantum Error CorrectionFault-tolerance Quantum computation and Quantum Error Correction
Fault-tolerance Quantum computation and Quantum Error CorrectionFacultad de Informática UCM
 
Cómo construir un chatbot inteligente sin morir en el intento
Cómo construir un chatbot inteligente sin morir en el intentoCómo construir un chatbot inteligente sin morir en el intento
Cómo construir un chatbot inteligente sin morir en el intentoFacultad de Informática UCM
 
Automatic generation of hardware memory architectures for HPC
Automatic generation of hardware memory architectures for HPCAutomatic generation of hardware memory architectures for HPC
Automatic generation of hardware memory architectures for HPCFacultad de Informática UCM
 
Hardware/software security contracts: Principled foundations for building sec...
Hardware/software security contracts: Principled foundations for building sec...Hardware/software security contracts: Principled foundations for building sec...
Hardware/software security contracts: Principled foundations for building sec...Facultad de Informática UCM
 
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...Facultad de Informática UCM
 
Redes neuronales y reinforcement learning. Aplicación en energía eólica.
Redes neuronales y reinforcement learning. Aplicación en energía eólica.Redes neuronales y reinforcement learning. Aplicación en energía eólica.
Redes neuronales y reinforcement learning. Aplicación en energía eólica.Facultad de Informática UCM
 
Challenges and Opportunities for AI and Data analytics in Offshore wind
Challenges and Opportunities for AI and Data analytics in Offshore windChallenges and Opportunities for AI and Data analytics in Offshore wind
Challenges and Opportunities for AI and Data analytics in Offshore windFacultad de Informática UCM
 

Más de Facultad de Informática UCM (20)

¿Por qué debemos seguir trabajando en álgebra lineal?
¿Por qué debemos seguir trabajando en álgebra lineal?¿Por qué debemos seguir trabajando en álgebra lineal?
¿Por qué debemos seguir trabajando en álgebra lineal?
 
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...
TECNOPOLÍTICA Y ACTIVISMO DE DATOS: EL MAPEO COMO FORMA DE RESILIENCIA ANTE L...
 
DRAC: Designing RISC-V-based Accelerators for next generation Computers
DRAC: Designing RISC-V-based Accelerators for next generation ComputersDRAC: Designing RISC-V-based Accelerators for next generation Computers
DRAC: Designing RISC-V-based Accelerators for next generation Computers
 
uElectronics ongoing activities at ESA
uElectronics ongoing activities at ESAuElectronics ongoing activities at ESA
uElectronics ongoing activities at ESA
 
Tendencias en el diseño de procesadores con arquitectura Arm
Tendencias en el diseño de procesadores con arquitectura ArmTendencias en el diseño de procesadores con arquitectura Arm
Tendencias en el diseño de procesadores con arquitectura Arm
 
Formalizing Mathematics in Lean
Formalizing Mathematics in LeanFormalizing Mathematics in Lean
Formalizing Mathematics in Lean
 
Introduction to Quantum Computing and Quantum Service Oriented Computing
Introduction to Quantum Computing and Quantum Service Oriented ComputingIntroduction to Quantum Computing and Quantum Service Oriented Computing
Introduction to Quantum Computing and Quantum Service Oriented Computing
 
Computer Design Concepts for Machine Learning
Computer Design Concepts for Machine LearningComputer Design Concepts for Machine Learning
Computer Design Concepts for Machine Learning
 
Inteligencia Artificial en la atención sanitaria del futuro
Inteligencia Artificial en la atención sanitaria del futuroInteligencia Artificial en la atención sanitaria del futuro
Inteligencia Artificial en la atención sanitaria del futuro
 
Design Automation Approaches for Real-Time Edge Computing for Science Applic...
 Design Automation Approaches for Real-Time Edge Computing for Science Applic... Design Automation Approaches for Real-Time Edge Computing for Science Applic...
Design Automation Approaches for Real-Time Edge Computing for Science Applic...
 
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...Estrategias de navegación para robótica móvil de campo: caso de estudio proye...
Estrategias de navegación para robótica móvil de campo: caso de estudio proye...
 
Fault-tolerance Quantum computation and Quantum Error Correction
Fault-tolerance Quantum computation and Quantum Error CorrectionFault-tolerance Quantum computation and Quantum Error Correction
Fault-tolerance Quantum computation and Quantum Error Correction
 
Cómo construir un chatbot inteligente sin morir en el intento
Cómo construir un chatbot inteligente sin morir en el intentoCómo construir un chatbot inteligente sin morir en el intento
Cómo construir un chatbot inteligente sin morir en el intento
 
Automatic generation of hardware memory architectures for HPC
Automatic generation of hardware memory architectures for HPCAutomatic generation of hardware memory architectures for HPC
Automatic generation of hardware memory architectures for HPC
 
Type and proof structures for concurrency
Type and proof structures for concurrencyType and proof structures for concurrency
Type and proof structures for concurrency
 
Hardware/software security contracts: Principled foundations for building sec...
Hardware/software security contracts: Principled foundations for building sec...Hardware/software security contracts: Principled foundations for building sec...
Hardware/software security contracts: Principled foundations for building sec...
 
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...
Jose carlossancho slidesLa seguridad en el desarrollo de software implementad...
 
Do you trust your artificial intelligence system?
Do you trust your artificial intelligence system?Do you trust your artificial intelligence system?
Do you trust your artificial intelligence system?
 
Redes neuronales y reinforcement learning. Aplicación en energía eólica.
Redes neuronales y reinforcement learning. Aplicación en energía eólica.Redes neuronales y reinforcement learning. Aplicación en energía eólica.
Redes neuronales y reinforcement learning. Aplicación en energía eólica.
 
Challenges and Opportunities for AI and Data analytics in Offshore wind
Challenges and Opportunities for AI and Data analytics in Offshore windChallenges and Opportunities for AI and Data analytics in Offshore wind
Challenges and Opportunities for AI and Data analytics in Offshore wind
 

Último

Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 

Último (20)

Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

Mi ordenador, de mayor, quiere ser cuántico (curso acelerado de simulación clásica de computación cuántica) - Dr. Javier Rodríguez Laguna

  • 1. My computer wants to be quantum (when it grows up) A tutorial on classical simulation of quantum computers Javier Rodr´ıguez Laguna Dto. F´ısica Fundamental, UNED, Madrid Instituto de F´ısica Te´orica (CSIC), Madrid Facultad de Inform´atica, UCM, Madrid. March 31, 2016.
  • 2. What shall we talk about? Seducing Nature into doing our work Someone’s crisis is another guy’s opportunity Not up or down, but up and down The astonishing power of combinatorics The Matrix is your friend (take the quantum pill) Sorting your life priorities is NP-hard In order to compute, do not wake up the dragon
  • 3. Seducing Nature into doing our work Optimization problems: • Traveling salesman problem (TSP), knapsack problem... • Factorizing: Minimize E(x, y) = |N − xy|. Nature Optimizes: • E.g., crystal structure minimizes the energy, and solves a tough problem. Complexity classes: • P problems: can be solved in polynomial time. • NP problems: can be checked in polynomial time.
  • 4. The dimensionality curse Classical vs Quantum: information content of a state. Consider space divided into N boxes. Classical Description: Select one configuration in {0, 1}N. Quantum Description: Map ψ : {0, 1}N → C. Configuration Classical Quantum 000 - +1/2 001 - 0 010 - −1/2 011 - +1/2 100 - 0 101 • −1/2 110 - 0 111 - 0 Richard Feynman: Turn the crisis into an opportunity!
  • 5. Brave Quantum World Probabilistic or mixed state Pure state or ket
  • 6. Brave Quantum World |↑ + |↓ = |→ Measurements of Sx are certain.
  • 7. Brave Quantum World General Qubit |ψ = α|↑ + β|↓ |ψ = α|0 + β|1 Probability for up: |α|2, Probability for down: |β|2 |α|2 + |β|2 = 1 General Quantum State |ψ = N i=1 αi|si Probability for i-th state: |αi|2, N i=1 |αi|2 = 1.
  • 8. States as Vectors • General Qubit: |ψ = α|0 + β|1 , =⇒ ψ = (α, β) • General Quantum State: |ψ = N i=1 αi|si , =⇒ ψ = (α1, α2, . . . , αN) |0 |1 |ψ|φ
  • 9. Probability of mistaking • Two quantum states, |ψ = ψ0|0 + ψ1|1 , |φ = φ0|0 + φ1|1 ψ = (ψ0, ψ1), φ = (φ0, φ1) • To compute the probability of mistaking them: |0 |1 |ψ|φ Prob(φ, ψ) = cos2(φ, ψ) = (¯φ0ψ0 + ¯φ1ψ1)2 ≡ | φ|ψ |2 Each state is a direction: you can not mistake N and E, but you can mistake N and NE.
  • 10. Probability of mistaking • E.g. what is the probability of mistaking |→ and |↑ ? |→ = 1√ 2 (|↑ + |↓ ) = 1√ 2 , 1√ 2 |↑ = (1, 0) Prob(→, ↑) = | → | ↑ |2 = 1√ 2 · 1 + 1√ 2 · 0 2 = 1 2
  • 11. Many-cat Theory • What if we have two killer cats? • Why not in a linear superposition?
  • 12. Many-cat Theory • Tensor basis for two qubits: {|00 , |01 , |10 , |11 } • Generic state: |ψ = α|00 + β|01 + γ|10 + δ|11 ψ = (α, β, γ, δ) • We need to store 4 = 22 numbers. • Specially relevant state is the Einstein-Podolsky-Rosen (EPR): |S = 1√ 2 (|01 − |10 ) , S = 0, 1√ 2 , − 1√ 2 , 0
  • 13. Many-cat Theory • What about states like |ψ = |→→ • Introduce the tensor product, ⊗, which works like a product! |ψ = |→ ⊗ |→ = 1√ 2 (|↑ + |↓ ) ⊗ 1√ 2 (|↑ + |↓ ) = 1 2 (|↑ ⊗ |↑ + |↑ ⊗ |↓ + |↓ ⊗ |↑ + |↓ ⊗ |↓ ) = 1 2 (|↑↑ + |↑↓ + |↓↑ + |↓↓ ) ψ = 1 2 (1, 1, 1, 1)
  • 14. Many-cat Theory • Tensor basis for three qubits: {|000 , |001 , |010 , |011 , |100 , |101 , |110 , |111 } • Generic state: |ψ = α|000 + β|001 + γ|010 + δ|011 + ǫ|100 + ζ|101 + η|110 + θ|111 ψ = (α, β, γ, δ, ǫ, ζ, η, θ) • We need to store 8 = 23 numbers. • For N qubits, we need to store 2N numbers! The dimensionality curse!
  • 15. Many-cat Theory • Some special many-qubit states: GHZ, N´eel & Dicke. |GHZ = 1√ 2 (|000 · · · + |111 · · · ) |N = 1√ 2 (|1010 · · · + |0101 · · · ) |D4,2 = 1√ 6 (|0011 + |0101 + |0110 + |1001 + |1010 + |1100 ) D4,2 = (0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0) • Do you observe a link between many-qubit states and formal languages? Formal language: {0, 1}∗ → {0, 1}, Many-qubit state: {0, 1}N → C.
  • 16. Qubism • Our group developed a plotting scheme for many-qubit states. 00 → Upper left 01 → Upper right 10 → Lower left 11 → Lower right Level 1 2 qubits 00 10 01 11 Level 2 4 qubits 0000 0001 0100 0101 0010 0011 0110 0111 1000 1001 1100 1101 1010 1011 1110 1111
  • 17. Qubism FM 0000... FM 1111...AF 1010... AF 0101... |0000 |GHZ |D4,2
  • 18. Qubism • Qubistic plots are typically fractal |D12,6 (α|0 + β|1 )⊗12
  • 19. Energy • The dynamics is specified if we know the energy of all states. • First example, external magnetic field: E = ΓSz. |↑ → E = Γ, |↓ → E = −Γ • What is the energy of |→ ? A random variable! • OK, what is the expected energy of |→ ? E = p(↑) · E(↑) + p(↓) · E(↓) = 1 2 · Γ + 1 2 · (−Γ) = 0 • And for a generic qubit |ψ = α|↑ + β|↓ ? E = p(↑) · E(↑) + p(↓) · E(↓) = |α|2 · Γ + |β|2 · (−Γ) = Γ |α|2 − |β|2
  • 20. Enter The Matrix • Each observable can be associated to a linear operator (=matrix); Sz = 1 0 0 −1 , Sx = 0 1 1 0 • Expected values on state |ψ = α|↑ + β|↓ , ψ|Sz|ψ = (¯α, ¯β) 1 0 0 −1 α β = (¯α, ¯β) α −β = |α|2 − |β|2 ψ|Sx|ψ = (¯α, ¯β) 0 1 1 0 α β = (¯α, ¯β) β α = ¯αβ + α¯β • The matrix corresponding to the energy is called Hamiltonian.
  • 21. Enter The Matrix • Each matrix has some specially dear states, called eigenstates. H|ϕ = E|ϕ • Eigenvector: |ϕ ; Eigenvalue: E. • Example, Sz: 1 0 0 −1 1 0 = (+1) · 1 0 , 1 0 0 −1 0 1 = (−1) · 0 1 Sz|↑ = (+1)|↑ , Sz|↓ = (−1)|↓ • Example, Sx: 0 1 1 0 1 1 = (+1) · 1 1 , 0 1 1 0 1 −1 = (−1) · 1 −1 Sx|→ = (+1)|→ , Sx|← = (−1)|←
  • 22. Enter The Matrix • A symmetric matrix N × N has N orthogonal eigenstates: H|ϕi = Ei|ϕi , {|ϕi , Ei} ϕi|ϕj = δij. • Finding eigenstates and eigenvalues (diagonalization) is efficient, O(N3). • On |ψ , measurement of energy will yield one of the Ei, randomly. • Probability for outcome Ei = probability of mistaking |ψ and |ϕi . p(Ei) = | ϕi|ψ |2 • Eigenvalues are ordered: E1 < E2 < · · · < EN. • The minimal possible energy is E1 for |ϕ1 , the Ground State.
  • 23. Many-body Hamiltonians • Recipe: Find out how H acts on all basis states. • Elements of the game: Sz|0 = −|0 , Sz|1 = |1 ; Sx|0 = |1 , Sx|1 = |0 • Example, H = Sz 1 + Sx 2 (Sz 1 + Sx 2) |00 = −|00 + |01 = (−1, +1, 0, 0), (Sz 1 + Sx 2) |01 = −|01 + |00 = (+1, −1, 0, 0), (Sz 1 + Sx 2) |10 = +|10 + |11 = (0, 0, +1, +1), (Sz 1 + Sx 2) |11 = +|11 + |10 = (0, 0, +1, +1), H = Sz 1 + Sz 2 =    −1 1 0 0 1 −1 0 0 0 0 1 1 0 0 1 1   
  • 24. Many-body Hamiltonians • Another example, H = Sx 1Sx 2 Sx 1 Sx 2 |00 = |11 = (0, 0, 0, 1), Sx 1 Sx 2 |01 = |10 = (0, 0, 1, 0), Sx 1 Sx 2 |10 = |01 = (0, 1, 0, 0), Sx 1 Sx 2 |11 = |00 = (1, 0, 0, 0). H = Sx 1Sx 2 =    0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0   
  • 25. The Spin-Glass Problem • Draw a graph with your life aims.
  • 26. The Spin-Glass Problem • Ising spin-glass model: HI = i,j Jij Sz i Sz j + i hi Sz i J12 = 1 J13 = 2 J23 = 2 h1 = 1 h2 = 0 h3 = 0 HI|000 = (1 + 2 + 2 − 1)|000 = +4|000 , HI|001 = (1 − 2 − 2 − 1)|001 = −4|001 , HI|010 = (−1 + 2 − 2 − 1)|010 = −2|010 , HI|011 = (−1 − 2 + 2 − 1)|011 = −2|011 , HI|100 = (−1 − 2 + 2 + 1)|100 = +0|100 , HI|101 = (−1 + 2 − 2 + 1)|101 = +0|101 , HI|110 = (+1 − 2 − 2 + 1)|110 = −2|110 , HI|111 = (+1 + 2 + 2 + 1)|111 = 6|111 .
  • 27. The Spin-Glass Problem HI = i,j Jij Sz i Sz j + i hi Sz i J12 = 1 J13 = 2 J23 = 2 h1 = 1 h2 = 0 h3 = 0 HI =            +4 −4 −2 −2 0 0 −2 +6            • The Ground State of HI is the solution to an NP-complete problem! • But... how to cool the system down? System is glassy!
  • 28. Transverse Field • The effect of a Sx external field is to flip the spin! HX = − i Sx i , • Ground State is the democratic state: |ϕ1 = |→ ⊗N = 1√ 8 (|000 + |001 + |010 + |011 + |100 + |101 + |110 + |111 )
  • 29. Transverse Field (Sx 1 + Sx 2 + Sx 3) |000 = |100 + |010 + |001 , (Sx 1 + Sx 2 + Sx 3) |001 = |101 + |011 + |000 , (Sx 1 + Sx 2 + Sx 3) |010 = |110 + |000 + |011 , (Sx 1 + Sx 2 + Sx 3) |011 = |111 + |001 + |010 , (Sx 1 + Sx 2 + Sx 3) |100 = |000 + |110 + |101 , (Sx 1 + Sx 2 + Sx 3) |101 = |001 + |111 + |100 , (Sx 1 + Sx 2 + Sx 3) |110 = |010 + |100 + |111 , (Sx 1 + Sx 2 + Sx 3) |111 = |011 + |101 + |110 . HX = −            1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1           
  • 30. Adiabatic Quantum Computation 1.- Build a tunable machine, with Hamiltonian H(s) = s HI + (1 − s) HX 2.- Start with s = 0, get the GS of HX (easy!). 3.- Increase s with care! (Don’t wake the dragon!) 4.- When s = 1, read the solution: just measure Sz on each qubit. • How fast can we get? Landau-Zener formula. v ∝ (∆E)2 = (E2 − E1)2 TAQC ∝ 1 0 ds (E2(s) − E1(s))2
  • 31. Mind the Gap 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Energygap,∆E Adiabatic parameter s
  • 32. Now, let’s play! • Connect to http://github.com/jvrlag/qtoys • Download Qtoys, it is GPL-free. • Follow the compilation instructions (for Linux), or translate to your pet system. • Run xqshow, if possible with some smooth jazz. • Open the code, change it freely, play. • If you get to publish a paper, buy me a beer! :)
  • 33. Thank you for your Attention! • Visit our bar: http://mononoke.fisfun.uned.es/jrlaguna • Remember the main web: http://github.com/jvrlag/qtoys Thanks to I. Rodr´ıguez-Laguna, S.N. Santalla, G. Sierra, G. Santoro, P. Raghani, A. Degenhard, M. Lewenstein, A. Celi, E. Koroutcheva, M.A. Mart´ın-Delgado and R. Cuerno.