[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-397546-105":59,"doc-detail-397546-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","optimising-quantum-circuits-is-generally-hard","Optimising quantum circuits is generally hard","","Optimising the number of gates in quantum circuits is essential for efficient quantum computation. This paper proves that many gate-optimisation problems for approximately universal quantum circuits are NP-hard. It shows NP-hardness for optimising T-count and T-depth in Clifford+T circuits via reduction to Boolean satisfiability, and extends NP-hardness to CNOT, Hadamard, and Toffoli gate counts in related settings. The work also derives upper bounds for T-count and Toffoli-count within NPNQP and proves hardness for optimising G-count for any non-Clifford gate G under approximate unitary matching.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/optimising-quantum-circuits-is-generally-hard/397546/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/optimising-quantum-circuits-is-generally-hard/397546.png","ImageObject",300,407,{"name":92,"@type":93},"404brain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-09-26",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why is gate optimisation important in quantum circuit design?","Question",{"text":113,"@type":114},"Efficient quantum computations require minimising costly operations in the underlying circuit. The paper explains that depth and multi-qubit gates such as CNOT are especially important because noise accumulates and multi-qubit gates tend to be more noisy than single-qubit operations.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What does the paper prove about T-count and T-depth optimisation?",{"text":118,"@type":114},"The paper shows that optimising T-count or T-depth in Clifford+T circuits is NP-hard by reducing the optimisation problem to Boolean satisfiability.",{"name":120,"@type":111,"acceptedAnswer":121},"Does the paper show hardness beyond T gates?",{"text":122,"@type":114},"Yes. Using similar arguments, it establishes NP-hardness for optimising the number of CNOT gates, Hadamard gates, and the number of Toffoli gates in reversible classical circuits, and it further generalises to optimising G-count for any non-Clifford gate G under approximate matching criteria.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},397546,1790487421,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":105,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},1099529839291,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","arXiv :2310 .05958v3 [ quant-ph] 12 Aug 2024  \nOptimising quantum circuits is generally hard  \nJohn van de Wetering 1 and Matthew Amy2  \n1 University of Amsterdam  \n2 Simon Fraser University August 12th 2024  \nIn order for quantum computations to be done as efficiently as possible it is important to optimise the number of gates used in the underlying quantum circuits. In this paper we find that many gate optimisation problems for approximately universal quantum circuits are NP-hard. In particular, we show that optimising the T-count or T-depth in Clifford+T circuits, which are important metrics for the computational cost of executing fault-tolerant quantum computations, is NP-hard by reducing the problem to Boolean satisfiability. With a similar argument we show that optimising the number of CNOT gates or Hadamard gates in a Clifford+T circuit is also NP-hard. Again varying the same argument we also establish the hardness of optimising the number of Toffoli gates in a reversible classical circuit. We find an upper bound to the problems of T-count and Toffoli-count of NPNQP. Finally, we also show that for any non-Clifford gate G it is NP-hard to optimise the G-count over the Clifford+G gate set, where we only have to match the target unitary within some small distance in the operator norm.  \n1 Introduction  \nApplications of quantum computers can roughly be divided into two domains: those which work on relatively small and noisy devices, and those which work only on large-scale faulttolerant machines. In the first category exist for instance a variety of variational algorithms that combine classical optimization with small, parameterized quantum circuits [8, 27] . For these circuits, noise accumulates over time and after every operation. It is then crucial to optimise the depth of the circuit, corresponding to the runtime of the computation, as well as the number of multi-qubit operations (like CNOT gates), as those gates tend tobe much more noisy than single-qubit operations.  \nIn the second category we find most of the proven speedups of quantum computers, like applications of Grover’s [17] or Shor’s algorithm [24] or solving quantum chemistry problems [5] . For such large-scale quantum computations we require a way to combat the accumulation of errors. This can be done by using quantum error correction [25] . This allows us to distribute the logical quantum information over multiple physical qubits, which we can combine with clever measurements in order to detect and correct potential errors. If we want to do operations on the encoded logical information, we however need to implement this in such a way on the physical hardware that it does not spread errors  \nJohn van de Wetering: [john@vdwetering. name](john@vdwetering. name) , [http://vdwetering. name](http://vdwetering. name)[ ](http://vdwetering. name)Matthew Amy: [meamy@sfu.ca](meamy@sfu.ca) , [https://www.cs.sfu.ca/ meamy/](https://www.cs.sfu.ca/ meamy/)  \nin an uncorrectable way. That is, we need to implement the logical operations in a faulttolerant manner. This puts restrictions on the types of gates we can use, and it makes certain gates much more expensive than they would be when implemented on a physical level [10] . In particular, in many fault-tolerant architectures non-Clifford gates are much more expensive to implement than Clifford gates. A common choice of non-Clifford gate to make the gate set universal is the T gate diag(1, ei ~~π~~4 ) . While in recent works ways to implement the T gate (via magic state distillation) have been improved significantly, their cost still encompasses a large part of all resources required for a computation [14, 15 , 20 , 21] .  \nSimplifying the story somewhat, we can hence say that optimising a fault-tolerant quantum circuit means optimising the number of T gates, known as the T-count, required to implement the circuit. There have hence been a multitude of results, both heuristics and optimal algorithms, for optimising the T-c","cbCaidsYkf6E7oYV","https://ap.wps.com/l/cbCaidsYkf6E7oYV","pdf",457719,"English","# Introduction\n## Statement of results","[{\"question\":\"Why is gate optimisation important in quantum circuit design?\",\"answer\":\"Efficient quantum computations require minimising costly operations in the underlying circuit. The paper explains that depth and multi-qubit gates such as CNOT are especially important because noise accumulates and multi-qubit gates tend to be more noisy than single-qubit operations.\"},{\"question\":\"What does the paper prove about T-count and T-depth optimisation?\",\"answer\":\"The paper shows that optimising T-count or T-depth in Clifford+T circuits is NP-hard by reducing the optimisation problem to Boolean satisfiability.\"},{\"question\":\"Does the paper show hardness beyond T gates?\",\"answer\":\"Yes. Using similar arguments, it establishes NP-hardness for optimising the number of CNOT gates, Hadamard gates, and the number of Toffoli gates in reversible classical circuits, and it further generalises to optimising G-count for any non-Clifford gate G under approximate matching criteria.\"}]","Optimising quantum circuits is generally hard | PDF",1790463006,28,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/27e44ed0b9ce0c9ccb4ac3915a2a785d.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/567d0529affb6e00ed339864c6960b6d.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f5aa62bc5d02e8478a67d0a1979850c4.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ffe3b59aa089047fa074e94c16c9b7d6.webp",980,1385]