Yougot a 01 right, andwhen I sayquery, I mean, like, passedthroughthecircuit.
Sotofindoutif a circuitisbalancedorconstanton a twobitstring, it's goingtotakeitleasttwopasses.
Asweincreasethenumberofbitsinthestringthatwewanttopassthroughthisfunction, it's goingtotakelongerandlongerandlongerfor a classicalcircuittobeabletomakethisdetermination a quantumcircuit.
ButthisistheveryThisisthebasisrightaway, 00 for a constant 11 forbalance.
Sokeepthatinmind.
You'vejustbeenshowingsomethingamazing.
Sonow, um, nowthatwe'vedonethat, what I wanttodoisproposetoyou, uh, therestofthedeutscheEosalgorithmbecause I think a lotofthisgetslostwhenpeoplejustgostraighttothedeutscheshowsalgorithm.
So, um, asfaras I cantellfromlookingaround, thebarrierisusedtostopthekisskitoptimizerlikeinthebackendthatoptimizesyouractualinputcircuitbeforeitgoestothequantummachinethatwilloptimizeyourcircuit.
Ifyouwanttobeabundantlyclear, youcanputlike, twobarriersorsomething, but, um, I thinkthisisfine.
Sowhathappenswhenyouhave a notgateandthen a had a markgate?
Whatgoesontheresoreallyquicklyagain?
I'm justtryingnottoglossoveranythingatallherebecause I think I thinkthatfromwhat I'veseen, atleastwhen I wasgoingthroughtutorials, I'm like, tryingtofigureoutokay, ButwhyiseverysinglegateWhyaretheyhere?
Eventhoughit's a relativelyuselessquestion, itcansolvethisquestionfasterthan a classicalcomputer a classicalappearwillruinrequireatleasttwopassesthroughthecircuittoanswerthisquestion.
Thenyoumightbethinking, Well, maybetheconstantis a 11 constantblackbucks.
It's not.
Weget 00 acrosstheboard.
Sowe'velostour, um, attributes.
Thatwassocool.
Andweknowwecanunderstand.
Maybenotthequantummechanicsinthebackground.
Maybewedon't understandthat, butbecauseweactuallygraftthe, uh, multivector, I don't knowwheremyoptionmyexamplewent.
Butwhenwedid, yousawit.
Didn't doanythingright.
Youhad a marred.
Itwasfull X.
Youdidn't knowitwasstillfull X.
Soit's nosurprisethisisnotworking.
Butwhatabout?
I'm gonnacommentthatoutagain.
We'regoingtosay a rotationnow, sowe'regonnaWe'regoingtoreplacetheoriginalformulationwherethere's a knotbeforetheHatemartwiththerotationonthewhyinstead, Sowe'regonnasay, mattdotpiecubitnumbertwoorindextoratherrunit.
Okay, Constantis a 00 Uh, I don't wanttorewritethewholething.
I couldhavedoneitbynow, though.
BalanceBlackboxis a 11 Sonowwe'rebacktothebehavior, right?
Umbutthen I like I said, as I'm justkindofplayingwiththisdoichosealgorithm, I'm like, That's interesting, youknow, becauseintheoryyoujustneedtomakesureeverythingisthesameeitherhave a balancedor a constant, youknow, thingthathappensatthispoint.