/
N.J.Ross,P.Selinger,J.M.SmithandB.Valiron3Tworun-times.AQuipperprogra N.J.Ross,P.Selinger,J.M.SmithandB.Valiron3Tworun-times.AQuipperprogra

N.J.Ross,P.Selinger,J.M.SmithandB.Valiron3Tworun-times.AQuipperprogra - PDF document

luanne-stotts
luanne-stotts . @luanne-stotts
Follow
388 views
Uploaded On 2016-07-17

N.J.Ross,P.Selinger,J.M.SmithandB.Valiron3Tworun-times.AQuipperprogra - PPT Presentation

5AchievementsThelanguageQuipperhasbeendesignedinthecontextoftheIARPAfundedQCSprogram8SevenalgorithmswereusedasbenchmarksThesealgorithmswerechosenbyIARPAtoprovideareasonablyrepresentativecrosssec ID: 408518

5AchievementsThelanguageQuipperhasbeendesignedinthecontextoftheIARPA-fundedQCSprogram[8].Sevenalgorithmswereusedasbenchmarks.ThesealgorithmswerechosenbyIARPAtoprovideareasonablyrepresentativecross-sec

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "N.J.Ross,P.Selinger,J.M.SmithandB.Valiro..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

N.J.Ross,P.Selinger,J.M.SmithandB.Valiron3Tworun-times.AQuipperprogramdescribesafamilyofcircuits,whichmaydependonsomeclassicalparameters.Aftercompilation,aprogramisrstexecutedtogenerateacircuit(circuitgenerationtime),andthenthecircuitisexecuted(circuitexecutiontime).Parameter/inputdistinction.Quipperhastwonotionsofclassicaldata:parameters,whichareknownatcircuitgenerationtime,andinputs,whichareknownatcircuitexecutiontime.Forexample,thetypeBoolstandsforparametersandthetypeBitforinputs.Extensibledatatypes.QuipperoffersanabstractviewofthenotionofquantumdatausingthepowerfultypeclassmechanismofHaskell'stypesystem.Automaticgenerationofquantumoracles.Concretequantumalgorithmscomewithnon-trivialclassicaloperationsthathavetobeliftedtoquantumoperations.QuippercomeswithafacilitytoturnordinaryHaskellprogramsintoreversiblecircuits,usingTemplateHaskell.SimilarlytowhatisdoneinLava[3],thesemanticsofcircuitgenerationiscapturedinamonad.Thispermitsbothimperative-styleprogramming,whereacircuitisdescribedgatebygate,anddeclarative-style,wherecircuitsaremanipulatedasrst-classobjects,andtransformedwithcombinators.Anexampleofcodewiththecorrespondingcircuitisshownbelow.circ::Qubit�-CircQubitcircx=dohadamard_atxwith_ancilla$\y�-doqnot_atyqnotx`controlled`yqnot_atyhadamard_atxreturnx 5AchievementsThelanguageQuipperhasbeendesignedinthecontextoftheIARPA-fundedQCSprogram[8].Sevenalgorithmswereusedasbenchmarks.ThesealgorithmswerechosenbyIARPAtoprovideareasonablyrepresentativecross-sectionofcurrentalgorithms.BinaryWeldedTree(BWT).Tondalabelednodeinagraph[2].BooleanFormula(BF).ToevaluateaNANDformula[1].Theversionofthisalgorithmimple-mentedinQuippercomputesawinningstrategyforthegameofHex.ClassNumber(CL).Toapproximatetheclassgroupofarealquadraticnumbereld[6].GroundStateEstimation(GSE).Tocomputethegroundstateenergylevelofaparticularmolecule[14].QuantumLinearSystems(QLS).Tosolvealinearsystemofequations[7].UniqueShortestVector(USV).Tochoosetheshortestvectoramongagivenset[13].TriangleFinding(TF).Toexhibitatriangleinsideadensegraph[11].Thesealgorithmsuseofawidevarietyofquantumprimitives,suchasamplitudeamplication,quantumwalks,thequantumFouriertransform,andquantumsimulation.Severalofthemalsorequiretheimple-mentationofcomplexclassicaloracles.ThestartingpointforeachofouralgorithmimplementationswasadetaileddescriptionofthealgorithmprovidedbyIARPA.TheywereallcodedinQuipperandarerunning,inthesensethatonecangeneratethecircuit(andportionthereof).UsingQuipper,wewereabletoperformsemi-orcompletelyautomatedlogicalgatecountestima-tionsforeachofthealgorithms.Forexample,inthecaseofthetrianglendingalgorithm,./tf-fgatecount-oorthodox-l31-n15-r6producesthegatecountforthecompletealgorithm.Thisrunstocompletioninundertwominutesonalaptopcomputer,andproducesacountof30,189,977,982,990(over30trillion)totalgatesand4676qubits.