[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-397338-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-397338-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","quantum-algorithms-and-oracles-with-the-scalable-zx-calculus","Quantum Algorithms and Oracles with the Scalable ZX-calculus","","Introduces the ZX-calculus as a graphical language for quantum computing and explains how scalable notations address limitations of low-level graphical descriptions. Presents a framework in which scalable ZX-calculus diagrams provide a formal, intuitive, and compact way to describe and prove quantum algorithms. Demonstrates the approach by giving graphical, proof-oriented formulations of standard oracle-based algorithms including Deutsch-Jozsa, Bernstein-Vazirani, Simon, and Grover, leveraging diagrammatic quantum oracles and their graphical axiomatizations.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/quantum-algorithms-and-oracles-with-the-scalable-zx-calculus/397338/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/quantum-algorithms-and-oracles-with-the-scalable-zx-calculus/397338.png","ImageObject",300,407,{"name":42,"@type":43},"McGucket","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-09-26",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",12,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What role does scalable ZX-calculus play in describing quantum algorithms?","Question",{"text":63,"@type":64},"Scalable notations provide a higher-level graphical viewpoint while preserving the topological rewriting rules of the ZX-calculus, enabling formal, intuitive, and compact descriptions of quantum algorithms.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Which oracle-based quantum algorithms are demonstrated in the paper?",{"text":68,"@type":64},"The paper considers Deutsch-Jozsa, Bernstein-Vazirani, Simon, and Grover algorithms, and shows they can be described and proved graphically using scalable ZX-calculus.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the paper model quantum processes in ZX-calculus diagrams?",{"text":72,"@type":64},"It uses string diagrams as arrows in a C-colored prop, representing maps with colored string diagrams and expressing composition and tensoring through diagrammatic plugging and juxtaposition.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},397338,1790621969,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},1236954412713,"https://us-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Quantum Algorithms and Oracles with the Scalable  \nZX-calculus  \nTitouan Carette Yohann D’Anello Simon Perdrix  \nUniversit´e de Lorraine, CNRS, Inria, LORIA  \nF 54000 Nancy, France  \nThe ZX-calculus was introduced as a graphical language able to represent speci􀀂c quantum primitives in an intuitive way. The recent completeness results have shown the theoretical possibility of a purely graphical description of quantum processes. However, in practice, such approaches are limited by the intrinsic low level nature of ZX calculus. The scalable notations have been proposed asan attempt to recover an higher level point of view while maintaining the topological rewriting rules of a graphical language. We demonstrate that the scalable ZX-calculus provides a formal, intuitive, and compact framework to describe and prove quantum algorithms. As a proof of concept, we consider the standard oracle-based quantum algorithms: Deutsch-Jozsa, Bernstein-Vazirani, Simon, and Grover algorithms, and we show they can be described and proved graphically.  \nIntroduction  \nThe ZX-calculus is a graphical language for quantum computing [12] . This is a formal but also intuitive language which captures fundamental properties of quantum mechanics. Contrary to the quantum circuit formalism, the ZX-calculus is equipped with a complete equational theory [22, 20, 23] . This theoretical result makes the ZX-calculus a ideal tool for multiple applications in quantum computing. Among others we can cite the optimisation of quantum circuits [24, 15, 3] and the design of fault tolerant quantum computation [5, 16, 21, 4] . In this paper, we want to investigate one of the initial motivations of the ZX-calculus: make the ZX-calculus is a companion language for the description and the proof of quantum algorithms. We consider the standard oracle-based quantum algorithms: Deutsch-Jozsa [14], Bernstein-Vazirani [6], Simon [26], and Grover [18] algorithms and show they can be formulated and proved graphically. Our approach relies on the diagrammatic description of the quantum oracles and, in particular, a graphical axiomatisation of the various promises the oracles satisfy.  \nA section of the ”Dodo book” [13] is dedicated to the description of quantum algorithms in ZXcalculus (in particular Deutsch-Jozsa and Grover), and a few articles [28, 27, 17] address the diagrammatic description of quantum oracles, but we show that the recent developments in the formalism, mainly the scalable construction [7, 9] and the discard construction [8] allow for more self-contained, accurate and compact ZX-based proofs of quantum algorithms. Notice that depending on the algorithm we also use generators of the ZH-calculus [1] a variant of the ZX-calculus.  \n1 The ZX-calculus  \nIn this section we introduce various graphical tools. We use the ZX-calculus of [12] alongside the Hharvestman of [1] . We work with the extension to mixed state quantum mechanics of [8] and the scalable notations of [7] . Thus, the language could be denoted SZXH -calculus, for simplicity we will rather say ZX-calculus.  \nM. Backens, C. Heunen (Eds.): Quantum Physics and Logic (QPL) 2021 EPTCS 343, 2021, pp. 193–209, doi:10.4204/EPTCS.343.10  \n© T. Carette, Y. D’Anello & S. Perdrix This work is licensed under the Creative Commons Attribution License.  \n194 Quantum Algorithmsand Oracles with the Scalable ZX-calculus  \n1.1 String diagrams  \nOur diagrams are arrows in a C-colored prop, i.e., a small strict symmetric monoidal category whose monoid of objects is spanned by a set C. We represent maps as colored string diagrams. A map f : a → bis depicted as a box with input and output wires:  ...  f   . By convention, we do not write the colors  \nof the wires if this is clear from context. We do not draw wires of tensor unit type. We draw our diagrams from left to right. The composition g◦ f : a → c of two diagrams f : a → b and g : b → c is depicted by plugging diagrams:  \n\n| .\u003Cbr>.\u003Cbr>. | f | .\u003Cbr>.\u003Cbr>. | g | .\u003Cbr>.\u003Cbr>. |\n| -","cbCaiuJpmVFssO73","https://ap.wps.com/l/cbCaiuJpmVFssO73","pdf",254259,17,"English","# Introduction\n## The ZX-calculus as a companion language\n# The ZX-calculus\n## String diagrams\n## Scalable notations","[{\"question\":\"What role does scalable ZX-calculus play in describing quantum algorithms?\",\"answer\":\"Scalable notations provide a higher-level graphical viewpoint while preserving the topological rewriting rules of the ZX-calculus, enabling formal, intuitive, and compact descriptions of quantum algorithms.\"},{\"question\":\"Which oracle-based quantum algorithms are demonstrated in the paper?\",\"answer\":\"The paper considers Deutsch-Jozsa, Bernstein-Vazirani, Simon, and Grover algorithms, and shows they can be described and proved graphically using scalable ZX-calculus.\"},{\"question\":\"How does the paper model quantum processes in ZX-calculus diagrams?\",\"answer\":\"It uses string diagrams as arrows in a C-colored prop, representing maps with colored string diagrams and expressing composition and tensoring through diagrammatic plugging and juxtaposition.\"}]","Quantum Algorithms and Oracles with the Scalable ZX-calculus | PDF",1790461150,43,[148,152,156,160],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/51f86ed8fef8a1126e1c8a962a2561e8.webp",983,1272,{"page_no":26,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d7982bac2f558228e2469bcf2f1d2559.webp",982,1270,{"page_no":30,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d8bffb3cca3c4f7c6a556c6160d8a8aa.webp",981,1269,{"page_no":33,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/555c976b1a481b5b3a32bcb355aaa2cc.webp",980,1268]