Deutsch–Jozsa algorithm

The Deutsch–Jozsa algorithm is a deterministic quantum algorithm proposed by David Deutsch and Richard Jozsa in 1992 with improvements by Richard Cleve, Artur Ekert, Chiara Macchiavello, and Michele Mosca in 1998.[1][2] Although of little practical use, it is one of the first examples of a quantum algorithm that is exponentially faster than any possible deterministic classical algorithm.[3]

The Deutsch–Jozsa problem is specifically designed to be easy for a quantum algorithm and hard for any deterministic classical algorithm. It is a black box problem that can be solved efficiently by a quantum computer with no error, whereas a deterministic classical computer would need an exponential number of queries to the black box to solve the problem. More formally, it yields an oracle relative to which EQP, the class of problems that can be solved exactly in polynomial time on a quantum computer, and P are different.[4]

Since the problem is easy to solve on a probabilistic classical computer, it does not yield an oracle separation with BPP, the class of problems that can be solved with bounded error in polynomial time on a probabilistic classical computer. Simon's problem is an example of a problem that yields an oracle separation between BQP and BPP.

Problem statement

In the Deutsch–Jozsa problem, we are given a black box quantum computer known as an oracle that implements some function:

The function takes n-bit binary values as input and produces either a 0 or a 1 as output for each such value. We are promised that the function is either constant (0 on all inputs or 1 on all inputs) or balanced (1 for exactly half of the input domain and 0 for the other half).[1] The task then is to determine if is constant or balanced by using the oracle.

Classical solution

For a conventional deterministic algorithm where is the number of bits, evaluations of will be required in the worst case. To prove that is constant, just over half the set of inputs must be evaluated and their outputs found to be identical (because the function is guaranteed to be either balanced or constant, not somewhere in between). The best case occurs where the function is balanced and the first two output values are different. For a conventional randomized algorithm, a constant evaluations of the function suffices to produce the correct answer with a high probability (failing with probability with ). However, evaluations are still required if we want an answer that has no possibility of error. The Deutsch-Jozsa quantum algorithm produces an answer that is always correct with a single evaluation of .

History

The Deutsch–Jozsa algorithm generalizes earlier (1985) work by David Deutsch, which provided a solution for the simple case where .
Specifically, given a Boolean function whose input is one bit, , is it constant?[5]

The algorithm, as Deutsch had originally proposed it, was not deterministic. The algorithm was successful with a probability of one half. In 1992, Deutsch and Jozsa produced a deterministic algorithm which was generalized to a function which takes bits for its input. Unlike Deutsch's algorithm, this algorithm required two function evaluations instead of only one.

Further improvements to the Deutsch–Jozsa algorithm were made by Cleve et al.,[2] resulting in an algorithm that is both deterministic and requires only a single query of . This algorithm is still referred to as Deutsch–Jozsa algorithm in honour of the groundbreaking techniques they employed.[2]

Algorithm

For the Deutsch–Jozsa algorithm to work, the oracle computing from must be a quantum oracle which does not decohere . In its computation, it cannot make a copy of , because that would violate the no cloning theorem. The point of view of the Deutsch-Jozsa algorithm of as an oracle means that it does not matter what the oracle does, since it just has to perform its promised transformation.

Deutsch-Jozsa algorithm quantum circuit

The algorithm begins with the bit state . That is, the first n bits are each in the state and the final bit is . A Hadamard gate is applied to each bit to obtain the state

,

where runs over all -bit strings, which each may be represented by a number from to . We have the function implemented as a quantum oracle. The oracle maps its input state to , where denotes addition modulo 2. Applying the quantum oracle gives;

.

For each is either 0 or 1. Testing these two possibilities, we see the above state is equal to

.

At this point the last qubit may be ignored and the following remains:

.

Next, we will have each qubit go through a Hadamard gate. The total transformation over all qubits can be expressed with the following identity:

( is the sum of the bitwise product). This results in

.

From this, we can see that the probability for a state to be measured is

The probability of measuring , corresponding to , is

which evaluates to 1 if is constant (constructive interference) and 0 if is balanced (destructive interference). In other words, the final measurement will be (all zeros) if and only if is constant and will yield some other state if is balanced.

Deutsch's algorithm

Deutsch's algorithm is a special case of the general Deutsch–Jozsa algorithm where n = 1 in . We need to check the condition . It is equivalent to check (where is addition modulo 2, which can also be viewed as a quantum XOR gate implemented as a Controlled NOT gate), if zero, then is constant, otherwise is not constant.

We begin with the two-qubit state and apply a Hadamard gate to each qubit. This yields

We are given a quantum implementation of the function that maps to . Applying this function to our current state we obtain

We ignore the last bit and the global phase and therefore have the state

Applying a Hadamard gate to this state we have

if and only if we measure and if and only if we measure . So with certainty we know whether is constant or balanced.

See also

References

  1. ^ a b David Deutsch & Richard Jozsa (1992). "Rapid solutions of problems by quantum computation". Proceedings of the Royal Society of London A. 439 (1907): 553–558. Bibcode:1992RSPSA.439..553D. CiteSeerX 10.1.1.655.5997. doi:10.1098/rspa.1992.0167. S2CID 121702767.
  2. ^ a b c R. Cleve; A. Ekert; C. Macchiavello; M. Mosca (1998). "Quantum algorithms revisited". Proceedings of the Royal Society of London A. 454 (1969): 339–354. arXiv:quant-ph/9708016. Bibcode:1998RSPSA.454..339C. doi:10.1098/rspa.1998.0164. S2CID 16128238.
  3. ^ Simon, Daniel (November 1994). "On the power of quantum computation". Proceedings 35th Annual Symposium on Foundations of Computer Science. pp. 116–123. doi:10.1109/SFCS.1994.365701. ISBN 0-8186-6580-7. S2CID 7457814.
  4. ^ Johansson, N.; Larsson, JÅ. (2017). "Efficient classical simulation of the Deutsch–Jozsa and Simon's algorithms". Quantum Inf Process (2017). 16 (9): 233. arXiv:1508.05027. Bibcode:2017QuIP...16..233J. doi:10.1007/s11128-017-1679-7. S2CID 28670540.
  5. ^ David Deutsch (1985). "Quantum Theory, the Church-Turing Principle and the Universal Quantum Computer". Proceedings of the Royal Society of London A. 400 (1818): 97–117. Bibcode:1985RSPSA.400...97D. CiteSeerX 10.1.1.41.2382. doi:10.1098/rspa.1985.0070. S2CID 1438116.

Read other articles:

Norwegia padaOlimpiadeKode IOCNORKONKomite Olimpiade dan Konfederasi Olahraga NorwegiaSitus webwww.idrettsforbundet.no (dalam bahasa Norwegia)Medali 188 174 158 Total 520 Penampilan Musim Panas1900190419081912192019241928193219361948195219561960196419681972197619801984198819921996200020042008201220162020Penampilan Musim Dingin192419281932193619481952195619601964196819721976198019841988199219941998200220062010201420182022Penampilan terkait lainnyaOlimpiade Interkala 1906 Berikut...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Khajidsuren Bolormaa Хажидсүрэн Болормаа Ibu Negara MongoliaMasa jabatan18 Juni 2009 – 10 Juli 2017PresidenTsakhiagiin Elbegdorj PendahuluOnongiin TsolmonPenggantiPetahana Informasi pribadiLahir18 Januari 1965 (umur 5...

 

4GulaliAsalJakarta, IndonesiaGenrePopTahun aktif(2014-12-28)28 Desember 2014 – 2019Artis terkaitJKT48AnggotaFeni Fitriyanti (sejak 7 Mei 2016)Mantan anggotaMartha Graciela (hingga 22 April 2016)Haruka Nakagawa (hingga 7 Mei 2016)Sinka Juliani (hingga 29 September 2019)Syahfira Angela NurhalizaAyana Shahab 4 Gulali adalah sub-grup pertama dari JKT48 yang dibentuk pada 28 Desember 2014. Sebelumnya, pihak official meminta bantuan fans untuk menyumbangkan ide yang menjadi nama proyek tersebut d...

Mountain in Chile Cerro MacáHighest pointElevation2,300 m (7,500 ft)[1][2]Prominence2,066 m (6,778 ft)[2]ListingUltraCoordinates45°06′21″S 73°10′09″W / 45.10583°S 73.16917°W / -45.10583; -73.16917[2]GeographyCerro MacáLocation of Cerro Maca LocationChileParent rangeAndesGeologyMountain typeStratovolcanoLast eruption1560 ± 110 years[3] Cerro Macá is a stratovolcano located to the north of t...

 

Patrick Henry's speech on the Virginia Resolves The history of Virginia in the American Revolution begins with the role the Colony of Virginia played in early dissent against the British government and culminates with the defeat of General Cornwallis by the allied forces at the Siege of Yorktown in 1781, an event that signaled the effective military end to the conflict. Numerous Virginians played key roles in the Revolution, including George Washington, Patrick Henry, and Thomas Jefferson. An...

 

Serial identification number given to a boat or ship This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (June 2013) (Learn how and when to remove this message) This article needs additional citations for verific...

Protists that live in saltwater or brackish water Marine protistsAlga (phytoplankton)Protozoan (zooplankton)Protists are usually one-celled microorganisms. They include algae (autotrophs which make their own food) and protozoans (heterotrophs which eat the algae for food). In recent years, researchers have discovered many protists are mixotrophs, which can function in both modes. Marine protists are defined by their habitat as protists that live in marine environments, that is, in the saltwat...

 

  提示:此条目页的主题不是中華人民共和國最高領導人。 中华人民共和国 中华人民共和国政府与政治系列条目 执政党 中国共产党 党章、党旗党徽 主要负责人、领导核心 领导集体、民主集中制 意识形态、组织 以习近平同志为核心的党中央 两个维护、两个确立 全国代表大会 (二十大) 中央委员会 (二十届) 总书记:习近平 中央政治局 常务委员会 中央书记处 �...

 

20th century Baltic Fleet warship class This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (January 2013) (Learn how and when to remove this message) Class overview NameIzyaslav class BuildersBocker and Lange, Reval, Estonia Operators  Imperial Russian Navy  Soviet Navy  Estonian Navy  Peruvian Navy Preceded ...

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)&#...

 

Alleged volunteer in the Real Irish Republican Army This article is about the alleged volunteer in the Real Irish Republican Army. For other people with the same name, see Liam Campbell (disambiguation). Liam Campbell is an Irish republican from Dundalk, County Louth. He was found liable under civil proceedings for the 1998 Omagh bombing, which killed 29 people. Graffiti in Limerick in support of Campbell Family His brother Sean died in December 1975, when a landmine he was preparing for an a...

 

Motor vehicle Bluebird Mach 1.1OverviewProduction0DesignerKen NorrisBody and chassisBody styledart-likeLayoutpaired nosewheels at the front, sft of the cockpit, with single wheels 8 ft (2.44 m) apart.PowertrainEngineTwin Bristol Siddeley BS.605 liquid-fuelled rocket enginesDimensionsLength27 ft 8 in (8.43 m)Width8 ft 6 in (2.59 m)Height3 ft 7 in (109 cm)Curb weight1,600 kg (3,500 lb) (projected) Bluebird Mach 1.1 (CMN-...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) تعجيم (بالإسبانية: Aljamización)‏ يفيد وزن التفعيل في العربية معاني منها السلب والتعدية. التعجيم عند أهل اللغة...

 

American judge For other people named George Williams, see George Williams (disambiguation). George Williams34th Mayor of PortlandIn officeJune 2, 1902 – June 2, 1905Preceded byHenry RoweSucceeded byHarry Lane32nd United States Attorney GeneralIn officeDecember 14, 1871 – April 25, 1875PresidentUlysses GrantPreceded byAmos AkermanSucceeded byEdwards PierrepontUnited States Senatorfrom OregonIn officeMarch 4, 1865 – March 3, 1871Preceded byBenjamin HardingSucce...

 

US Navy Fleet admiral (1878–1956) Admiral King redirects here. For other uses, see Admiral King (disambiguation). Ernest J. KingKing, March 1945Nickname(s)ErnieReyBorn(1878-11-23)23 November 1878Lorain, Ohio, U.S.Died25 June 1956(1956-06-25) (aged 77)Kittery, Maine, U.S.BuriedUnited States Naval Academy Cemetery in Annapolis, Maryland, U.S.Service/branchUnited States NavyYears of service1901–1956RankFleet AdmiralCommands heldChief of Naval OperationsUnited States FleetAtlantic F...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Februari 2023. Ekstra EA-400 adalah monoplane enam kursi bermesin tunggal diproduksi oleh Extra Flugzeugbau GmbH. EA-400 ini didukung oleh cairan didinginkan turbocharged piston Kontinental Voyager. Referensi EASA Type Certificate for EA 400 and EA 400-500 Diarsipka...

 

German installation, happening and conceptual artist HA SchultBorn (1939-06-24) 24 June 1939 (age 84)Parchim, GermanyKnown forObject and performance art Hans-Jürgen Schult (born 24 June 1939), known professionally as HA Schult, is a German installation, happening and conceptual artist known primarily for his object and performance art and more specifically his work with garbage. He is one of the first artists to deal with the world's ecological imbalance in his work[1][...

 

أبو لؤلؤة المجوسي (بالفارسية: پیروز نهاوندی)‏  ضريح أبي لؤلؤة المجوسي في مدينة كاشان الإيرانية. معلومات شخصية مكان الميلاد نهاوند،  وكاشان  الوفاة 3 نوفمبر 644   المدينة المنورة (وفقا للرواية السنية وبعض الروايات الشيعية). كاشان، إيران (وفقا لبعض الروايات الشيعية). ...

History United States NameUSS Teaberry NamesakeAny of several American evergreen plants which bear white, bell-shaped flowers and spicy red berries BuilderJohn H. Mathis & Company, Camden, New Jersey Laid down25 October 1940 as YN-29 Launched24 May 1941 Sponsored byMiss Mary C. Howard Commissionedas USS Teaberry (YN-29), date unknown Recommissioned19 April 1952 Decommissioned14 December 1946, at Astoria, Oregon, and on 7 July 1961 In service16 March 1942 as Teaberry (YN-29) ReclassifiedA...

 

سامي خضيرة Sami Khedira معلومات شخصية الاسم الكامل سامي خضيرة[1] الميلاد 4 أبريل 1987 (العمر 37 سنة)[2]شتوتغارت الطول 1.89 م (6 قدم 2 1⁄2 بوصة)[3] مركز اللعب وسط الجنسية ألماني أخوة وأخوات راني خضيرة  مسيرة الشباب سنوات فريق 1992–1995 تي في أفينجين 1995–2004 شتوتغارت ال...