30
1 Adiabatic quantum machine learning Sergio Boixo Information Sciences Institute USC Viterbi School of Engineering Harvard Associate

Adiabatic quantum machine learning

  • Upload
    lamdung

  • View
    235

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Adiabatic quantum machine learning

1

Adiabatic quantum machine learning

Sergio Boixo Information Sciences Institute

USC Viterbi School of Engineering Harvard Associate

Page 2: Adiabatic quantum machine learning

People at USC / ISI

Federico Spedalieri Greg Ver Steeg Kristen Pudenz

Stephan Haas Paolo Zanardi Todd Brun Lorenzo Campos Tony Levi Edmun Jonckheere Massoud Pedram Susumu Takahashi Bob Lucas John Damoulakis

Daniel Lidar

qubit system will be the topic of a separate publication. Toclearly establish the lingua franca of our work, we havedepicted a portion of the multiqubit circuit in Fig. 5!a". Ca-nonical representations of the external flux biases needed tooperate a qubit, a coupler, and a QFP-enabled readout arelabeled on the diagram. The fluxes !L

x , !Rx , !LT

x , and !cox

were only ever subjected to dc levels in our experiments thatwere controlled by PMM. The remaining fluxes and readoutcurrent biases were driven by a custom-built 128-channelroom-temperature current source. The mutual inductancesbetween qubit and QFP !Mq!qfp", between QFP and dcSQUID !Mqfp!ro", qubit and coupler !Mco,i", and!co

x -dependent interqubit mutual inductance !Meff" have alsobeen indicated. Further details concerning cryogenics, mag-netic shielding, and signal filtering have been discussed inprevious publications.44–47 We have calibrated the relevantmutual inductances between devices in situ and have at-tempted to measure a significant portion of the parasitic crosscouplings between bias controls !both analog lines and PMMelements" into unintended devices. These cross couplingswere typically below our measurement threshold "0.1 fHwhile designed mutual inductances between bias controlsand intended devices were typically O!1 pH". Much of the 4orders in magnitude separation between intended versus un-intended mutual inductances can be attributed to the exten-sive use of ground planes and the encapsulation of trans-formers described above. Such careful shielding is criticalfor producing high-density and scalable superconducting de-vice architectures.

Since much of what follows depends on a clear under-standing of our QFP-enabled readout mechanism, we presenta brief review of its operation herein. The flux and readoutcurrent wave form sequence involved in a single-shot read-out is depicted in Fig. 5!b". Much like the CJJ qubit,47 theQFP can be adiabatically annealed from a state with amonostable potential !!latch

x =!!0 /2" to a state with abistable potential !!latch

x =!!0" that supports two countercir-culating persistent current states. The matter of which persis-tent current state prevails at the end of an annealing cycledepends on the sum of !qfp

x and any signal from the qubitmediated via Mq!qfp. The state of the QFP is then determinedwith high fidelity using a synchronized flux pulse and currentbias ramp applied to the dc SQUID. The readout process wastypically completed within a repetition time trep#50 $s.

An example trace of the population of one of the QFPpersistent current states Pqfp versus !qfp

x , obtained using thelatching sequence depicted in Fig. 5!b", is shown in Fig. 5!c".This trace was obtained with the qubit potential heldmonostable !!ccjj

x =!!0 /2" such that it presented minimalflux to the QFP and would therefore not influence Pqfp. Thedata have been fit to the phenomenological form

Pqfp =12#1 ! tanh$!qfp

x ! !qfp0

w%& , !8"

with width w'0.18 m!0 for the trace shown therein. Whenbiased with constant !qfp

x =!qfp0 , which we refer to as the

QFP degeneracy point, this transition in the population sta-tistics can be used as a highly nonlinear flux amplifier forsensing the state of the qubit. Given that Mq!qfp=6.28%0.01 pH for the devices reported upon herein andthat typical qubit persistent currents in the presence of neg-ligible tunneling (Iq

p(&1 $A, then the net flux presented by aqubit was 2Mq!qfp(Iq

p(&6 m!0, which far exceeded w. Bythis means, one can achieve the very high qubit state readoutfidelity reported in Ref. 46. On the other hand, the QFP canbe used as a linearized flux sensor by engaging !qfp

x in afeedback loop and actively tracking !qfp

0 . This latter mode ofoperation has been used extensively in obtaining many of theresults presented herein.

IV. CCJJ RF-SQUID CHARACTERIZATION

The purpose of this section is to present measurementsthat characterize the CCJJ, L tuner, and capacitance of aCCJJ rf SQUID. All measurements shown herein have beenmade with a set of standard bias conditions given by !L

x

=98.4 m!0, !Rx =!89.3 m!0, !LT

x =0.344 !0, and all in-terqubit couplers tuned to provide Meff=0, unless indicatedotherwise. The logic behind this particular choice of biasconditions will be explained in what follows. This sectionwill begin with a description of the experimental methods forextracting Lq and Iq

c from persistent current measurements.Thereafter, data that demonstrate the performance of theCCJJ and L tuner will be presented. Finally, this section willconclude with the determination of Cq from macroscopicresonant tunneling data.

0

0

-!0/2

~!0/3

iro(t)

!ro(t)x

!qfp(t)x

x!latch(t)

t=0 trep

0

(b)

-!0 }}

QFP

(a)

Qubit Meff

Coupler

{

QFP

!cox

iro

!qfpx

!qx

!latchx

!ccjjx

!rox

!Lx!R

x

Mq-qfp

Mqfp-ro

Mco,i

!LTx

1 0.5 0 0.5 10

0.25

0.5

0.75

1

(c) !qfpx (m!0)

Pqfp

dc SQUID

dcSQUID

FIG. 5. !Color online" !a" Schematic representation of a portionof the circuit reported upon herein. Canonical representations of allexternally controlled flux biases !'

x , readout current bias iro, andkey mutual inductances M' are indicated. !b" Depiction of latchingreadout wave form sequence. !c" Example QFP state populationmeasurement as a function of the dc level !qfp

x with no qubit signal.Data have been fit to Eq. !8".

EXPERIMENTAL DEMONSTRATION OF A ROBUST AND… PHYSICAL REVIEW B 81, 134510 !2010"

134510-7

Page 3: Adiabatic quantum machine learning

Adiabatic quantum machine learning

•  H. Neven, V. S. Denchev, M. Drew-Brook, J. Zhang, W. G. Macready, and G. Rose, “NIPS 2009 Demonstration: Binary Classification using Hardware Implementation of Quantum Annealing,” 2009.

•  H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, “Training a Binary Classifier with the Quantum Adiabatic Algorithm,” 0811.0416, Nov. 2008.

•  H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, “Training a Large Scale Classifier with the Quantum Adiabatic Algorithm,” 0912.0779, Dec. 2009.

•  H. Neven, G. Rose, and W. G. Macready, “Image recognition with an adiabatic quantum computer I. Mapping to quadratic unconstrained binary optimization,” 0804.4457, Apr. 2008.

•  K. L. Pudenz and D. A. Lidar, “Quantum adiabatic machine learning,” 1109.0325, Sep. 2011.

Page 4: Adiabatic quantum machine learning

Aspuru-Guzik group

Page 5: Adiabatic quantum machine learning

!!!"#$%&$%'("

!! !"#$%&'()%&*+,",-.,/01 %%

!! )%"*+,$--./"#$0,1$--"

!! )%"234."56$,$-78&%.-9"

!! 234%5#67"8#%9'0:;"7*-&<;=;%

!! :%+;"<$%4+/"51$'+%7=.'+44$">?@5AB"A.CD0+E"

!! ;+%1.%(")%"F+.4"GH"GI-0,.J7<$%%.%$">-+K"=+/0,E"

!!!"G6$-;+%'("

!! :%+;"L,.-$-"=$+"

!! )%"F$MDN"A+-'$4"

!! )%H"O+-P"G+9+4+K"

!!!"Q7<,.1"R-0H("

!! )%"SD,$-"G,$+"

!! )%"54.C"G+'6"

!! )%"L,.-T-U"V$-"

!! )%"*D-U"W+-U"

!! AG0"X./4D."Y+U6"

!! 5%P.,"V+4'7:$%9.%"

!! 5--$"=%+09K$P">F8?E"

!! &0>;)%?;'=%

!!!"R=A"Z<V("

!! =D44"=+&.%1$--"

!! *+-$6,$-"5%1/6%+-U"

!! W.&D-"F..'"

!! W.D6,"?[4D-U.%"

!!!"?G<"7"RGR("

!! 37"@0#%A#0B#%

Clean Energy Project

Page 6: Adiabatic quantum machine learning

Clean Energy Project

Page 7: Adiabatic quantum machine learning

Organic photovoltaics 101

Page 8: Adiabatic quantum machine learning

CEP Steps

Page 9: Adiabatic quantum machine learning

%Power Conv. Effic.

Jsc – Short-circuit current

Voc – Open-circuit voltage

FF – Fill factor

For different families: 3.3% -> 7.7%

Page 10: Adiabatic quantum machine learning

CEP Machine Learning

!"#$%&'()*(+,#-.-./(0'+($)&'12&'0(

Page 11: Adiabatic quantum machine learning

Results with lin. reg.

Olivares-Amaya, Amador-Bedolla, Hachmann, Atahan-Evrenk, et al.. Energy Environ. Sci. (2011)

Page 12: Adiabatic quantum machine learning

Gaussian Processes Gaussian Processes

•  High-level Gaussian distribution over functions •  Gray area defines where the function could be - defined entirely

by mean and standard deviation •  As you add data points, you become more certain of the

behavior of the function near those points

Page 13: Adiabatic quantum machine learning

Binary Classification

Binary classification

•Rather than predicting numerical value for efficiency,

predicts whether or not it will be over a certain threshold

MW Amw Me Mp Mi nBP …

0 0 1 0 1 0 …

PCE ! 6.5

!

< 0 0 1 0 1 0 … >

•  Rather than predicting numerical value for efficiency, predicts whether or not it will be over a certain threshold

•  Solution is a binary vector marking each descriptor as a “good predictor” or “bad predictor”

•  Reduces descriptor space at expense of complexity of output

Feature Selection

Page 14: Adiabatic quantum machine learning

Burden Matrix Structural information

Burden matrix

Symmetric matrix of atomic entries with:

•Atomic number in the diagonal

•Off-diagonal:

•Conventional bond order / 10. (Conventional bond

order is 0.1, 0.2, 0.3 and 0.15 for single, double, triple

and aromatic bonds).

•Terminal bonds: + 0.01

•Other entries: +0.001

Structural information

Typical descriptor: SpMax_Bh(m), second largest

eigenvalue.

Page 15: Adiabatic quantum machine learning

Moran Autocorrelation

1�k

·�

i

�j(wi � w̄) · (wj � w̄) · �(dij , k)

1A ·

�i(wi � w̄)2

Moran autocorrelation

Typical descriptor: MATS5m, Moran autocorrelation of lag

5 weighted by mass.

Page 16: Adiabatic quantum machine learning

Machine learning “Boosting”

We start with “weak classifiers” that are correct with some probability:

hj(x) =

�1 if x seems of type 10 if x seems of type 0

We find a strong classifier:

H. Neven, V. S. Denchev, G. Rose, W. G. Macready 2008, 2008, 2009, 2009. K. Pudenz, D. Lidar 2011

H(x) =

⇤⇧

j

�jhj(x) > T

One classifier for each descriptor

Page 17: Adiabatic quantum machine learning

Exhaustive Search for Strong Classifier Exhaustive search for Strong Class.

•  Even with two descriptor models, weighted errors lower than 10% have been achieved

•  Recurring descriptors: •  Burden matrix - eigenvalues and spectral diameter •  Moran autocorrelations

Page 18: Adiabatic quantum machine learning

•! !"#$%&''#!(#)*#$**#"+*#

$),"-+#./0%#10#

/*23'&/,4&501#6788#

9*$-/,:"0/$;#"0#&/0319#<8#

•! =+*#>/$"#:0,1"$#+&?*#$&%*#

*//0/#&19#10@#0.#

9*$-/,:"0/$@#!A*/)&/9$(#

"+*#$0'3501#,$#?*/B#

9*2*1*/&"*#

S�

s=1

H[�ysQw(xs)] + �⇥w⇥0

CEP ML Tests

Page 19: Adiabatic quantum machine learning

CEP ML Tests

Lambda   No. descriptors   Wrong   Error  0   247   3   0.034847  

4.85E-07   29   3   0.008152  9.70E-07   29   3   0.008152  1.46E-06   29   3   0.008152  1.94E-06   29   3   0.008152  2.43E-06   29   3   0.008152  2.91E-06   29   3   0.008152  3.40E-06   29   3   0.008152  3.88E-06   29   3   0.008152  4.37E-06   29   3   0.008152  

•  Starting from ~600 Dragon descriptors •  Adding regularization decreases no. of descriptors dramatically •  First few set of lambda values give a similar set of solutions

Page 20: Adiabatic quantum machine learning

CEP ML Tests

Page 21: Adiabatic quantum machine learning

Test with (mostly) random noise

0

2

4

6

8

10

12

14

16

18

20

0 10 20 30 40 50 60 0

2

4

6

8

10

12

14

16

18

20

No. of va

riable

s se

lect

ed (

should

be 1

)

Random variables used

Population

2E32E42E52E6

Page 22: Adiabatic quantum machine learning

QUBO

Weak class. score Regularization Avoid similar class.

QUBO and Boosting

H(x) =

⇤⇧

j

�jhj(x) > T

Page 23: Adiabatic quantum machine learning

QUBO = 2D Random Ising

HIsing = QjjZj +QjkZjZk

H(s) = (1� s)X

Xj + sHIsing

•  Can be implemented with D-Wave’s chip •  Fairly complicated problems can be addressed •  Approximate solutions are OK (embedding) •  Better solutions or potential speedup? •  The final result gives a classical function (Gaussian

process)

Page 24: Adiabatic quantum machine learning

CEP

•  Harvard Clean Energy Project (Alán Aspuru-Guzik et. al.) •  Distributed computing project ("screensaver") •  IBM World Community Grid •  Approximately three years in the making: June 2010 Linux

code, November 2010 Windows and Mac codes •  Preliminary results first published: August 2011

Page 25: Adiabatic quantum machine learning

25

Entanglement with fast dephasing adiabatic computation

Page 26: Adiabatic quantum machine learning

D-Wave Qubits

qubit system will be the topic of a separate publication. Toclearly establish the lingua franca of our work, we havedepicted a portion of the multiqubit circuit in Fig. 5!a". Ca-nonical representations of the external flux biases needed tooperate a qubit, a coupler, and a QFP-enabled readout arelabeled on the diagram. The fluxes !L

x , !Rx , !LT

x , and !cox

were only ever subjected to dc levels in our experiments thatwere controlled by PMM. The remaining fluxes and readoutcurrent biases were driven by a custom-built 128-channelroom-temperature current source. The mutual inductancesbetween qubit and QFP !Mq!qfp", between QFP and dcSQUID !Mqfp!ro", qubit and coupler !Mco,i", and!co

x -dependent interqubit mutual inductance !Meff" have alsobeen indicated. Further details concerning cryogenics, mag-netic shielding, and signal filtering have been discussed inprevious publications.44–47 We have calibrated the relevantmutual inductances between devices in situ and have at-tempted to measure a significant portion of the parasitic crosscouplings between bias controls !both analog lines and PMMelements" into unintended devices. These cross couplingswere typically below our measurement threshold "0.1 fHwhile designed mutual inductances between bias controlsand intended devices were typically O!1 pH". Much of the 4orders in magnitude separation between intended versus un-intended mutual inductances can be attributed to the exten-sive use of ground planes and the encapsulation of trans-formers described above. Such careful shielding is criticalfor producing high-density and scalable superconducting de-vice architectures.

Since much of what follows depends on a clear under-standing of our QFP-enabled readout mechanism, we presenta brief review of its operation herein. The flux and readoutcurrent wave form sequence involved in a single-shot read-out is depicted in Fig. 5!b". Much like the CJJ qubit,47 theQFP can be adiabatically annealed from a state with amonostable potential !!latch

x =!!0 /2" to a state with abistable potential !!latch

x =!!0" that supports two countercir-culating persistent current states. The matter of which persis-tent current state prevails at the end of an annealing cycledepends on the sum of !qfp

x and any signal from the qubitmediated via Mq!qfp. The state of the QFP is then determinedwith high fidelity using a synchronized flux pulse and currentbias ramp applied to the dc SQUID. The readout process wastypically completed within a repetition time trep#50 $s.

An example trace of the population of one of the QFPpersistent current states Pqfp versus !qfp

x , obtained using thelatching sequence depicted in Fig. 5!b", is shown in Fig. 5!c".This trace was obtained with the qubit potential heldmonostable !!ccjj

x =!!0 /2" such that it presented minimalflux to the QFP and would therefore not influence Pqfp. Thedata have been fit to the phenomenological form

Pqfp =12#1 ! tanh$!qfp

x ! !qfp0

w%& , !8"

with width w'0.18 m!0 for the trace shown therein. Whenbiased with constant !qfp

x =!qfp0 , which we refer to as the

QFP degeneracy point, this transition in the population sta-tistics can be used as a highly nonlinear flux amplifier forsensing the state of the qubit. Given that Mq!qfp=6.28%0.01 pH for the devices reported upon herein andthat typical qubit persistent currents in the presence of neg-ligible tunneling (Iq

p(&1 $A, then the net flux presented by aqubit was 2Mq!qfp(Iq

p(&6 m!0, which far exceeded w. Bythis means, one can achieve the very high qubit state readoutfidelity reported in Ref. 46. On the other hand, the QFP canbe used as a linearized flux sensor by engaging !qfp

x in afeedback loop and actively tracking !qfp

0 . This latter mode ofoperation has been used extensively in obtaining many of theresults presented herein.

IV. CCJJ RF-SQUID CHARACTERIZATION

The purpose of this section is to present measurementsthat characterize the CCJJ, L tuner, and capacitance of aCCJJ rf SQUID. All measurements shown herein have beenmade with a set of standard bias conditions given by !L

x

=98.4 m!0, !Rx =!89.3 m!0, !LT

x =0.344 !0, and all in-terqubit couplers tuned to provide Meff=0, unless indicatedotherwise. The logic behind this particular choice of biasconditions will be explained in what follows. This sectionwill begin with a description of the experimental methods forextracting Lq and Iq

c from persistent current measurements.Thereafter, data that demonstrate the performance of theCCJJ and L tuner will be presented. Finally, this section willconclude with the determination of Cq from macroscopicresonant tunneling data.

0

0

-!0/2

~!0/3

iro(t)

!ro(t)x

!qfp(t)x

x!latch(t)

t=0 trep

0

(b)

-!0 }}

QFP

(a)

Qubit Meff

Coupler

{

QFP

!cox

iro

!qfpx

!qx

!latchx

!ccjjx

!rox

!Lx!R

x

Mq-qfp

Mqfp-ro

Mco,i

!LTx

1 0.5 0 0.5 10

0.25

0.5

0.75

1

(c) !qfpx (m!0)

Pqfp

dc SQUID

dcSQUID

FIG. 5. !Color online" !a" Schematic representation of a portionof the circuit reported upon herein. Canonical representations of allexternally controlled flux biases !'

x , readout current bias iro, andkey mutual inductances M' are indicated. !b" Depiction of latchingreadout wave form sequence. !c" Example QFP state populationmeasurement as a function of the dc level !qfp

x with no qubit signal.Data have been fit to Eq. !8".

EXPERIMENTAL DEMONSTRATION OF A ROBUST AND… PHYSICAL REVIEW B 81, 134510 !2010"

134510-7

R. Harris et al., “Experimental demonstration of a robust and scalable flux qubit,” Physical Review B, vol. 81, Apr. 2010.

Page 27: Adiabatic quantum machine learning

Redfield Simulation

•  Energies in GHz range (ns)

•  Dephasing (in instantaneous eigenbasis) of around 10ns

•  Fast thermalization

•  Redfield simulation code provided by M. Amin (R. Harris)

•  No concurrence between pairs of qubits (?)

Page 28: Adiabatic quantum machine learning

PPT Symmetric Extensions

All separable states have a PPTSE for any k

F. Spedalieri et. al.

Page 29: Adiabatic quantum machine learning

Witness entanglement

Temperature (mK) Adiabatic time

(microseconds)

Page 30: Adiabatic quantum machine learning

30

Questions?