Commit 31a6d847 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing bug in xasm not adding vars to expandable insts


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 3dd392c8
Pipeline #80576 passed with stage
in 4 minutes and 12 seconds
......@@ -323,7 +323,6 @@ service.
xacc.qasm('''
.compiler xasm
.circuit foo
.parameters x,y,z
.qbit q
H(q[0]);
CX(q[0], q[1]);
......@@ -342,6 +341,7 @@ service.
assert(4 == f.nInstructions())
Extending Accelerator for new Simulators
-----------------------------------------
Here we document how one might extend the ``Accelerator`` interface for
new simulators.
\ No newline at end of file
......@@ -450,7 +450,6 @@ service.</p>
<span class="n">xacc</span><span class="o">.</span><span class="n">qasm</span><span class="p">(</span><span class="s1">&#39;&#39;&#39;</span>
<span class="s1">.compiler xasm</span>
<span class="s1">.circuit foo</span>
<span class="s1">.parameters x,y,z</span>
<span class="s1">.qbit q</span>
<span class="s1">H(q[0]);</span>
<span class="s1">CX(q[0], q[1]);</span>
......@@ -472,6 +471,8 @@ service.</p>
</div>
<div class="section" id="extending-accelerator-for-new-simulators">
<h2>Extending Accelerator for new Simulators<a class="headerlink" href="#extending-accelerator-for-new-simulators" title="Permalink to this headline"></a></h2>
<p>Here we document how one might extend the <code class="docutils literal notranslate"><span class="pre">Accelerator</span></code> interface for
new simulators.</p>
</div>
</div>
......
Search.setIndex({docnames:["advanced","basics","developers","extensions","index","install","obsolete/api/accelerator-index","obsolete/api/accelerator/accelerator","obsolete/api/accelerator/acceleratorbuffer","obsolete/api/accelerator/acceleratorbufferpostprocessor","obsolete/api/accelerator/remoteaccelerator","obsolete/api/api-index","obsolete/api/aqc/dwgraph","obsolete/api/aqc/dwir","obsolete/api/aqc/dwirprovider","obsolete/api/aqc/dwkernel","obsolete/api/aqc/dwqmi","obsolete/api/aqc/hubo","obsolete/api/aqc/trivialembeddingalgorithm","obsolete/api/compiler-index","obsolete/api/compiler/compiler","obsolete/api/compiler/preprocessor","obsolete/api/gate/algorithms","obsolete/api/gate/gatefunction","obsolete/api/gate/gateinstruction","obsolete/api/gate/gateir","obsolete/api/gate/gateirprovider","obsolete/api/gate/instructions/cnot","obsolete/api/gate/instructions/conditionalfunction","obsolete/api/gate/instructions/cphase","obsolete/api/gate/instructions/cz","obsolete/api/gate/instructions/hadamard","obsolete/api/gate/instructions/identity","obsolete/api/gate/instructions/measure","obsolete/api/gate/instructions/rx","obsolete/api/gate/instructions/ry","obsolete/api/gate/instructions/rz","obsolete/api/gate/instructions/swap","obsolete/api/gate/instructions/x","obsolete/api/gate/instructions/y","obsolete/api/gate/instructions/z","obsolete/api/gate/kernelreplacementpreprocessor","obsolete/api/ir-index","obsolete/api/ir/function","obsolete/api/ir/instruction","obsolete/api/ir/instructioniterator","obsolete/api/ir/instructionvisitor","obsolete/api/ir/ir","obsolete/api/ir/irgenerator","obsolete/api/ir/irprovider","obsolete/api/ir/irtransformation","obsolete/api/program-index","obsolete/api/program/kernel","obsolete/api/program/program","obsolete/api/utils-index","obsolete/api/utils/cliparser","obsolete/api/utils/cloneable","obsolete/api/utils/graph","obsolete/api/utils/identifiable","obsolete/api/utils/optionsprovider","obsolete/api/utils/runtimeoptions","obsolete/api/utils/serviceregistry","obsolete/api/utils/singleton","obsolete/api/utils/utils","obsolete/apps","obsolete/arch","obsolete/bench","obsolete/dwave","obsolete/em","obsolete/ibm","obsolete/overview","obsolete/plugins","obsolete/python","obsolete/rigetti","obsolete/scaffold","obsolete/tnqvm","obsolete/tutorials","obsolete/xacc-vqe"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["advanced.rst","basics.rst","developers.rst","extensions.rst","index.rst","install.rst","obsolete/api/accelerator-index.rst","obsolete/api/accelerator/accelerator.rst","obsolete/api/accelerator/acceleratorbuffer.rst","obsolete/api/accelerator/acceleratorbufferpostprocessor.rst","obsolete/api/accelerator/remoteaccelerator.rst","obsolete/api/api-index.rst","obsolete/api/aqc/dwgraph.rst","obsolete/api/aqc/dwir.rst","obsolete/api/aqc/dwirprovider.rst","obsolete/api/aqc/dwkernel.rst","obsolete/api/aqc/dwqmi.rst","obsolete/api/aqc/hubo.rst","obsolete/api/aqc/trivialembeddingalgorithm.rst","obsolete/api/compiler-index.rst","obsolete/api/compiler/compiler.rst","obsolete/api/compiler/preprocessor.rst","obsolete/api/gate/algorithms.rst","obsolete/api/gate/gatefunction.rst","obsolete/api/gate/gateinstruction.rst","obsolete/api/gate/gateir.rst","obsolete/api/gate/gateirprovider.rst","obsolete/api/gate/instructions/cnot.rst","obsolete/api/gate/instructions/conditionalfunction.rst","obsolete/api/gate/instructions/cphase.rst","obsolete/api/gate/instructions/cz.rst","obsolete/api/gate/instructions/hadamard.rst","obsolete/api/gate/instructions/identity.rst","obsolete/api/gate/instructions/measure.rst","obsolete/api/gate/instructions/rx.rst","obsolete/api/gate/instructions/ry.rst","obsolete/api/gate/instructions/rz.rst","obsolete/api/gate/instructions/swap.rst","obsolete/api/gate/instructions/x.rst","obsolete/api/gate/instructions/y.rst","obsolete/api/gate/instructions/z.rst","obsolete/api/gate/kernelreplacementpreprocessor.rst","obsolete/api/ir-index.rst","obsolete/api/ir/function.rst","obsolete/api/ir/instruction.rst","obsolete/api/ir/instructioniterator.rst","obsolete/api/ir/instructionvisitor.rst","obsolete/api/ir/ir.rst","obsolete/api/ir/irgenerator.rst","obsolete/api/ir/irprovider.rst","obsolete/api/ir/irtransformation.rst","obsolete/api/program-index.rst","obsolete/api/program/kernel.rst","obsolete/api/program/program.rst","obsolete/api/utils-index.rst","obsolete/api/utils/cliparser.rst","obsolete/api/utils/cloneable.rst","obsolete/api/utils/graph.rst","obsolete/api/utils/identifiable.rst","obsolete/api/utils/optionsprovider.rst","obsolete/api/utils/runtimeoptions.rst","obsolete/api/utils/serviceregistry.rst","obsolete/api/utils/singleton.rst","obsolete/api/utils/utils.rst","obsolete/apps.rst","obsolete/arch.rst","obsolete/bench.rst","obsolete/dwave.rst","obsolete/em.rst","obsolete/ibm.rst","obsolete/overview.rst","obsolete/plugins.rst","obsolete/python.rst","obsolete/rigetti.rst","obsolete/scaffold.rst","obsolete/tnqvm.rst","obsolete/tutorials.rst","obsolete/xacc-vqe.rst"],objects:{},objnames:{},objtypes:{},terms:{"0_amd64":74,"3rd":73,"abstract":[1,64,65,66,70,76],"case":[2,65,76],"char":[1,3,69,73],"class":[2,4,64,66,71],"const":[1,2,69,73],"default":[2,3,5,64,67,71,73],"export":[3,5],"final":[1,2,3,64,65,68,69,70,72,73,76],"float":[65,69,76],"function":[1,2,3,42,64,65,66,70,71,73,76],"import":[1,2,3,64,65,66,68,72,73,76],"int":[1,3,65,66,69,73,76],"long":65,"new":[4,65,70,73,76],"public":[2,3,71],"return":[1,2,3,65,66,69,72,73],"static":[],"switch":[64,76],"true":[2,3,5,76],"var":76,"void":[1,2],"while":65,And:[2,64,76],But:[73,76],For:[2,3,4,5,64,65,66,71,76],IDE:[2,5],Ising:65,Its:64,Near:[4,70],One:[64,76],PRs:74,QCS:[4,70],The:[1,2,3,4,5,64,65,66,67,68,69,70,71,73,75,76,77],Then:76,There:3,These:[1,2,3,65,66,70,71],Use:2,Using:[64,65],VMs:2,With:[3,64,65,73,76],__init__:2,__qpu__:[1,2,64,66,69,73],_bundle_nam:2,_irtransform:2,_name:2,a_0:64,a_1:64,abc:66,abil:65,about:[2,65,68,76],abov:[1,3,64,65,66,69,71,73,76],absolut:3,abstractmethod:66,acc:65,acceler:[4,5,11,64,66,67,68,69,70,71,72,75,76],acceleratorbuff:[1,3,4,6,11,64,65,66,68,73],acceleratordecor:[3,71],acceleratornam:64,accept:65,access:[1,2,3,64,68,76],accomplish:[64,71,76],accord:[2,64],accordingli:3,account:[2,4,70],achiev:[65,70],acquir:68,across:[2,65,70],action:64,activ:[2,3,68,76],actual:[2,73,76],adadelta:3,adag_1:64,adag_2:64,adag_3:64,adagrad:3,adam:3,add:[2,3,5,69,71,73],add_execut:73,add_librari:2,add_subdirectori:2,added:[3,76],adding:2,addinstruct:[1,2],addit:[3,64,65,66,68,76],addition:[65,71],address:[2,5,73],adequ:1,adiabat:65,adjac:3,advanc:4,advantag:65,aer:[2,4],affect:[3,65,76],after:[1,64,65,66,73,76],against:2,aggreg:76,agnost:[65,66,70],aid:65,akin:[4,70,76],alex:[4,70],algebra:64,algo:[64,68],algorithm:[4,64,65,68,70,71,76],algorithmgener:65,all:[1,2,3,4,5,64,65,66,68,69,70,71,73,76],allevi:65,alloc:[1,3,68,69,73,76],allow:[3,66],alon:[65,71],alongsid:70,alpha:3,alreadi:[2,71,73,75],also:[1,3,5,64,65,66,68,69,70,71,73,76],altern:[3,5,65,67,69,71],although:5,amen:[64,65],amongst:76,amount:65,analysi:[65,76],analyz:[65,66],analyzebuff:76,analyzeresult:76,angl:[64,66,69,73,76],ani:[2,3,64,65,69,70,71,76],anneal:65,annhil:64,annot:[2,76],anoth:[1,2,3,73],ansatz2:3,ansatz:[1,3,64,68,76],ansatzgener:66,antlr4:71,antlr:71,anywai:69,api:[1,2,3,4,5,65,66,67,69,70,71,73,76],app:69,append:2,appli:[1,2,3,65],applic:[4,65,69,70],approach:[4,64,65,68,70],appropri:[1,2,64,65,70,71],apt:[5,71,74,75],architectur:[70,76],arduous:71,area:[],arg:[1,71,76],argc:[1,3,69,73],argument:[1,3,64,65,71,76],argv:[1,3,69,73],ari:65,ask:[4,70],aspen:3,assembl:[65,70],assert:[1,2,3],associ:[64,70,71,76],assum:5,atom:[4,70],attach:[4,65,70],attent:2,auto:[1,2,3,64,69,71,73],autom:3,automat:[3,66,68,71],avail:[1,3,64,65,69,70,71,73,76],availab:76,avoid:5,awesom:76,back:[2,65,76],backend:[1,3,4,64,65,69,71,73,76],background:2,bare:5,base:[2,3,65,66,71,76],base_api:5,bash:[3,5],bashrc:5,basi:3,basic:[2,4],bayesian:64,bboxinout:[],been:[66,73,76],befor:[65,76],begin:[2,65],behavior:68,being:[1,3,65],bell:[1,2,3,76],bell_quil_ibm_loc:5,below:[1,3,64,65,66,68,71,76],benchmark:[4,70],benefit:65,best:[5,65],beta1:3,beta2:3,between:[4,65,70,76],bfg:[1,3],bia:76,bias:76,bill:4,bin:[5,64],binari:[70,71,74,75],bind:[67,68,69,71,73,75,76,77],bit:[2,3,65,68,76],bla:[5,71,75],bluemix:[69,71],bodi:[65,68],boilerpl:[2,73,76],boost:73,both:[1,2,65,70,71],bound:3,box:71,branch:65,bravyi:64,breathe_project:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],brew:[5,71,75],browser:2,buffer:[3,4,64,65,66,68,71,76],bufferstr:76,build:[2,3,4,64,65,67,69,71,73,74,75,76,77],built:[3,68,69,71,76],bundl:[2,66],bundleactiv:2,bundlecontext:2,cach:2,cade:2,calcul:[66,76],call:[1,4,64,65,66,69,70,71,73,76],came:70,can:[1,2,3,4,5,64,65,66,67,68,69,70,71,73,74,75,76,77],cancel:2,cannot:76,capabl:[1,66],caption:65,carri:1,caus:68,cbit:[69,73],center:65,cento:[3,4],central:65,certain:[1,65],cfg:[],charl:4,check:[4,71,73,76],checkout:3,chemistri:3,chen:[4,70],child:[68,76],children:[64,76],choos:5,chrono:73,circuit:[1,2,3,64,65,68,70,71,73,76],circuitoptim:4,ciruit:64,cite:65,clang:70,classic:[1,3,4,64,65,70,71,73],clean:73,cleanup:76,clear:2,click:2,client:[65,70],clipars:54,clone:[2,3,5,64,67,69,71,73,75,77],cloneabl:54,close:[64,69,73],cloud:[2,3,4,70],cluster:[64,66],cmae:3,cmake:[2,3,5,64,67,69,71,73,75,76,77],cmake_current_source_dir:2,cmake_install_prefix:2,cmake_minimum_requir:[2,73],cmakelist:[2,73,76],cmd:2,cnot:[1,2,3,24,64,65,68,69,71,72,73,76],cobyla:3,code:[1,2,3,4,65,66,69,70,71,72,76],coeffici:64,collect:[2,73],columnwidth:65,com:[3,5,64,67,69,71,73,74,75,77],combin:65,come:[2,64,68,73,76],comma:64,command:[1,2,5,66,76],common:[3,5,64,65],comparison:73,compil:[2,3,4,5,64,66,70,73,74,76],compile_definit:2,compilekernel:64,complet:1,complex:[4,65,70,76],compliant:5,compon:[4,65,66,73],componentfactori:2,compos:65,composit:[65,66],compositeinstruct:[1,2,3],comprehens:4,comput:[1,2,3,4,64,65,66,68,69,70,76],computation:70,compute_readout_error_prob:68,computeenergyvqetask:64,concept:[1,64,70,76],concern:65,concret:[1,3,66],condit:65,conditional_0:73,conditional_1:73,conditionalfunct:24,config:[67,71,73],configur:[2,3,5,64,66],conjug:64,connect:[1,3,65,68,71,73,76],consid:76,consist:64,consol:[3,73],constant:3,constitu:76,constraint:65,construct:[2,3,65,68,70,76],constructor:[2,64],consum:71,contain:[1,2,3,65,66,68,70,76],content:[4,69,71],context:[2,76],continu:2,contribut:[2,3,76],contributing_coeff:68,contributing_rho_pqr:68,control:[3,65,70],conveni:[65,76],convent:[65,70],convert:[2,71],copi:66,core:[2,4,64,65,70,71],correct:[2,3,65,73,76],correctli:74,correspond:64,could:[1,64,65,71,72,76],count:76,coupl:[64,66],coupler:76,cours:76,cout:[3,69],cphase:24,cpp:[2,73],cppmicroservic:[2,4,64,70,71],cppmicroservices_export_bundle_activ:2,cppzmq:3,cpu:[2,65],creat:[1,2,3,4,65,69,70,71,72,73,76],createbuff:[64,68,69,73,76],createcomposit:1,createinstruct:1,creation:[1,64,73],creator:76,credenti:[2,3],creg:[69,73],critic:65,crucial:2,csv:[64,66,69,73],csv_name:64,ctest:[5,76],ctrl:2,cuda:[4,65,70],curl:5,current:[1,2,4,64,65,71],custom:[3,64,65,70,71,76],cxcancel:2,cxx:[2,73],dag:3,dashboard:2,data:[3,4,65,66,76],databas:1,dawesome_build_test:76,dcmake_install_prefix:3,dcmake_prefix_path:3,ddcl:4,ddcl_exampl:5,deb:74,decai:3,decis:3,declar:[73,76],decod:76,decomposit:65,decor:[2,4,71,76],def:[1,2,64,66,68,71,72,73,76],defaultplac:3,defin:[2,64,65,68,70,71,76],definit:[64,65],deleg:[3,64,70,71],demo:[],demonstr:[1,2,3,5,69,70,76],densiti:3,depend:[2,65,66,68,74,76],depolar:68,depth:64,deriv:65,describ:[2,3,4,5,65,70],descript:[2,3,65,69,71,73],design:[3,64,65,66,68],desir:[3,65,66,68,71,73,76],destin:2,detail:[1,3,64,65,69,71],deuteron:[3,68],deuteron_ansatz:[1,3],dev:[2,3,5,71,75],devel:[5,71,75],develop:[5,64,66,71,76],devic:65,devtoolset:[3,5],dialect:65,dict:3,dictat:1,dictionari:[3,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,64],did:1,differ:[3,64,65],differenti:[65,76],direct:[64,65,68,76],directli:[65,66],directori:[2,3,66,71,73],disabl:65,discrep:3,discuss:[3,4,5],disk:[65,70],dispar:65,displai:[72,76],distribut:3,diverg:3,divers:70,dmitri:[4,70],dnf:[5,71,74,75],docker:4,doe:[3,65,76],domain:[65,70],don:[2,73],done:[2,3,64,69,76],doubl:[1,3,64,65,66,73,76],doublet:64,down:5,download:[74,76],doxygenclass:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],dpkg:74,dpython_execut:3,dpython_include_dir:64,drive:65,driven:3,driver:70,drop:71,due:[65,74],dumitrescu:[4,70],duobl:3,dure:[64,68],duuid_librari:3,dw_2000q:3,dw_2000q_2:71,dw_2000q_vfyc_2_1:3,dwave:[4,67,71,76],dwave_config:[3,67,71],dwavesi:3,dxacc_build_exampl:5,dxacc_build_test:5,dxacc_dir:[2,5,64,67,69,71,73,75,77],dynam:[4,70],each:[1,3,64,65,68,76],earli:65,eas:64,easi:66,easier:76,easiest:64,easili:[64,65,66,76],easy_qiskit_pass:2,easy_qiskit_pass_factori:2,easy_qiskit_pass_inst:2,easyqiskitirtransform:2,eclips:[2,5],effici:[1,64,65,70,76],effort:70,eigensolv:[3,64,76],eigenvalu:[3,64],electron:[64,66,69,71],email:2,embed:[65,70,76],embeddingalgorithm:71,emph:65,emploi:68,employe:2,empti:[1,3],enabl:[3,4,5,64,65,66,68,70,71,76],end:[65,74],energi:[3,64,66,68,69,73,76],enhanc:1,ensembl:65,ensur:[1,3,5,65,67,69,71,73,75,77],entangl:76,entri:[2,76],enumer:3,environ:73,eps:3,equal:[3,76],equival:65,error:[3,4,5,65],essenc:64,essenti:[65,76],estim:[3,65,71],etc:[2,64,65,76],eugen:[4,70],evalu:65,everyth:2,exampl:[1,2,3,5,64,65,66,68,71,73,76],example_input:66,exascal:70,except:[65,68],excit:66,execut:[1,2,3,4,5,64,65,67,68,69,70,71,75,76,77],executab:73,exist:[1,64,65,70,73],exp:[64,68],exp_i_theta:1,expec:3,expect:[68,69,71,73,76],experi:[4,66,69,71],experiment:66,exponenti:3,expos:[1,2,3,64,65,68,69,71,73,76],express:[64,65,66,70,71,76],expvalz:1,extend:[4,65,70,71],extens:[4,64,65,66,70,71,76],extern:3,extra:[1,2,3,76],extrainfo:76,extrainform:68,extrem:70,factor15:76,factor:76,failur:5,familiar:[65,68],fashion:65,faster:65,fatal_error:2,fc25:74,fc26:74,fedora:[4,71,74,75],fermion:[1,3,64,68,71],fermion_ham_sourc:68,fermioncompil:64,fermionoper:[64,66],few:3,fidel:1,fig:65,figur:65,figwidth:65,file:[2,3,64,65,66,67,68,69,71,73,76],filenam:68,filesystem:73,find:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,64,73],find_packag:[2,73],first:[1,2,3,64,65,66,69,71],fit:65,flag:[64,71],flexibl:65,flip:68,flow:70,flush:69,folder:[2,76],follow:[1,2,3,4,64,65,67,68,69,70,71,72,73,74,75,76,77],foo:[1,2,3,71,76],forc:65,forest:[70,71,73,76],fork:74,form:[2,65,70],former:65,formula:68,found:69,foundat:65,four:[65,70],fourier:[65,76],framework:[1,2,4,64,65,66,68,69,70,71,72,73,75,76],free:65,friendli:[2,70],from:[2,3,5,64,65,66,68,71,72,73,76],from_qasm_str:2,fromstr:1,front:65,frontend:[4,65],frozen:4,ftol:3,full:[1,3,64],functor:[1,73],further:[3,65,76],furthermor:[64,65,76],futur:[64,65,73],g1term:69,g2term:69,g3term:69,g4term:69,g5term:69,gate:[1,64,65,70,73,76],gate_error:3,gatewai:71,gather:65,gcc:[3,5],gen:[70,73],gener:[1,3,64,65,68,71,73,76],geom:3,geometri:3,get:[1,2,3,5,68,71,73,74,75,76],getacceler:[1,2,3,64,68,69,73,76],getacceleratorconnect:65,getacceleratordecor:[3,68],getalgorithm:3,getalluniqu:64,getchildren:64,getcompil:[1,2,3],getcomposit:[1,2],getexpectationvaluez:[1,69,73,76],getfunct:76,getinform:[64,76],getinstruct:2,getirgener:66,getirprovid:1,getirtransform:[1,2,3],getkernel:[69,73],getmeasurementcount:[1,76],getmeasurementstr:72,getobserv:[1,3],getobservabletransform:1,getoptim:[1,3],getproperti:3,getservic:1,git:[3,5,64,67,69,71,73,75,77],github:[3,4,5,64,67,69,70,71,73,74,75,77],give:[1,64,65,71],given:[1,2,3,64,65,68,76],glob:2,glu:4,glue:[65,76],good:2,googl:76,gov:2,gpu:[4,65,70],grad:1,gradient:[1,3,64],grammar:71,graph:[54,65,70,76],great:[3,73,76],grep:74,ground:[3,64],ground_energi:3,group:[2,3,71],h2src:64,h_n_2:3,had:[64,72,76],hadamard:[3,24,65],ham:[3,64,68],hamiltonian:[3,64,65,68,69,71,73,76],hamiltoniangener:66,handi:76,handl:[65,71,73],happen:65,hard:66,hardwar:[4,64,65,66,68,70,76],has:[2,64,65,66,68,70,73,76],have:[1,2,3,5,64,65,67,69,71,73,74,75,76,77],header:5,help:74,here:[1,2,3,5,64,65,69,71,72,73,75,76],hermitian:3,heterogen:[1,4,65,70],heterogeneousmap:[1,2,3],high:[4,64,65,70,76],higher:[65,76],home:[2,3,5,67,69,71,73,75,76,77],homebrew:5,hook:65,host:76,hostnam:2,how:[1,2,3,66,69,71,75,76],hpp:[1,2,3,64,69,73],html:73,http:[2,3,5,64,67,69,70,71,73,74,75,77],hub:[3,71],human:[65,70],humbl:[4,70],hwe:[64,76],hybrid:[3,4,64,70],hydrogen:73,iarpa:70,ibm:[1,4,64,65,68,70,72,73],ibm_config:[3,69,71,76],ibm_valencia:3,ibmq:76,ibmq_20_tokyo:76,ibmq_johannesburg:3,ibmq_qasm_simul:3,ibmq_valencia:[1,3],ibmqx5:[69,71],idea:65,ident:24,identifi:54,illustr:76,imag:[2,5],imagin:[64,71,76],immedi:71,implement:[1,2,3,4,64,65,66,68,70,71,76],implementor:65,impli:1,improv:1,improvedsampl:68,improvedsamplingdecor:4,includ:[1,2,3,5,64,65,66,69,73,76],include_directori:73,includegraph:65,increas:68,independ:[4,64,65,70],index:4,indic:[1,2,73,76],individu:[1,76],inevit:65,infin:3,influenc:65,info:[73,74,76],inform:[1,2,3,64,65,66,68,71,73,76],infrastructur:[2,3,64,65,71],inher:[4,70],ini:66,init:[2,73,76],initangl:64,initi:[1,2,3,64,65,66,68,69,71,72,73,76],initializest:69,inject:[1,65,70],input:[1,3,64,65,70,73,76],inputparam:66,inspect:71,inst:2,instal:[2,3,4,66,68,70,72,76],instanc:[1,2,64,65,66,70,71,73,76],instanti:[2,64,73,76],instead:[71,76],instruct:[1,2,3,5,42,65,66,71,73,76],instructioniter:42,instructionparamet:[65,76],instructionvisitor:[42,65],insur:2,integ:76,integr:[2,64,65,70],intend:[65,70],interact:[5,65],interest:66,interfac:[1,2,3,64,65,66,68,70,71],intermedi:[4,64,65,66,70,73],intern:1,interoper:[65,70],interplai:[4,70],intract:70,introduc:68,intuit:76,invalid:2,inverseqft:76,invoc:65,invok:[2,65,76],involv:76,ion:65,ionq:4,ionq_config:3,ipopo:[2,66],ir_gener:66,irgener:[42,64,66,71],irpreprocessor:71,irprovid:[1,42],irt:2,irtransform:[1,2,3,42,64,65,71],irtransformationtyp:2,isomorph:65,issu:[5,74],iter:[1,3,66,73],its:[1,2,64,65,66,68,76],itself:[1,64,65,76],ize:73,j12:3,jai:4,jansen:3,jit:3,job:[69,71,73,76],jordan:[1,64],json:[2,3,68,73,76],just:[2,3,64,65,76],keep:[64,65,73,76],kei:[1,3,64,65,67,68,69,70,71,73,76],kernel:[4,51,64,66,68,69,70,71,73],keyword:[1,65],kind:76,kit:76,kitaev:64,known:68,kwarg:64,label:65,lambda:3,languag:[1,3,4,64,65,66,70,71,76],lapack:[5,71,75],later:1,latest:[],lattic:3,launch:[2,72],layer:76,layers_v2:65,learn:3,leav:[2,65],left:2,let:[2,64,70,73,76],level:[2,4,64,65,70,71,76],lever:1,leverag:[1,2,4,64,65,70,71,76],liakh:[4,70],lib64:3,lib:[3,74],libari:73,libbla:[5,71,75],libcurl4:5,libcurl:5,liblapack:[5,71,75],libpython3:5,librari:[1,2,3,5,65,70,71,73,75],library_nam:2,libunwind:5,libuuid:3,libzmq:3,licenc:[],like:[1,2,3,5,64,65,66,68,70,71,73,76],limit:66,line:[2,65,66,71,76],link:[2,73,74],link_directori:73,linspac:73,list:[1,3,65,69,73],llvm:[65,70],load:[2,3,65,70,76],load_external_language_plugin:3,loadbuff:76,loadedstr:76,local:[1,3,68,71,76],localhost:2,locat:[2,67,68,69,73,74,75,77],log:2,logic:65,look:[64,66,73,76],loop:[64,73],loss:3,low:[65,70,71,76],lower:3,lowest:64,mac:[2,4,74],machin:[65,70,71,75,76,77],macosx:[71,75],made:[64,65],mai:[5,65,76],main:[1,3,65,69,70,73],maintain:[4,65,70],major:2,make:[1,2,3,5,64,65,70,71,73,76],make_pair:[1,3],make_shar:2,malloc:76,manag:[2,65],mani:[1,2,3,65,76],manifest:2,manipul:[64,65,66],manner:[4,64,65,70,71],manual:3,manuscript:4,map:[1,2,3,64,65,70,76],mapbit:3,matrix:[3,71],max:3,maxev:[1,3],maximum:3,mccaskei:[4,70],mccaskeyaj:2,mcweeni:68,mead:[3,64],mean:3,meant:1,measur:[1,2,3,24,64,65,68,71,72,73,76],measured_circuit:1,measz:[69,73],mechan:[65,71,76],memori:[2,65,70],mengsu:[4,70],mention:1,merg:3,metadata:1,method:[1,2,3,64,65,66,68,71,76],middl:65,might:[1,2,5],mimic:3,minim:3,minimum:[2,73],minor:[70,76],minu:3,miss:5,missingfigur:65,mitig:[3,4,65],mix:68,mkdir:[2,3,5,64,67,69,71,73,75,76,77],mlpack:[1,4],mmd:3,model:[3,4,64,65,66,69,70,71,76],modif:65,modifi:65,modul:[2,3,4,64,67,71,76],modular:[65,66,76],molecul:[66,69,73],molecular:[3,69,73],moment:3,momentum:3,more:[2,3,64,65,71,76],moreov:2,most:[2,5],msgpack:3,multi:1,multipl:[1,65,68,76],multishot:73,must:[1,2,3,5,65,67,69,70,71,73,74,76],mutabl:1,mybluemix:[3,69],n_electron:71,n_qubit:[71,76],name:[1,2,64,65,66,68,76],namespac:2,nativ:[4,65,70,71],natur:65,navig:2,ncnot:[64,73],neal:4,necessari:[3,65,73],need:[2,3,5,65,73,76],nelder:[3,64],nesterov:3,net:[3,69,71],network:[4,65,70,71,73,75,77],neuromorph:70,newbuff:76,newli:2,next:[1,2,70,73],nice:64,ninstruct:[1,2,3],njump:73,nlabel:73,nlopt:[1,4],nmeasur:73,node:65,nois:3,noisi:68,non:68,none:[1,2,3],norm:3,note:[1,2,3,5,64,71,73,76],notic:76,novel:[2,4,65],now:[2,3,5,64,67,68,69,73,74,75,76,77],nparamet:76,nproc:5,nqpu:[64,76],nqubit:66,nry:64,nucleu:[4,70],nullptr:1,num:[71,76],number:[3,4,65,66,68,69,70,71,73,76],numpi:[73,76],object:[1,65,68,70],observ:[2,4,64,65,68,76],observabletransform:1,obtain:[66,68],occur:[68,73],occurr:76,off:[64,65,70,76],offload:[4,70,73],ofstream:69,often:[64,65],onc:[2,4,5,70,76],one:[1,2,4,64,65,70,73,76],ones:73,onli:[1,3],onlin:73,onto:65,open:[2,64,69,70,71,73,74],openbla:[71,75],opencl:[4,65,70],openfermion:[64,66],openqasm:[2,65,71,76],openqasm_compil:2,openssl:5,oper:[3,64,65,70,71,73,76],opportun:64,opt:[1,3,64],opt_param:1,opt_val:1,optfunct:1,optim:[2,4,64,65,70],option:[1,2,3,5,65,76],orbit:3,orchestr:[2,70,73],order:[1,2,3,64,65,67,68,69,71,73],orient:[66,76],ornl:[4,5,64,67,69,71,73,74,75,77],osgi:[4,70,71],other:[2,5,64,65,69,70,76],our:[2,73,74,76],out:[1,2,4,69,70,71,73,76],out_circuit:2,out_prog:2,out_src:2,output:[2,5,64,65,66,73,76],over:[3,73],overal:[1,2,64,65],overrid:[2,66],overview:65,p01:[3,68],p10:[3,68],packag:74,page:4,pair:[3,64,68,76],pamet:[],paper:3,par:65,param:[1,3,64,73],paramet:[1,2,3,64,65,66,76],parameter:[1,3,64,65,76],park:[4,70],pars:[65,73,76],parser:[70,71],part:64,parti:3,particl:64,pass:[1,2,3,64,65,66,68,73],pass_manag:2,passmanag:2,path:[65,66],pattern:[65,68],pauli:[1,3,64,76],pauliop:64,paulioper:[3,64,66,68],payload:73,pelix:2,per:[69,71,73,76],perform:[1,2,4,65,66,68,70,73,76],permiss:76,persist:[1,65,70,76],pertin:[2,76],phase:65,phi:1,physic:[3,4,65,66,70],pip:[5,64,66,71,73,76],place:[2,65],plai:[65,71],plain:3,platform:[3,71,75],pleas:[2,4,70],plot:73,plu:3,plug:[64,71],pluggabl:70,plugin:[3,4,64,66,67,68,69,70,72,73,74,75,77],png:65,point:[3,65,68,71],polymorph:4,popul:[2,3,76],popular:[71,75],port:2,posit:64,possibl:64,post:[70,73],pow:1,ppa:5,pragma:2,prefix:[67,69,73,74,75,77],prep:69,prepar:73,preprocessor:[65,71],prerequisit:[2,4],present:[1,65,76],previou:[64,65],primari:[1,2,70],prime:76,primit:65,print:[1,3,5,64,72,73,76],privat:2,prob:3,probabl:[3,68,73],problem:[64,65,70,71,73,76],procedur:65,process:[5,64,65,66],processor:[4,66,70,76],produc:[1,64,65,70,71,73,76],product:71,program:[2,3,4,64,65,67,69,70,71,72,73,75,76,77],program_opt:73,programm:[1,65,70],programmat:65,project:[2,3,4,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,70,71,73,76],promot:[65,70],prop:3,proper:5,properli:66,properti:[2,3,5],propos:3,provid:[1,2,3,4,5,64,65,67,68,69,70,71,73,75,76,77],psi4:4,pthread:73,publish:3,pull:5,purifi:68,purpos:[2,65],put:[2,5],pwd:2,pybind11:2,pyquil:[71,76],pyquil_config:[71,73],pyquil_out:73,pyquillow:70,pyquilqubit:73,python3:[3,5,64,66,76],python:[3,4,5,66,67,68,69,73,75,77],pythonpath:[3,5,67,69,71,73,75,77],pywp:[],pyxacc:71,pyxacccompil:[71,76],qalloc:[1,2,3],qasm:[2,3,4,64,71,76],qbit:[1,2,3,69,73],qci:[5,64,67,69,71,73,74,75,77],qcl:65,qcs:3,qft:76,qiskit:[2,3,71,76],qmi:[71,76],qpl:65,qpu:[1,2,3,4,5,64,65,66,67,68,69,70,71,72,73,76],qreg:[69,73],quantiz:64,quantum:[1,3,4,5,64,65,68,69,70,71,73,75,76,77],quantumcircuit:2,quantumexperi:[69,71],qubist:[67,70,71],qubit2_depth1:3,qubit:[1,3,64,65,66,68,69,70,71,73,76],qubit_rang:68,qubitoper:[64,66],qubitoperator2xacc:[64,66],qubitreg:[69,73],queri:[1,2,76],quick:4,quickli:5,quil:[1,3,64,65,70,71,73,76],quilc:76,quilcompil:73,quipper:65,qvm:[70,71,72],ram:2,random:76,rang:[65,68],rate:3,rdm:[3,68],rdmpurif:68,rdmpurificationdecor:4,read:[2,64,65,66,71],readabl:[1,65,70],readi:[73,76],readili:76,readm:76,readout:3,readout_error:3,readout_error_correction_a:3,readthedoc:[],realiz:[65,70],realli:76,recent:5,recommend:5,recurs:64,reduc:[3,65],ref:65,refer:[1,2,3,4,64,65,66,69,70,73,76],regard:[64,65],regist:[1,2,65,69,71,73,76],registerservic:2,registri:[2,73],releas:[5,74],relev:[64,66],reli:[2,4,65,70],remot:[1,3,5,65,67,71],remoteacceler:[6,11],remov:3,replac:[2,3,64,65,74],repositori:5,repres:[1,4,64,65,69,70,73,76],represent:[3,4,64,65,66,70,73],reproduc:3,request:[2,3,69,73],requir:[1,2,3,5,64,65,66,68,69,71,73,75,76],requisit:1,research:65,reset:73,resetbuff:[69,73],resourc:[67,71],respect:[3,64,65,70,71,76],respons:[1,65,73],rest:[2,70,76],restart:4,result:[1,3,64,65,66,68,72,73,76],retriev:[3,64,65],reus:65,rho:3,richextrapdecor:[],rigetti:[3,4,64,65,70,72],rigettiacceler:73,rms:3,robust:3,roerrordecor:[4,68],role:65,rosen_with_grad:1,rotat:3,routin:[1,65,76],rpath:2,rpm:74,rtti:74,rule:2,run:[1,2,3,5,64,65,66,67,68,69,71,73,74,75,76,77],runtim:[65,73,76],runtimeopt:54,ryan:4,sai:76,same:[1,3,65,73,76],sampl:71,sand:[4,71],scaffcc:74,scaffold:[65,69,70,73],scaffold_2:74,scalabl:[69,73],scale:70,schwinger:[4,70],scientist:70,scl:[3,5],scope:76,scratch:2,script:[64,68,72,76],sdk:76,search:[3,4,64,65,67,71],sec:65,second:[1,64,66,76],section:[65,66],secur:2,sed:74,see:[2,3,5,64,65,66,69,70,71,72,73,76],seek:76,seen:[5,64,65],self:[2,66],sent:76,separ:[64,65],seri:65,serv:[1,2,64,65],server:[70,76],servic:[2,65,66,71,76],serviceproperti:2,serviceregistri:54,session:2,set:[2,3,4,64,65,66,70,76],set_target_properti:2,set_verbos:3,setopt:[1,68,73,76],setup:[3,73],sgd:3,shannon:3,share:[2,71],shared_ptr:[2,3],shift:3,shot:[1,3,69,71,73,76],should:[1,2,3,64,65,71,73,75,76],show:[2,73],shown:[64,65,66,68,76],side:76,signific:66,similar:[65,76],similarli:[3,65,76],simpl:[1,2,3,65,69,72,73],simpli:[65,66,76],simplifi:64,simul:[1,3,4,5,65,66,68,69,70,71,73,76],sinc:[64,65,73],singl:[3,4,64,66,76],singlet:64,singleton:54,site:[2,3,4,64],size:[1,2,3,64,68,69,76],skip:[5,69],smooth:3,snippet:3,socm:66,softwar:[4,5,65,76],solut:76,solver:[3,71],some:[1,2,3,5,64,65,73,76],somehow:1,someon:2,someth:3,sourc:[2,4,64,65,66,68,69,70,71,72,73,76],specif:[1,2,3,4,64,65,66,68,70,71,73,76],specifi:[3,64,65,66,73,76],spin:[1,2,3,64,66],squar:3,src:[2,64,66,69,73],ssh:2,sshing:2,stack:5,stand:[65,71],standalon:2,standard:[1,2,5,65,66,73,76],start:[4,65,73,76],state:[1,2,3,64,65,68,69,71,73,76],statement:73,stateprep:73,std:[1,2,3,69,73,76],step:[3,64,76],still:2,sto3g:64,sto:3,stop:2,store:[1,64,66,68,73,76],str:[64,73,76],straightforward:73,strategi:[3,68],string:[1,2,3,64,65,66,68,69,71,73,76],strong:65,structur:[1,2,3,65,69],stub:76,studi:[4,70],sub:[65,76],subclass:[2,65,66,68],subroutin:65,subsect:65,subsequ:65,subset:76,subtleti:[4,70],success:73,sudo:[3,5],suit:65,suitabl:65,superclass:2,superconduct:65,suppli:[65,70],support:[2,3,4,66,67,69,70,71,73,75,76,77],suppos:[64,72],sure:3,swap:24,swarm:64,symbolic_nam:2,symmetri:3,syntax:[1,64,71],synthesi:65,system:[4,65,70,73],tag:[4,70],tailor:[65,73],take:[1,2,3,4,64,65,70,73,76],taken:[65,73],target:[2,3,64,65,66,67,68,69,71,73,76],target_dist:3,target_distribut:3,target_link_librari:[2,73],task:[1,64,65],techniqu:65,tediou:65,teleport:[72,73],tell:1,templat:[],tensor:[4,65,70,71,73,75,77],term:[4,64,65,68,69,70,71,73,76],termin:[2,3,76],test:[2,5,73,76],test_ir_transform:2,test_ir_transformation_activ:2,testirtransformationactiv:2,text:[3,73],textual:1,than:[3,76],thei:[2,3,65,71,76],theia:2,them:[2,64,65,68],therebi:65,therefor:[3,64,65,70],thermal_relax:3,theta0:71,theta:[1,3,69,73,76],thi:[1,2,3,4,5,64,65,66,67,68,69,70,71,72,73,74,75,76,77],thin:1,third:3,those:[2,64,65,71],thread:73,three:65,through:[1,2,3,5,64,65,66,68,70,71,73,76],throughout:64,thu:65,time:[64,65,68,76],tnqvm:[3,5,64,66,73,76],togeth:[2,4],toler:3,too:[1,2,3],tool:[2,65],toolchain:5,top:[2,73,76],tostr:[1,76],total:73,trace:5,track:[65,73,76],tradit:[4,70],train:3,transform:[1,2,4,64,65,76],translat:[2,65,70],transpil:[2,65],trap:65,travi:[4,70],tree:65,trial:[71,73],turn:[3,73],tutori:71,two:[3,64,66,68,70],txt:[2,73,76],type:[2,3,5,64,65,71,73,76],ubuntu:[2,4,71,74,75],uccsd:[64,66,71],uml:65,unabl:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],under:[3,70,76],underli:[64,65],understand:65,unexpect:68,unifi:65,uniform:76,uniqu:[2,64,65,66],unit:76,unitari:[64,65,66],unknown:76,unless:73,unload_external_language_plugin:3,unmeasur:[1,3],until:64,updat:[2,5,65,76],upon:[1,5,65],upper:3,url:[3,69,71],us_abi_loc:2,us_bundle_nam:2,usag:1,use:[1,2,3,64,65,66,68,69,70,71,73,74,76],used:[1,2,3,64,65,66,68,71,76],useful:1,user:[1,2,3,5,64,65,70,71,73,76],uses:[2,65,66,73,76],usfunctionembedresourc:2,usfunctiongeneratebundleinit:2,usfunctiongetresourcesourc:2,using:[1,2,3,4,5,64,65,66,68,70,71,73,76],usr:[3,5,64],usual:[64,68],util:[1,3,5,64,65,66,76],uuid:3,val:[3,64,68],valid:[1,2,4,65,70,71],valu:[3,64,68,69,71,73,76],vari:2,variabl:[1,3,65,73],variant:[65,76],variat:[1,3,64,76],varieti:[65,76],variou:[1,3,64,66,70,71,75,76],vector:[1,3,76],vendor:[2,65,70],verbos:5,veri:[65,76],verif:[4,70],version:[2,5,73],via:[1,2,3,4,64,65,67,69,71,73],virtual:[4,70,71,75,76,77],visit:65,visitor:65,vqe:[4,66,68,73,76],vqe_example_result:64,vqebackend:64,vqeminimizetask:64,vqetask:64,wai:[3,5,64,65,66,73,76],walk:[2,65],want:[2,5,64,72,76],wave:[4,65,70],wchar:5,web:2,weight:3,well:[1,2,3,4,5,64,65,68,71],wget:74,what:[2,76],when:[1,2,66,68,71,76],where:[2,3,65,66,67,69,73,74,75,76,77],wherebi:2,wherev:64,which:[1,3,5,64,65,66,68,70,73,76],who:2,wide:[65,70],width:65,wigner:[1,64],wish:2,within:[65,68,73,76],without:2,word:[1,65],work:[2,4,65,70,73,76],workflow:[64,65,76],working_directori:2,world:65,would:[1,2,64,65,71,76],wrap:2,wrapper:1,writ:73,write:[3,4,64,65,70,71,72,73,76],written:[64,65,71],wrt:76,x0x1:[1,3,64,69],x86_64:74,xacc:[2,3,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,65,66,67,68,69,71,74,75],xacc_configure_plugin_rpath:2,xacc_dir:[64,66],xacc_include_dir:73,xacc_instal:71,xacc_librari:73,xacc_library_dir:73,xacc_observ:[1,3],xacc_root:[67,69,73,74,75,77],xacckernelh2:66,xacclogg:54,xaccprogram:73,xaccvq:[64,68],xasm:[1,2,3],xasmcompil:1,xcode:5,y0y1:[3,69],yarn:2,you:[2,3,4,5,64,67,69,70,71,72,73,74,75,76,77],your:[2,3,5,64,67,69,71,73,74,75,76,77],your_api_kei:[69,71],your_kei:3,your_key_her:3,yourapikei:[67,69,71,73],youruserid:[71,73],yum:[3,5],z0term:73,z0z1:[69,73],z0z1term:73,z1term:73,zach:[4,70],zero:3,zeromq:3,zhao:4,zmq:3},titles:["Advanced","Basics","Developers","Extensions","XACC Documentation","Installation","Accelerator","Accelerator","AcceleratorBuffer","AcceleratorBufferPostprocessor","RemoteAccelerator","XACC Framework API","DWGraph","DWIR","DWIRProvider","DWKernel","DWQMI","HUBO (Higher-Order Unconstrained Binary Optimization)","TrivialEmbeddingAlgorithm","Compiler","Compiler","Preprocessor","Algorithms","GateFunction","GateInstruction","GateIR","GateIRProvider","CNOT","ConditionalFunction","CPhase","CZ","Hadamard","Identity","Measure","Rx","Ry","Rz","Swap","X","Y","Z","KernelReplacementPreprocessor","Intermediate Representation (IR)","Function","Instruction","InstructionIterator","InstructionVisitor","IR","IRGenerator","IRProvider","IRTransformation","Program","Kernel","Program","Utils","CLIParser","Cloneable","Graph","Identifiable","OptionsProvider","RuntimeOptions","ServiceRegistry","Singleton","XACCLogger","Applications Built on XACC","Concepts","Benchmarking","D-Wave","Error Mitigation","IBM","Getting started with XACC","Plugins","XACC Python Bindings","Rigetti","Scaffold","TNQVM","XACC Tutorials","XACC-VQE"],titleterms:{"function":43,"new":2,"public":[4,70],QCS:3,acceler:[1,2,3,6,7,65,73],acceleratorbuff:[0,8,76],acceleratorbufferpostprocessor:9,acceleratordecor:68,advanc:0,aer:3,algorithm:[3,22,66],ani:73,ansatz:66,api:[11,64],applic:64,architectur:[4,64,65,66],argument:[69,73],basic:1,benchmark:66,binari:17,bind:72,buffer:1,bug:[4,70],build:5,built:64,cento:5,chemistri:66,circuitoptim:3,clipars:55,cloneabl:56,cnot:27,code:73,command:[64,69,73],compil:[1,19,20,65,71],concept:65,conditionalfunct:28,core:3,correct:68,cphase:29,credenti:[67,69,71,73],data:0,ddcl:3,decor:[3,64,68],densiti:68,descript:4,develop:[2,4,70],docker:[2,5],document:4,dwave:3,dwgraph:12,dwir:13,dwirprovid:14,dwkernel:15,dwqmi:16,error:[0,68],exampl:[69,72],execut:[0,66,73],extend:[2,76],extens:3,fedora:5,framework:11,frozen:3,gate:24,gatefunct:23,gateinstruct:24,gateir:25,gateirprovid:26,gener:66,get:70,graph:57,hadamard:31,hamiltonian:66,higher:17,hubo:17,hydrogen:69,ibm:[3,69,71,76],ident:32,identifi:58,improv:68,improvedsamplingdecor:3,indic:4,infrastructur:[4,70],input:66,instal:[5,64,67,69,71,73,74,75,77],instruct:44,instructioniter:45,instructionvisitor:46,interfac:76,intermedi:[1,42],ionq:3,irgener:[48,76],irprovid:49,irtransform:50,issu:[4,70],jit:[64,71,76],kernel:[1,52,65,76],kernelreplacementpreprocessor:41,layer:65,line:[64,69,73],mac:5,matrix:68,measur:33,mitig:[0,68],mlpack:3,modular:[4,70],neal:3,nlopt:3,observ:[1,3],optim:[1,3,17],option:71,optionsprovid:59,order:17,ornl:2,overview:[4,64,70],plugin:[2,71,76],preprocessor:21,prerequisit:5,present:70,program:[1,51,53],psi4:3,purif:68,pyquil:73,python:[1,2,64,71,72,76],qasm:1,quantum:66,question:[4,70],quick:[2,5],qvm:[73,76],rdm:[],rdmpurificationdecor:3,readout:68,reduc:68,remoteacceler:10,report:[4,70],represent:[1,42],restart:3,richextrapdecor:[],rigetti:[71,73,76],roerrordecor:3,runtim:71,runtimeopt:60,sampl:68,scaffold:74,serviceregistri:61,set:[67,69,73],simpl:76,simul:2,singl:1,singleton:62,sourc:1,start:[2,5,70],swap:37,tabl:4,team:[4,70],teleport:76,tnqvm:[71,75],track:[4,70],transform:3,trivialembeddingalgorithm:18,tutori:[73,76],ubuntu:5,unconstrain:17,usag:[72,76],util:54,vqe:[3,64,69,77],wave:[67,71,76],welcom:[],write:2,xacc:[1,4,5,11,64,70,72,73,76,77],xacclogg:63}})
\ No newline at end of file
Search.setIndex({docnames:["advanced","basics","developers","extensions","index","install","obsolete/api/accelerator-index","obsolete/api/accelerator/accelerator","obsolete/api/accelerator/acceleratorbuffer","obsolete/api/accelerator/acceleratorbufferpostprocessor","obsolete/api/accelerator/remoteaccelerator","obsolete/api/api-index","obsolete/api/aqc/dwgraph","obsolete/api/aqc/dwir","obsolete/api/aqc/dwirprovider","obsolete/api/aqc/dwkernel","obsolete/api/aqc/dwqmi","obsolete/api/aqc/hubo","obsolete/api/aqc/trivialembeddingalgorithm","obsolete/api/compiler-index","obsolete/api/compiler/compiler","obsolete/api/compiler/preprocessor","obsolete/api/gate/algorithms","obsolete/api/gate/gatefunction","obsolete/api/gate/gateinstruction","obsolete/api/gate/gateir","obsolete/api/gate/gateirprovider","obsolete/api/gate/instructions/cnot","obsolete/api/gate/instructions/conditionalfunction","obsolete/api/gate/instructions/cphase","obsolete/api/gate/instructions/cz","obsolete/api/gate/instructions/hadamard","obsolete/api/gate/instructions/identity","obsolete/api/gate/instructions/measure","obsolete/api/gate/instructions/rx","obsolete/api/gate/instructions/ry","obsolete/api/gate/instructions/rz","obsolete/api/gate/instructions/swap","obsolete/api/gate/instructions/x","obsolete/api/gate/instructions/y","obsolete/api/gate/instructions/z","obsolete/api/gate/kernelreplacementpreprocessor","obsolete/api/ir-index","obsolete/api/ir/function","obsolete/api/ir/instruction","obsolete/api/ir/instructioniterator","obsolete/api/ir/instructionvisitor","obsolete/api/ir/ir","obsolete/api/ir/irgenerator","obsolete/api/ir/irprovider","obsolete/api/ir/irtransformation","obsolete/api/program-index","obsolete/api/program/kernel","obsolete/api/program/program","obsolete/api/utils-index","obsolete/api/utils/cliparser","obsolete/api/utils/cloneable","obsolete/api/utils/graph","obsolete/api/utils/identifiable","obsolete/api/utils/optionsprovider","obsolete/api/utils/runtimeoptions","obsolete/api/utils/serviceregistry","obsolete/api/utils/singleton","obsolete/api/utils/utils","obsolete/apps","obsolete/arch","obsolete/bench","obsolete/dwave","obsolete/em","obsolete/ibm","obsolete/overview","obsolete/plugins","obsolete/python","obsolete/rigetti","obsolete/scaffold","obsolete/tnqvm","obsolete/tutorials","obsolete/xacc-vqe"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["advanced.rst","basics.rst","developers.rst","extensions.rst","index.rst","install.rst","obsolete/api/accelerator-index.rst","obsolete/api/accelerator/accelerator.rst","obsolete/api/accelerator/acceleratorbuffer.rst","obsolete/api/accelerator/acceleratorbufferpostprocessor.rst","obsolete/api/accelerator/remoteaccelerator.rst","obsolete/api/api-index.rst","obsolete/api/aqc/dwgraph.rst","obsolete/api/aqc/dwir.rst","obsolete/api/aqc/dwirprovider.rst","obsolete/api/aqc/dwkernel.rst","obsolete/api/aqc/dwqmi.rst","obsolete/api/aqc/hubo.rst","obsolete/api/aqc/trivialembeddingalgorithm.rst","obsolete/api/compiler-index.rst","obsolete/api/compiler/compiler.rst","obsolete/api/compiler/preprocessor.rst","obsolete/api/gate/algorithms.rst","obsolete/api/gate/gatefunction.rst","obsolete/api/gate/gateinstruction.rst","obsolete/api/gate/gateir.rst","obsolete/api/gate/gateirprovider.rst","obsolete/api/gate/instructions/cnot.rst","obsolete/api/gate/instructions/conditionalfunction.rst","obsolete/api/gate/instructions/cphase.rst","obsolete/api/gate/instructions/cz.rst","obsolete/api/gate/instructions/hadamard.rst","obsolete/api/gate/instructions/identity.rst","obsolete/api/gate/instructions/measure.rst","obsolete/api/gate/instructions/rx.rst","obsolete/api/gate/instructions/ry.rst","obsolete/api/gate/instructions/rz.rst","obsolete/api/gate/instructions/swap.rst","obsolete/api/gate/instructions/x.rst","obsolete/api/gate/instructions/y.rst","obsolete/api/gate/instructions/z.rst","obsolete/api/gate/kernelreplacementpreprocessor.rst","obsolete/api/ir-index.rst","obsolete/api/ir/function.rst","obsolete/api/ir/instruction.rst","obsolete/api/ir/instructioniterator.rst","obsolete/api/ir/instructionvisitor.rst","obsolete/api/ir/ir.rst","obsolete/api/ir/irgenerator.rst","obsolete/api/ir/irprovider.rst","obsolete/api/ir/irtransformation.rst","obsolete/api/program-index.rst","obsolete/api/program/kernel.rst","obsolete/api/program/program.rst","obsolete/api/utils-index.rst","obsolete/api/utils/cliparser.rst","obsolete/api/utils/cloneable.rst","obsolete/api/utils/graph.rst","obsolete/api/utils/identifiable.rst","obsolete/api/utils/optionsprovider.rst","obsolete/api/utils/runtimeoptions.rst","obsolete/api/utils/serviceregistry.rst","obsolete/api/utils/singleton.rst","obsolete/api/utils/utils.rst","obsolete/apps.rst","obsolete/arch.rst","obsolete/bench.rst","obsolete/dwave.rst","obsolete/em.rst","obsolete/ibm.rst","obsolete/overview.rst","obsolete/plugins.rst","obsolete/python.rst","obsolete/rigetti.rst","obsolete/scaffold.rst","obsolete/tnqvm.rst","obsolete/tutorials.rst","obsolete/xacc-vqe.rst"],objects:{},objnames:{},objtypes:{},terms:{"0_amd64":74,"3rd":73,"abstract":[1,64,65,66,70,76],"case":[2,65,76],"char":[1,3,69,73],"class":[2,4,64,66,71],"const":[1,2,69,73],"default":[2,3,5,64,67,71,73],"export":[3,5],"final":[1,2,3,64,65,68,69,70,72,73,76],"float":[65,69,76],"function":[1,2,3,42,64,65,66,70,71,73,76],"import":[1,2,3,64,65,66,68,72,73,76],"int":[1,3,65,66,69,73,76],"long":65,"new":[4,65,70,73,76],"public":[2,3,71],"return":[1,2,3,65,66,69,72,73],"static":[],"switch":[64,76],"true":[2,3,5,76],"var":76,"void":[1,2],"while":65,And:[2,64,76],But:[73,76],For:[2,3,4,5,64,65,66,71,76],IDE:[2,5],Ising:65,Its:64,Near:[4,70],One:[64,76],PRs:74,QCS:[4,70],The:[1,2,3,4,5,64,65,66,67,68,69,70,71,73,75,76,77],Then:76,There:3,These:[1,2,3,65,66,70,71],Use:2,Using:[64,65],VMs:2,With:[3,64,65,73,76],__init__:2,__qpu__:[1,2,64,66,69,73],_bundle_nam:2,_irtransform:2,_name:2,a_0:64,a_1:64,abc:66,abil:65,about:[2,65,68,76],abov:[1,3,64,65,66,69,71,73,76],absolut:3,abstractmethod:66,acc:65,acceler:[4,5,11,64,66,67,68,69,70,71,72,75,76],acceleratorbuff:[1,3,4,6,11,64,65,66,68,73],acceleratordecor:[3,71],acceleratornam:64,accept:65,access:[1,2,3,64,68,76],accomplish:[64,71,76],accord:[2,64],accordingli:3,account:[2,4,70],achiev:[65,70],acquir:68,across:[2,65,70],action:64,activ:[2,3,68,76],actual:[2,73,76],adadelta:3,adag_1:64,adag_2:64,adag_3:64,adagrad:3,adam:3,add:[2,3,5,69,71,73],add_execut:73,add_librari:2,add_subdirectori:2,added:[3,76],adding:2,addinstruct:[1,2],addit:[3,64,65,66,68,76],addition:[65,71],address:[2,5,73],adequ:1,adiabat:65,adjac:3,advanc:4,advantag:65,aer:[2,4],affect:[3,65,76],after:[1,64,65,66,73,76],against:2,aggreg:76,agnost:[65,66,70],aid:65,akin:[4,70,76],alex:[4,70],algebra:64,algo:[64,68],algorithm:[4,64,65,68,70,71,76],algorithmgener:65,all:[1,2,3,4,5,64,65,66,68,69,70,71,73,76],allevi:65,alloc:[1,3,68,69,73,76],allow:[3,66],alon:[65,71],alongsid:70,alpha:3,alreadi:[2,71,73,75],also:[1,3,5,64,65,66,68,69,70,71,73,76],altern:[3,5,65,67,69,71],although:5,amen:[64,65],amongst:76,amount:65,analysi:[65,76],analyz:[65,66],analyzebuff:76,analyzeresult:76,angl:[64,66,69,73,76],ani:[2,3,64,65,69,70,71,76],anneal:65,annhil:64,annot:[2,76],anoth:[1,2,3,73],ansatz2:3,ansatz:[1,3,64,68,76],ansatzgener:66,antlr4:71,antlr:71,anywai:69,api:[1,2,3,4,5,65,66,67,69,70,71,73,76],app:69,append:2,appli:[1,2,3,65],applic:[4,65,69,70],approach:[4,64,65,68,70],appropri:[1,2,64,65,70,71],apt:[5,71,74,75],architectur:[70,76],arduous:71,area:[],arg:[1,71,76],argc:[1,3,69,73],argument:[1,3,64,65,71,76],argv:[1,3,69,73],ari:65,ask:[4,70],aspen:3,assembl:[65,70],assert:[1,2,3],associ:[64,70,71,76],assum:5,atom:[4,70],attach:[4,65,70],attent:2,auto:[1,2,3,64,69,71,73],autom:3,automat:[3,66,68,71],avail:[1,3,64,65,69,70,71,73,76],availab:76,avoid:5,awesom:76,back:[2,65,76],backend:[1,3,4,64,65,69,71,73,76],background:2,bare:5,base:[2,3,65,66,71,76],base_api:5,bash:[3,5],bashrc:5,basi:3,basic:[2,4],bayesian:64,bboxinout:[],been:[66,73,76],befor:[65,76],begin:[2,65],behavior:68,being:[1,3,65],bell:[1,2,3,76],bell_quil_ibm_loc:5,below:[1,3,64,65,66,68,71,76],benchmark:[4,70],benefit:65,best:[5,65],beta1:3,beta2:3,between:[4,65,70,76],bfg:[1,3],bia:76,bias:76,bill:4,bin:[5,64],binari:[70,71,74,75],bind:[67,68,69,71,73,75,76,77],bit:[2,3,65,68,76],bla:[5,71,75],bluemix:[69,71],bodi:[65,68],boilerpl:[2,73,76],boost:73,both:[1,2,65,70,71],bound:3,box:71,branch:65,bravyi:64,breathe_project:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],brew:[5,71,75],browser:2,buffer:[3,4,64,65,66,68,71,76],bufferstr:76,build:[2,3,4,64,65,67,69,71,73,74,75,76,77],built:[3,68,69,71,76],bundl:[2,66],bundleactiv:2,bundlecontext:2,cach:2,cade:2,calcul:[66,76],call:[1,4,64,65,66,69,70,71,73,76],came:70,can:[1,2,3,4,5,64,65,66,67,68,69,70,71,73,74,75,76,77],cancel:2,cannot:76,capabl:[1,66],caption:65,carri:1,caus:68,cbit:[69,73],center:65,cento:[3,4],central:65,certain:[1,65],cfg:[],charl:4,check:[4,71,73,76],checkout:3,chemistri:3,chen:[4,70],child:[68,76],children:[64,76],choos:5,chrono:73,circuit:[1,2,3,64,65,68,70,71,73,76],circuitoptim:4,ciruit:64,cite:65,clang:70,classic:[1,3,4,64,65,70,71,73],clean:73,cleanup:76,clear:2,click:2,client:[65,70],clipars:54,clone:[2,3,5,64,67,69,71,73,75,77],cloneabl:54,close:[64,69,73],cloud:[2,3,4,70],cluster:[64,66],cmae:3,cmake:[2,3,5,64,67,69,71,73,75,76,77],cmake_current_source_dir:2,cmake_install_prefix:2,cmake_minimum_requir:[2,73],cmakelist:[2,73,76],cmd:2,cnot:[1,2,3,24,64,65,68,69,71,72,73,76],cobyla:3,code:[1,2,3,4,65,66,69,70,71,72,76],coeffici:64,collect:[2,73],columnwidth:65,com:[3,5,64,67,69,71,73,74,75,77],combin:65,come:[2,64,68,73,76],comma:64,command:[1,2,5,66,76],common:[3,5,64,65],comparison:73,compil:[2,3,4,5,64,66,70,73,74,76],compile_definit:2,compilekernel:64,complet:1,complex:[4,65,70,76],compliant:5,compon:[4,65,66,73],componentfactori:2,compos:65,composit:[65,66],compositeinstruct:[1,2,3],comprehens:4,comput:[1,2,3,4,64,65,66,68,69,70,76],computation:70,compute_readout_error_prob:68,computeenergyvqetask:64,concept:[1,64,70,76],concern:65,concret:[1,3,66],condit:65,conditional_0:73,conditional_1:73,conditionalfunct:24,config:[67,71,73],configur:[2,3,5,64,66],conjug:64,connect:[1,3,65,68,71,73,76],consid:76,consist:64,consol:[3,73],constant:3,constitu:76,constraint:65,construct:[2,3,65,68,70,76],constructor:[2,64],consum:71,contain:[1,2,3,65,66,68,70,76],content:[4,69,71],context:[2,76],continu:2,contribut:[2,3,76],contributing_coeff:68,contributing_rho_pqr:68,control:[3,65,70],conveni:[65,76],convent:[65,70],convert:[2,71],copi:66,core:[2,4,64,65,70,71],correct:[2,3,65,73,76],correctli:74,correspond:64,could:[1,64,65,71,72,76],count:76,coupl:[64,66],coupler:76,cours:76,cout:[3,69],cphase:24,cpp:[2,73],cppmicroservic:[2,4,64,70,71],cppmicroservices_export_bundle_activ:2,cppzmq:3,cpu:[2,65],creat:[1,2,3,4,65,69,70,71,72,73,76],createbuff:[64,68,69,73,76],createcomposit:1,createinstruct:1,creation:[1,64,73],creator:76,credenti:[2,3],creg:[69,73],critic:65,crucial:2,csv:[64,66,69,73],csv_name:64,ctest:[5,76],ctrl:2,cuda:[4,65,70],curl:5,current:[1,2,4,64,65,71],custom:[3,64,65,70,71,76],cxcancel:2,cxx:[2,73],dag:3,dashboard:2,data:[3,4,65,66,76],databas:1,dawesome_build_test:76,dcmake_install_prefix:3,dcmake_prefix_path:3,ddcl:4,ddcl_exampl:5,deb:74,decai:3,decis:3,declar:[73,76],decod:76,decomposit:65,decor:[2,4,71,76],def:[1,2,64,66,68,71,72,73,76],defaultplac:3,defin:[2,64,65,68,70,71,76],definit:[64,65],deleg:[3,64,70,71],demo:[],demonstr:[1,2,3,5,69,70,76],densiti:3,depend:[2,65,66,68,74,76],depolar:68,depth:64,deriv:65,describ:[2,3,4,5,65,70],descript:[2,3,65,69,71,73],design:[3,64,65,66,68],desir:[3,65,66,68,71,73,76],destin:2,detail:[1,3,64,65,69,71],deuteron:[3,68],deuteron_ansatz:[1,3],dev:[2,3,5,71,75],devel:[5,71,75],develop:[5,64,66,71,76],devic:65,devtoolset:[3,5],dialect:65,dict:3,dictat:1,dictionari:[3,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,64],did:1,differ:[3,64,65],differenti:[65,76],direct:[64,65,68,76],directli:[65,66],directori:[2,3,66,71,73],disabl:65,discrep:3,discuss:[3,4,5],disk:[65,70],dispar:65,displai:[72,76],distribut:3,diverg:3,divers:70,dmitri:[4,70],dnf:[5,71,74,75],docker:4,document:2,doe:[3,65,76],domain:[65,70],don:[2,73],done:[2,3,64,69,76],doubl:[1,3,64,65,66,73,76],doublet:64,down:5,download:[74,76],doxygenclass:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],dpkg:74,dpython_execut:3,dpython_include_dir:64,drive:65,driven:3,driver:70,drop:71,due:[65,74],dumitrescu:[4,70],duobl:3,dure:[64,68],duuid_librari:3,dw_2000q:3,dw_2000q_2:71,dw_2000q_vfyc_2_1:3,dwave:[4,67,71,76],dwave_config:[3,67,71],dwavesi:3,dxacc_build_exampl:5,dxacc_build_test:5,dxacc_dir:[2,5,64,67,69,71,73,75,77],dynam:[4,70],each:[1,3,64,65,68,76],earli:65,eas:64,easi:66,easier:76,easiest:64,easili:[64,65,66,76],easy_qiskit_pass:2,easy_qiskit_pass_factori:2,easy_qiskit_pass_inst:2,easyqiskitirtransform:2,eclips:[2,5],effici:[1,64,65,70,76],effort:70,eigensolv:[3,64,76],eigenvalu:[3,64],electron:[64,66,69,71],email:2,embed:[65,70,76],embeddingalgorithm:71,emph:65,emploi:68,employe:2,empti:[1,3],enabl:[3,4,5,64,65,66,68,70,71,76],end:[65,74],energi:[3,64,66,68,69,73,76],enhanc:1,ensembl:65,ensur:[1,3,5,65,67,69,71,73,75,77],entangl:76,entri:[2,76],enumer:3,environ:73,eps:3,equal:[3,76],equival:65,error:[3,4,5,65],essenc:64,essenti:[65,76],estim:[3,65,71],etc:[2,64,65,76],eugen:[4,70],evalu:65,everyth:2,exampl:[1,2,3,5,64,65,66,68,71,73,76],example_input:66,exascal:70,except:[65,68],excit:66,execut:[1,2,3,4,5,64,65,67,68,69,70,71,75,76,77],executab:73,exist:[1,64,65,70,73],exp:[64,68],exp_i_theta:1,expec:3,expect:[68,69,71,73,76],experi:[4,66,69,71],experiment:66,exponenti:3,expos:[1,2,3,64,65,68,69,71,73,76],express:[64,65,66,70,71,76],expvalz:1,extend:[4,65,70,71],extens:[4,64,65,66,70,71,76],extern:3,extra:[1,2,3,76],extrainfo:76,extrainform:68,extrem:70,factor15:76,factor:76,failur:5,familiar:[65,68],fashion:65,faster:65,fatal_error:2,fc25:74,fc26:74,fedora:[4,71,74,75],fermion:[1,3,64,68,71],fermion_ham_sourc:68,fermioncompil:64,fermionoper:[64,66],few:3,fidel:1,fig:65,figur:65,figwidth:65,file:[2,3,64,65,66,67,68,69,71,73,76],filenam:68,filesystem:73,find:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,64,73],find_packag:[2,73],first:[1,2,3,64,65,66,69,71],fit:65,flag:[64,71],flexibl:65,flip:68,flow:70,flush:69,folder:[2,76],follow:[1,2,3,4,64,65,67,68,69,70,71,72,73,74,75,76,77],foo:[1,2,3,71,76],forc:65,forest:[70,71,73,76],fork:74,form:[2,65,70],former:65,formula:68,found:69,foundat:65,four:[65,70],fourier:[65,76],framework:[1,2,4,64,65,66,68,69,70,71,72,73,75,76],free:65,friendli:[2,70],from:[2,3,5,64,65,66,68,71,72,73,76],from_qasm_str:2,fromstr:1,front:65,frontend:[4,65],frozen:4,ftol:3,full:[1,3,64],functor:[1,73],further:[3,65,76],furthermor:[64,65,76],futur:[64,65,73],g1term:69,g2term:69,g3term:69,g4term:69,g5term:69,gate:[1,64,65,70,73,76],gate_error:3,gatewai:71,gather:65,gcc:[3,5],gen:[70,73],gener:[1,3,64,65,68,71,73,76],geom:3,geometri:3,get:[1,2,3,5,68,71,73,74,75,76],getacceler:[1,2,3,64,68,69,73,76],getacceleratorconnect:65,getacceleratordecor:[3,68],getalgorithm:3,getalluniqu:64,getchildren:64,getcompil:[1,2,3],getcomposit:[1,2],getexpectationvaluez:[1,69,73,76],getfunct:76,getinform:[64,76],getinstruct:2,getirgener:66,getirprovid:1,getirtransform:[1,2,3],getkernel:[69,73],getmeasurementcount:[1,76],getmeasurementstr:72,getobserv:[1,3],getobservabletransform:1,getoptim:[1,3],getproperti:3,getservic:1,git:[3,5,64,67,69,71,73,75,77],github:[3,4,5,64,67,69,70,71,73,74,75,77],give:[1,64,65,71],given:[1,2,3,64,65,68,76],glob:2,glu:4,glue:[65,76],good:2,googl:76,gov:2,gpu:[4,65,70],grad:1,gradient:[1,3,64],grammar:71,graph:[54,65,70,76],great:[3,73,76],grep:74,ground:[3,64],ground_energi:3,group:[2,3,71],h2src:64,h_n_2:3,had:[64,72,76],hadamard:[3,24,65],ham:[3,64,68],hamiltonian:[3,64,65,68,69,71,73,76],hamiltoniangener:66,handi:76,handl:[65,71,73],happen:65,hard:66,hardwar:[4,64,65,66,68,70,76],has:[2,64,65,66,68,70,73,76],have:[1,2,3,5,64,65,67,69,71,73,74,75,76,77],header:5,help:74,here:[1,2,3,5,64,65,69,71,72,73,75,76],hermitian:3,heterogen:[1,4,65,70],heterogeneousmap:[1,2,3],high:[4,64,65,70,76],higher:[65,76],home:[2,3,5,67,69,71,73,75,76,77],homebrew:5,hook:65,host:76,hostnam:2,how:[1,2,3,66,69,71,75,76],hpp:[1,2,3,64,69,73],html:73,http:[2,3,5,64,67,69,70,71,73,74,75,77],hub:[3,71],human:[65,70],humbl:[4,70],hwe:[64,76],hybrid:[3,4,64,70],hydrogen:73,iarpa:70,ibm:[1,4,64,65,68,70,72,73],ibm_config:[3,69,71,76],ibm_valencia:3,ibmq:76,ibmq_20_tokyo:76,ibmq_johannesburg:3,ibmq_qasm_simul:3,ibmq_valencia:[1,3],ibmqx5:[69,71],idea:65,ident:24,identifi:54,illustr:76,imag:[2,5],imagin:[64,71,76],immedi:71,implement:[1,2,3,4,64,65,66,68,70,71,76],implementor:65,impli:1,improv:1,improvedsampl:68,improvedsamplingdecor:4,includ:[1,2,3,5,64,65,66,69,73,76],include_directori:73,includegraph:65,increas:68,independ:[4,64,65,70],index:4,indic:[1,2,73,76],individu:[1,76],inevit:65,infin:3,influenc:65,info:[73,74,76],inform:[1,2,3,64,65,66,68,71,73,76],infrastructur:[2,3,64,65,71],inher:[4,70],ini:66,init:[2,73,76],initangl:64,initi:[1,2,3,64,65,66,68,69,71,72,73,76],initializest:69,inject:[1,65,70],input:[1,3,64,65,70,73,76],inputparam:66,inspect:71,inst:2,instal:[2,3,4,66,68,70,72,76],instanc:[1,2,64,65,66,70,71,73,76],instanti:[2,64,73,76],instead:[71,76],instruct:[1,2,3,5,42,65,66,71,73,76],instructioniter:42,instructionparamet:[65,76],instructionvisitor:[42,65],insur:2,integ:76,integr:[2,64,65,70],intend:[65,70],interact:[5,65],interest:66,interfac:[1,2,3,64,65,66,68,70,71],intermedi:[4,64,65,66,70,73],intern:1,interoper:[65,70],interplai:[4,70],intract:70,introduc:68,intuit:76,invalid:2,inverseqft:76,invoc:65,invok:[2,65,76],involv:76,ion:65,ionq:4,ionq_config:3,ipopo:[2,66],ir_gener:66,irgener:[42,64,66,71],irpreprocessor:71,irprovid:[1,42],irt:2,irtransform:[1,2,3,42,64,65,71],irtransformationtyp:2,isomorph:65,issu:[5,74],iter:[1,3,66,73],its:[1,2,64,65,66,68,76],itself:[1,64,65,76],ize:73,j12:3,jai:4,jansen:3,jit:3,job:[69,71,73,76],jordan:[1,64],json:[2,3,68,73,76],just:[2,3,64,65,76],keep:[64,65,73,76],kei:[1,3,64,65,67,68,69,70,71,73,76],kernel:[4,51,64,66,68,69,70,71,73],keyword:[1,65],kind:76,kit:76,kitaev:64,known:68,kwarg:64,label:65,lambda:3,languag:[1,3,4,64,65,66,70,71,76],lapack:[5,71,75],later:1,latest:[],lattic:3,launch:[2,72],layer:76,layers_v2:65,learn:3,leav:[2,65],left:2,let:[2,64,70,73,76],level:[2,4,64,65,70,71,76],lever:1,leverag:[1,2,4,64,65,70,71,76],liakh:[4,70],lib64:3,lib:[3,74],libari:73,libbla:[5,71,75],libcurl4:5,libcurl:5,liblapack:[5,71,75],libpython3:5,librari:[1,2,3,5,65,70,71,73,75],library_nam:2,libunwind:5,libuuid:3,libzmq:3,licenc:[],like:[1,2,3,5,64,65,66,68,70,71,73,76],limit:66,line:[2,65,66,71,76],link:[2,73,74],link_directori:73,linspac:73,list:[1,3,65,69,73],llvm:[65,70],load:[2,3,65,70,76],load_external_language_plugin:3,loadbuff:76,loadedstr:76,local:[1,3,68,71,76],localhost:2,locat:[2,67,68,69,73,74,75,77],log:2,logic:65,look:[64,66,73,76],loop:[64,73],loss:3,low:[65,70,71,76],lower:3,lowest:64,mac:[2,4,74],machin:[65,70,71,75,76,77],macosx:[71,75],made:[64,65],mai:[5,65,76],main:[1,3,65,69,70,73],maintain:[4,65,70],major:2,make:[1,2,3,5,64,65,70,71,73,76],make_pair:[1,3],make_shar:2,malloc:76,manag:[2,65],mani:[1,2,3,65,76],manifest:2,manipul:[64,65,66],manner:[4,64,65,70,71],manual:3,manuscript:4,map:[1,2,3,64,65,70,76],mapbit:3,matrix:[3,71],max:3,maxev:[1,3],maximum:3,mccaskei:[4,70],mccaskeyaj:2,mcweeni:68,mead:[3,64],mean:3,meant:1,measur:[1,2,3,24,64,65,68,71,72,73,76],measured_circuit:1,measz:[69,73],mechan:[65,71,76],memori:[2,65,70],mengsu:[4,70],mention:1,merg:3,metadata:1,method:[1,2,3,64,65,66,68,71,76],middl:65,might:[1,2,5],mimic:3,minim:3,minimum:[2,73],minor:[70,76],minu:3,miss:5,missingfigur:65,mitig:[3,4,65],mix:68,mkdir:[2,3,5,64,67,69,71,73,75,76,77],mlpack:[1,4],mmd:3,model:[3,4,64,65,66,69,70,71,76],modif:65,modifi:65,modul:[2,3,4,64,67,71,76],modular:[65,66,76],molecul:[66,69,73],molecular:[3,69,73],moment:3,momentum:3,more:[2,3,64,65,71,76],moreov:2,most:[2,5],msgpack:3,multi:1,multipl:[1,65,68,76],multishot:73,must:[1,2,3,5,65,67,69,70,71,73,74,76],mutabl:1,mybluemix:[3,69],n_electron:71,n_qubit:[71,76],name:[1,2,64,65,66,68,76],namespac:2,nativ:[4,65,70,71],natur:65,navig:2,ncnot:[64,73],neal:4,necessari:[3,65,73],need:[2,3,5,65,73,76],nelder:[3,64],nesterov:3,net:[3,69,71],network:[4,65,70,71,73,75,77],neuromorph:70,newbuff:76,newli:2,next:[1,2,70,73],nice:64,ninstruct:[1,2,3],njump:73,nlabel:73,nlopt:[1,4],nmeasur:73,node:65,nois:3,noisi:68,non:68,none:[1,2,3],norm:3,note:[1,2,3,5,64,71,73,76],notic:76,novel:[2,4,65],now:[2,3,5,64,67,68,69,73,74,75,76,77],nparamet:76,nproc:5,nqpu:[64,76],nqubit:66,nry:64,nucleu:[4,70],nullptr:1,num:[71,76],number:[3,4,65,66,68,69,70,71,73,76],numpi:[73,76],object:[1,65,68,70],observ:[2,4,64,65,68,76],observabletransform:1,obtain:[66,68],occur:[68,73],occurr:76,off:[64,65,70,76],offload:[4,70,73],ofstream:69,often:[64,65],onc:[2,4,5,70,76],one:[1,2,4,64,65,70,73,76],ones:73,onli:[1,3],onlin:73,onto:65,open:[2,64,69,70,71,73,74],openbla:[71,75],opencl:[4,65,70],openfermion:[64,66],openqasm:[2,65,71,76],openqasm_compil:2,openssl:5,oper:[3,64,65,70,71,73,76],opportun:64,opt:[1,3,64],opt_param:1,opt_val:1,optfunct:1,optim:[2,4,64,65,70],option:[1,2,3,5,65,76],orbit:3,orchestr:[2,70,73],order:[1,2,3,64,65,67,68,69,71,73],orient:[66,76],ornl:[4,5,64,67,69,71,73,74,75,77],osgi:[4,70,71],other:[2,5,64,65,69,70,76],our:[2,73,74,76],out:[1,2,4,69,70,71,73,76],out_circuit:2,out_prog:2,out_src:2,output:[2,5,64,65,66,73,76],over:[3,73],overal:[1,2,64,65],overrid:[2,66],overview:65,p01:[3,68],p10:[3,68],packag:74,page:4,pair:[3,64,68,76],pamet:[],paper:3,par:65,param:[1,3,64,73],paramet:[1,3,64,65,66,76],parameter:[1,3,64,65,76],park:[4,70],pars:[65,73,76],parser:[70,71],part:64,parti:3,particl:64,pass:[1,2,3,64,65,66,68,73],pass_manag:2,passmanag:2,path:[65,66],pattern:[65,68],pauli:[1,3,64,76],pauliop:64,paulioper:[3,64,66,68],payload:73,pelix:2,per:[69,71,73,76],perform:[1,2,4,65,66,68,70,73,76],permiss:76,persist:[1,65,70,76],pertin:[2,76],phase:65,phi:1,physic:[3,4,65,66,70],pip:[5,64,66,71,73,76],place:[2,65],plai:[65,71],plain:3,platform:[3,71,75],pleas:[2,4,70],plot:73,plu:3,plug:[64,71],pluggabl:70,plugin:[3,4,64,66,67,68,69,70,72,73,74,75,77],png:65,point:[3,65,68,71],polymorph:4,popul:[2,3,76],popular:[71,75],port:2,posit:64,possibl:64,post:[70,73],pow:1,ppa:5,pragma:2,prefix:[67,69,73,74,75,77],prep:69,prepar:73,preprocessor:[65,71],prerequisit:[2,4],present:[1,65,76],previou:[64,65],primari:[1,2,70],prime:76,primit:65,print:[1,3,5,64,72,73,76],privat:2,prob:3,probabl:[3,68,73],problem:[64,65,70,71,73,76],procedur:65,process:[5,64,65,66],processor:[4,66,70,76],produc:[1,64,65,70,71,73,76],product:71,program:[2,3,4,64,65,67,69,70,71,72,73,75,76,77],program_opt:73,programm:[1,65,70],programmat:65,project:[2,3,4,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,70,71,73,76],promot:[65,70],prop:3,proper:5,properli:66,properti:[2,3,5],propos:3,provid:[1,2,3,4,5,64,65,67,68,69,70,71,73,75,76,77],psi4:4,pthread:73,publish:3,pull:5,purifi:68,purpos:[2,65],put:[2,5],pwd:2,pybind11:2,pyquil:[71,76],pyquil_config:[71,73],pyquil_out:73,pyquillow:70,pyquilqubit:73,python3:[3,5,64,66,76],python:[3,4,5,66,67,68,69,73,75,77],pythonpath:[3,5,67,69,71,73,75,77],pywp:[],pyxacc:71,pyxacccompil:[71,76],qalloc:[1,2,3],qasm:[2,3,4,64,71,76],qbit:[1,2,3,69,73],qci:[5,64,67,69,71,73,74,75,77],qcl:65,qcs:3,qft:76,qiskit:[2,3,71,76],qmi:[71,76],qpl:65,qpu:[1,2,3,4,5,64,65,66,67,68,69,70,71,72,73,76],qreg:[69,73],quantiz:64,quantum:[1,3,4,5,64,65,68,69,70,71,73,75,76,77],quantumcircuit:2,quantumexperi:[69,71],qubist:[67,70,71],qubit2_depth1:3,qubit:[1,3,64,65,66,68,69,70,71,73,76],qubit_rang:68,qubitoper:[64,66],qubitoperator2xacc:[64,66],qubitreg:[69,73],queri:[1,2,76],quick:4,quickli:5,quil:[1,3,64,65,70,71,73,76],quilc:76,quilcompil:73,quipper:65,qvm:[70,71,72],ram:2,random:76,rang:[65,68],rate:3,rdm:[3,68],rdmpurif:68,rdmpurificationdecor:4,read:[2,64,65,66,71],readabl:[1,65,70],readi:[73,76],readili:76,readm:76,readout:3,readout_error:3,readout_error_correction_a:3,readthedoc:[],realiz:[65,70],realli:76,recent:5,recommend:5,recurs:64,reduc:[3,65],ref:65,refer:[1,2,3,4,64,65,66,69,70,73,76],regard:[64,65],regist:[1,2,65,69,71,73,76],registerservic:2,registri:[2,73],releas:[5,74],relev:[64,66],reli:[2,4,65,70],remot:[1,3,5,65,67,71],remoteacceler:[6,11],remov:3,replac:[2,3,64,65,74],repositori:5,repres:[1,4,64,65,69,70,73,76],represent:[3,4,64,65,66,70,73],reproduc:3,request:[2,3,69,73],requir:[1,2,3,5,64,65,66,68,69,71,73,75,76],requisit:1,research:65,reset:73,resetbuff:[69,73],resourc:[67,71],respect:[3,64,65,70,71,76],respons:[1,65,73],rest:[2,70,76],restart:4,result:[1,3,64,65,66,68,72,73,76],retriev:[3,64,65],reus:65,rho:3,richextrapdecor:[],rigetti:[3,4,64,65,70,72],rigettiacceler:73,rms:3,robust:3,roerrordecor:[4,68],role:65,rosen_with_grad:1,rotat:3,routin:[1,65,76],rpath:2,rpm:74,rtti:74,rule:2,run:[1,2,3,5,64,65,66,67,68,69,71,73,74,75,76,77],runtim:[65,73,76],runtimeopt:54,ryan:4,sai:76,same:[1,3,65,73,76],sampl:71,sand:[4,71],scaffcc:74,scaffold:[65,69,70,73],scaffold_2:74,scalabl:[69,73],scale:70,schwinger:[4,70],scientist:70,scl:[3,5],scope:76,scratch:2,script:[64,68,72,76],sdk:76,search:[3,4,64,65,67,71],sec:65,second:[1,64,66,76],section:[65,66],secur:2,sed:74,see:[2,3,5,64,65,66,69,70,71,72,73,76],seek:76,seen:[5,64,65],self:[2,66],sent:76,separ:[64,65],seri:65,serv:[1,2,64,65],server:[70,76],servic:[2,65,66,71,76],serviceproperti:2,serviceregistri:54,session:2,set:[2,3,4,64,65,66,70,76],set_target_properti:2,set_verbos:3,setopt:[1,68,73,76],setup:[3,73],sgd:3,shannon:3,share:[2,71],shared_ptr:[2,3],shift:3,shot:[1,3,69,71,73,76],should:[1,2,3,64,65,71,73,75,76],show:[2,73],shown:[64,65,66,68,76],side:76,signific:66,similar:[65,76],similarli:[3,65,76],simpl:[1,2,3,65,69,72,73],simpli:[65,66,76],simplifi:64,simul:[1,3,4,5,65,66,68,69,70,71,73,76],sinc:[64,65,73],singl:[3,4,64,66,76],singlet:64,singleton:54,site:[2,3,4,64],size:[1,2,3,64,68,69,76],skip:[5,69],smooth:3,snippet:3,socm:66,softwar:[4,5,65,76],solut:76,solver:[3,71],some:[1,2,3,5,64,65,73,76],somehow:1,someon:2,someth:3,sourc:[2,4,64,65,66,68,69,70,71,72,73,76],specif:[1,2,3,4,64,65,66,68,70,71,73,76],specifi:[3,64,65,66,73,76],spin:[1,2,3,64,66],squar:3,src:[2,64,66,69,73],ssh:2,sshing:2,stack:5,stand:[65,71],standalon:2,standard:[1,2,5,65,66,73,76],start:[4,65,73,76],state:[1,2,3,64,65,68,69,71,73,76],statement:73,stateprep:73,std:[1,2,3,69,73,76],step:[3,64,76],still:2,sto3g:64,sto:3,stop:2,store:[1,64,66,68,73,76],str:[64,73,76],straightforward:73,strategi:[3,68],string:[1,2,3,64,65,66,68,69,71,73,76],strong:65,structur:[1,2,3,65,69],stub:76,studi:[4,70],sub:[65,76],subclass:[2,65,66,68],subroutin:65,subsect:65,subsequ:65,subset:76,subtleti:[4,70],success:73,sudo:[3,5],suit:65,suitabl:65,superclass:2,superconduct:65,suppli:[65,70],support:[2,3,4,66,67,69,70,71,73,75,76,77],suppos:[64,72],sure:3,swap:24,swarm:64,symbolic_nam:2,symmetri:3,syntax:[1,64,71],synthesi:65,system:[4,65,70,73],tag:[4,70],tailor:[65,73],take:[1,2,3,4,64,65,70,73,76],taken:[65,73],target:[2,3,64,65,66,67,68,69,71,73,76],target_dist:3,target_distribut:3,target_link_librari:[2,73],task:[1,64,65],techniqu:65,tediou:65,teleport:[72,73],tell:1,templat:[],tensor:[4,65,70,71,73,75,77],term:[4,64,65,68,69,70,71,73,76],termin:[2,3,76],test:[2,5,73,76],test_ir_transform:2,test_ir_transformation_activ:2,testirtransformationactiv:2,text:[3,73],textual:1,than:[3,76],thei:[2,3,65,71,76],theia:2,them:[2,64,65,68],therebi:65,therefor:[3,64,65,70],thermal_relax:3,theta0:71,theta:[1,3,69,73,76],thi:[1,2,3,4,5,64,65,66,67,68,69,70,71,72,73,74,75,76,77],thin:1,third:3,those:[2,64,65,71],thread:73,three:65,through:[1,2,3,5,64,65,66,68,70,71,73,76],throughout:64,thu:65,time:[64,65,68,76],tnqvm:[3,5,64,66,73,76],togeth:[2,4],toler:3,too:[1,2,3],tool:[2,65],toolchain:5,top:[2,73,76],tostr:[1,76],total:73,trace:5,track:[65,73,76],tradit:[4,70],train:3,transform:[1,2,4,64,65,76],translat:[2,65,70],transpil:[2,65],trap:65,travi:[4,70],tree:65,trial:[71,73],turn:[3,73],tutori:71,two:[3,64,66,68,70],txt:[2,73,76],type:[2,3,5,64,65,71,73,76],ubuntu:[2,4,71,74,75],uccsd:[64,66,71],uml:65,unabl:[7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63],under:[3,70,76],underli:[64,65],understand:65,unexpect:68,unifi:65,uniform:76,uniqu:[2,64,65,66],unit:76,unitari:[64,65,66],unknown:76,unless:73,unload_external_language_plugin:3,unmeasur:[1,3],until:64,updat:[2,5,65,76],upon:[1,5,65],upper:3,url:[3,69,71],us_abi_loc:2,us_bundle_nam:2,usag:1,use:[1,2,3,64,65,66,68,69,70,71,73,74,76],used:[1,2,3,64,65,66,68,71,76],useful:1,user:[1,2,3,5,64,65,70,71,73,76],uses:[2,65,66,73,76],usfunctionembedresourc:2,usfunctiongeneratebundleinit:2,usfunctiongetresourcesourc:2,using:[1,2,3,4,5,64,65,66,68,70,71,73,76],usr:[3,5,64],usual:[64,68],util:[1,3,5,64,65,66,76],uuid:3,val:[3,64,68],valid:[1,2,4,65,70,71],valu:[3,64,68,69,71,73,76],vari:2,variabl:[1,3,65,73],variant:[65,76],variat:[1,3,64,76],varieti:[65,76],variou:[1,3,64,66,70,71,75,76],vector:[1,3,76],vendor:[2,65,70],verbos:5,veri:[65,76],verif:[4,70],version:[2,5,73],via:[1,2,3,4,64,65,67,69,71,73],virtual:[4,70,71,75,76,77],visit:65,visitor:65,vqe:[4,66,68,73,76],vqe_example_result:64,vqebackend:64,vqeminimizetask:64,vqetask:64,wai:[3,5,64,65,66,73,76],walk:[2,65],want:[2,5,64,72,76],wave:[4,65,70],wchar:5,web:2,weight:3,well:[1,2,3,4,5,64,65,68,71],wget:74,what:[2,76],when:[1,2,66,68,71,76],where:[2,3,65,66,67,69,73,74,75,76,77],wherebi:2,wherev:64,which:[1,3,5,64,65,66,68,70,73,76],who:2,wide:[65,70],width:65,wigner:[1,64],wish:2,within:[65,68,73,76],without:2,word:[1,65],work:[2,4,65,70,73,76],workflow:[64,65,76],working_directori:2,world:65,would:[1,2,64,65,71,76],wrap:2,wrapper:1,writ:73,write:[3,4,64,65,70,71,72,73,76],written:[64,65,71],wrt:76,x0x1:[1,3,64,69],x86_64:74,xacc:[2,3,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,52,53,55,56,57,58,59,60,61,62,63,65,66,67,68,69,71,74,75],xacc_configure_plugin_rpath:2,xacc_dir:[64,66],xacc_include_dir:73,xacc_instal:71,xacc_librari:73,xacc_library_dir:73,xacc_observ:[1,3],xacc_root:[67,69,73,74,75,77],xacckernelh2:66,xacclogg:54,xaccprogram:73,xaccvq:[64,68],xasm:[1,2,3],xasmcompil:1,xcode:5,y0y1:[3,69],yarn:2,you:[2,3,4,5,64,67,69,70,71,72,73,74,75,76,77],your:[2,3,5,64,67,69,71,73,74,75,76,77],your_api_kei:[69,71],your_kei:3,your_key_her:3,yourapikei:[67,69,71,73],youruserid:[71,73],yum:[3,5],z0term:73,z0z1:[69,73],z0z1term:73,z1term:73,zach:[4,70],zero:3,zeromq:3,zhao:4,zmq:3},titles:["Advanced","Basics","Developers","Extensions","XACC Documentation","Installation","Accelerator","Accelerator","AcceleratorBuffer","AcceleratorBufferPostprocessor","RemoteAccelerator","XACC Framework API","DWGraph","DWIR","DWIRProvider","DWKernel","DWQMI","HUBO (Higher-Order Unconstrained Binary Optimization)","TrivialEmbeddingAlgorithm","Compiler","Compiler","Preprocessor","Algorithms","GateFunction","GateInstruction","GateIR","GateIRProvider","CNOT","ConditionalFunction","CPhase","CZ","Hadamard","Identity","Measure","Rx","Ry","Rz","Swap","X","Y","Z","KernelReplacementPreprocessor","Intermediate Representation (IR)","Function","Instruction","InstructionIterator","InstructionVisitor","IR","IRGenerator","IRProvider","IRTransformation","Program","Kernel","Program","Utils","CLIParser","Cloneable","Graph","Identifiable","OptionsProvider","RuntimeOptions","ServiceRegistry","Singleton","XACCLogger","Applications Built on XACC","Concepts","Benchmarking","D-Wave","Error Mitigation","IBM","Getting started with XACC","Plugins","XACC Python Bindings","Rigetti","Scaffold","TNQVM","XACC Tutorials","XACC-VQE"],titleterms:{"function":43,"new":2,"public":[4,70],QCS:3,acceler:[1,2,3,6,7,65,73],acceleratorbuff:[0,8,76],acceleratorbufferpostprocessor:9,acceleratordecor:68,advanc:0,aer:3,algorithm:[3,22,66],ani:73,ansatz:66,api:[11,64],applic:64,architectur:[4,64,65,66],argument:[69,73],basic:1,benchmark:66,binari:17,bind:72,buffer:1,bug:[4,70],build:5,built:64,cento:5,chemistri:66,circuitoptim:3,clipars:55,cloneabl:56,cnot:27,code:73,command:[64,69,73],compil:[1,19,20,65,71],concept:65,conditionalfunct:28,core:3,correct:68,cphase:29,credenti:[67,69,71,73],data:0,ddcl:3,decor:[3,64,68],densiti:68,descript:4,develop:[2,4,70],docker:[2,5],document:4,dwave:3,dwgraph:12,dwir:13,dwirprovid:14,dwkernel:15,dwqmi:16,error:[0,68],exampl:[69,72],execut:[0,66,73],extend:[2,76],extens:3,fedora:5,framework:11,frozen:3,gate:24,gatefunct:23,gateinstruct:24,gateir:25,gateirprovid:26,gener:66,get:70,graph:57,hadamard:31,hamiltonian:66,higher:17,hubo:17,hydrogen:69,ibm:[3,69,71,76],ident:32,identifi:58,improv:68,improvedsamplingdecor:3,indic:4,infrastructur:[4,70],input:66,instal:[5,64,67,69,71,73,74,75,77],instruct:44,instructioniter:45,instructionvisitor:46,interfac:76,intermedi:[1,42],ionq:3,irgener:[48,76],irprovid:49,irtransform:50,issu:[4,70],jit:[64,71,76],kernel:[1,52,65,76],kernelreplacementpreprocessor:41,layer:65,line:[64,69,73],mac:5,matrix:68,measur:33,mitig:[0,68],mlpack:3,modular:[4,70],neal:3,nlopt:3,observ:[1,3],optim:[1,3,17],option:71,optionsprovid:59,order:17,ornl:2,overview:[4,64,70],plugin:[2,71,76],preprocessor:21,prerequisit:5,present:70,program:[1,51,53],psi4:3,purif:68,pyquil:73,python:[1,2,64,71,72,76],qasm:1,quantum:66,question:[4,70],quick:[2,5],qvm:[73,76],rdm:[],rdmpurificationdecor:3,readout:68,reduc:68,remoteacceler:10,report:[4,70],represent:[1,42],restart:3,richextrapdecor:[],rigetti:[71,73,76],roerrordecor:3,runtim:71,runtimeopt:60,sampl:68,scaffold:74,serviceregistri:61,set:[67,69,73],simpl:76,simul:2,singl:1,singleton:62,sourc:1,start:[2,5,70],swap:37,tabl:4,team:[4,70],teleport:76,tnqvm:[71,75],track:[4,70],transform:3,trivialembeddingalgorithm:18,tutori:[73,76],ubuntu:5,unconstrain:17,usag:[72,76],util:54,vqe:[3,64,69,77],wave:[67,71,76],welcom:[],write:2,xacc:[1,4,5,11,64,70,72,73,76,77],xacclogg:63}})
\ No newline at end of file
......@@ -323,7 +323,6 @@ service.
xacc.qasm('''
.compiler xasm
.circuit foo
.parameters x,y,z
.qbit q
H(q[0]);
CX(q[0], q[1]);
......@@ -342,6 +341,7 @@ service.
assert(4 == f.nInstructions())
Extending Accelerator for new Simulators
-----------------------------------------
Here we document how one might extend the ``Accelerator`` interface for
new simulators.
\ No newline at end of file
......@@ -315,7 +315,16 @@ void XASMListener::enterInstruction(xasmParser::InstructionContext *ctx) {
runtimeOptions.get_mutable<std::string>("param_id") =
params[1].toString(); // first one is qbit
}
auto comp = std::dynamic_pointer_cast<CompositeInstruction>(tmpInst);
// If this composite inst has parameters that match
// any of the function vars, then we need to add them here
auto vars = function->getVariables();
for (auto& p : params) {
if (std::find(vars.begin(), vars.end(), p.toString()) != std::end(vars)) {
comp->addVariable(p.toString());
}
}
comp->expand(runtimeOptions);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment