{"id":4854,"date":"2024-10-09T14:58:22","date_gmt":"2024-10-09T19:58:22","guid":{"rendered":"https:\/\/baylor.ai\/?p=4854"},"modified":"2024-10-09T14:58:22","modified_gmt":"2024-10-09T19:58:22","slug":"learning-robust-observable-to-address-noise-in-quantum-machine-learning","status":"publish","type":"post","link":"https:\/\/lab.rivas.ai\/?p=4854","title":{"rendered":"Learning Robust Observable to Address Noise in Quantum Machine Learning"},"content":{"rendered":"\n\n\n\n\n<p>In the rapidly evolving field of Quantum Machine Learning (QML), one of the most pressing challenges is handling\u00a0noise\u2014the errors that naturally arise in quantum systems, particularly in the\u00a0Noisy Intermediate-Scale Quantum (NISQ)\u00a0era. But what if we could teach quantum systems to &#8220;learn&#8221; and address noise head-on? Our paper &#8220;<a href=\"https:\/\/arxiv.org\/pdf\/2409.07632\">Learning Robust Observable to Address Noise in Quantum Machine Learning<\/a>&#8221;  explores an approach to mitigating this issue by focusing on learning\u00a0robust observables. These observables can withstand the effects of noise, improving the performance of QML models in noisy environments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding the Problem of Noise in QML<\/h3>\n\n\n\n<p>In quantum systems,&nbsp;noise&nbsp;comes from imperfections in quantum gates, interactions with the environment, and decoherence\u2014making quantum computations highly error-prone. When applying QML, this noise leads to inaccuracies in predictions and model training. This research aims to identify observables that remain&nbsp;invariant&nbsp;or change minimally even in the presence of noise, thus offering more reliable outputs from quantum systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Framework: Learning Robust Observables<\/h2>\n\n\n\n<p>We propose a\u00a0machine learning-based framework\u00a0to find observables that are inherently resistant to various types of noise. To tackle this, we propose training a machine learning model to identify observables that remain invariant or less susceptible to noise. The model learns from the behavior of quantum states passing through noisy channels and adjusts to find robust observables that maintain their integrity despite noise. We illustrate the problem using\u00a0a Bell state\u00a0(a well-known quantum state), subjecting it to a\u00a0depolarization channel\u00a0to simulate noise.<\/p>\n\n\n\n<p>The process can be formalized as an optimization problem where the goal is to minimize the change in the expectation value of the observable when the quantum state is subject to noise. Mathematically, this can be expressed as minimizing:<\/p>\n\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 26px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-3cfa5f0083acaa8744a5fc03feba12bf_l3.png\" height=\"26\" width=\"212\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#109;&#105;&#110;&#8289;&#95;&#123;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#125;&#92;&#109;&#97;&#116;&#104;&#98;&#98;&#123;&#69;&#125;&#91;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#124;&#32;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#123;&#92;&#112;&#115;&#105;&#125;&#124;&#32;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#32;&#124;&#123;&#92;&#112;&#115;&#105;&#125;&#32;&#92;&#114;&#97;&#110;&#103;&#108;&#101;&#32;&#45;&#32;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#123;&#92;&#112;&#115;&#105;&#125;&#32;&#124;&#32;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#95;&#110;&#32;&#124;&#123;&#92;&#112;&#115;&#105;&#125;&#32;&#92;&#114;&#97;&#110;&#103;&#108;&#101;&#32;&#93;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Here, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-44dad1c4e1052d7a8f304c6031db469e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> is a Pauli-Z observable, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-d24bf98597c1089668a5eb3414c50a55_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"21\" style=\"vertical-align: -3px;\"\/> is an observable we are trying to learn.  The expectation value is computed before and after noise is introduced. The goal is to find an observable that minimizes this difference, effectively learning a robust observable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Toy Example<\/h2>\n\n\n\n<p>In our framework, we train QML models by simulating quantum systems across different noise channels, including\u00a0depolarization, amplitude damping, phase damping, bit flip, and\u00a0phase flip\u00a0channels. The objective is to learn observables for various quantum circuits\u2014such as\u00a0Bell state circuits,\u00a0Quantum Fourier Transform circuits, and\u00a0highly entangled random circuits\u2014that can remain robust across different noise levels. The framework demonstrated that it could identify an observable that better retains the state&#8217;s properties under noisy conditions, proving that robust observables can be learned effectively.<\/p>\n\n\n\n<p>&nbsp;Consider the following example:<\/p>\n\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 86px;\"><span class=\"ql-right-eqno\"> (1) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-5018ff70ac94061ab1154fc9a825a64f_l3.png\" height=\"86\" width=\"608\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#79;&#95;&#123;&#111;&#112;&#116;&#105;&#109;&#105;&#122;&#101;&#100;&#125;&#32;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#112;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#48;&#46;&#56;&#48;&#52;&#32;&#38;&#32;&#48;&#46;&#48;&#56;&#54;&#32;&#43;&#32;&#48;&#46;&#49;&#51;&#56;&#105;&#32;&#38;&#32;&#48;&#46;&#55;&#51;&#57;&#32;&#43;&#32;&#48;&#46;&#48;&#53;&#48;&#105;&#32;&#38;&#32;&#48;&#46;&#48;&#55;&#48;&#32;&#43;&#32;&#48;&#46;&#49;&#51;&#50;&#105;&#92;&#92;&#32;&#48;&#46;&#48;&#56;&#54;&#32;&#45;&#32;&#48;&#46;&#49;&#51;&#56;&#105;&#32;&#38;&#32;&#48;&#46;&#51;&#48;&#50;&#32;&#38;&#32;&#48;&#46;&#48;&#56;&#55;&#32;&#45;&#32;&#48;&#46;&#49;&#50;&#50;&#105;&#32;&#38;&#32;&#48;&#46;&#50;&#55;&#55;&#32;&#43;&#32;&#48;&#46;&#48;&#49;&#57;&#105;&#32;&#92;&#92;&#48;&#46;&#55;&#51;&#57;&#32;&#45;&#32;&#48;&#46;&#48;&#53;&#48;&#105;&#32;&#38;&#32;&#48;&#46;&#48;&#56;&#55;&#32;&#43;&#32;&#48;&#46;&#49;&#50;&#50;&#105;&#32;&#38;&#32;&#49;&#46;&#50;&#53;&#51;&#32;&#38;&#32;&#48;&#46;&#49;&#51;&#51;&#32;&#43;&#32;&#48;&#46;&#50;&#49;&#53;&#105;&#32;&#92;&#92;&#32;&#48;&#46;&#48;&#55;&#48;&#32;&#45;&#32;&#48;&#46;&#49;&#51;&#50;&#105;&#32;&#38;&#32;&#48;&#46;&#50;&#55;&#55;&#32;&#45;&#32;&#48;&#46;&#48;&#49;&#57;&#105;&#32;&#38;&#32;&#48;&#46;&#49;&#51;&#51;&#32;&#45;&#32;&#48;&#46;&#50;&#49;&#53;&#105;&#32;&#38;&#32;&#48;&#46;&#52;&#55;&#48;&#92;&#101;&#110;&#100;&#123;&#112;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>We computed its expectation value for Bell&#8217;s states under varying degrees of depolarization, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-0e5f0079abaa4b8614e03c42af6baa23_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;&#32;&#92;&#105;&#110;&#32;&#91;&#48;&#44;&#49;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"68\" style=\"vertical-align: -5px;\"\/>. The expectation values of the observable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-ef5b5879b9be2f1974464c267e488edc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#79;&#95;&#123;&#111;&#112;&#116;&#105;&#109;&#105;&#122;&#101;&#100;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"75\" style=\"vertical-align: -6px;\"\/> on the depolarized Bell state as a function of the depolarization rate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-3bf85f1087e9fbed3a319341134ac1a2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"10\" style=\"vertical-align: -4px;\"\/> are plotted in the following figure.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"480\" src=\"https:\/\/baylor.ai\/wp-content\/uploads\/2024\/10\/bell_sate_noise_optimized.png\" alt=\"\" class=\"wp-image-4872\" style=\"width:930px;height:auto\" srcset=\"https:\/\/lab.rivas.ai\/wp-content\/uploads\/2024\/10\/bell_sate_noise_optimized.png 640w, https:\/\/lab.rivas.ai\/wp-content\/uploads\/2024\/10\/bell_sate_noise_optimized-300x225.png 300w, https:\/\/lab.rivas.ai\/wp-content\/uploads\/2024\/10\/bell_sate_noise_optimized-144x108.png 144w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>In this figure, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-761fd3ca09ad29ba6f86aa02ff540254_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#90;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> is the Pauli-Z matrix, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-d4ee28752517d6062a3ca0314890342d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#88;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> is the Pauli-X matrix, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-379db1fc1f84b7ce56b92463183097f9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#72;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> is the Hadamard gate, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-25b206f25506e6d6f46be832f7119ffa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> is an arbitrary observable, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-ef5b5879b9be2f1974464c267e488edc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#79;&#95;&#123;&#111;&#112;&#116;&#105;&#109;&#105;&#122;&#101;&#100;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"75\" style=\"vertical-align: -6px;\"\/> is a learned single qubit Hermitian measurement operator. This toy example shows that the expectation value of the custom observable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-ef5b5879b9be2f1974464c267e488edc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#79;&#95;&#123;&#111;&#112;&#116;&#105;&#109;&#105;&#122;&#101;&#100;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"75\" style=\"vertical-align: -6px;\"\/> on the depolarized Bell state remains constant as the depolarization rate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rivas.ai\/wp-content\/ql-cache\/quicklatex.com-3bf85f1087e9fbed3a319341134ac1a2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"10\" style=\"vertical-align: -4px;\"\/> increases.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Key Findings<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Custom observables&nbsp;designed through this method demonstrated remarkable stability against noise, especially when compared to traditional observables like Pauli matrices.<\/li>\n\n\n\n<li>In noisy channels like depolarization, the learned observables maintained a more consistent expectation value, while traditional observables exhibited greater variance.<\/li>\n\n\n\n<li>The approach can be applied to various types of quantum circuits, making it versatile and broadly applicable in enhancing the reliability of QML models.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Implications for Quantum Machine Learning<\/h3>\n\n\n\n<p>This study offers a promising avenue for improving the\u00a0accuracy\u00a0and\u00a0stability\u00a0of QML in real-world applications. By learning robust observables, QML systems can perform more reliably, even as we contend with the inherent noise in current quantum computers. By using learned observables, the performance of quantum machine learning models can be made more stable, even when operating in the inherently noisy NISQ regime. This has implications for advancing practical applications of quantum computing, especially as we seek to scale up quantum algorithms in the near-term.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Looking Ahead: The Future of Noise-Resistant QML<\/h3>\n\n\n\n<p>The results from this paper open up exciting possibilities for future work. Imagine a future where every quantum machine learning algorithm can autonomously adjust to different noisy environments by learning which observables to trust. This would make QML models more resilient and, ultimately, more practical for real-world applications.<\/p>\n\n\n\n<p>One immediate future direction is testing the framework on larger systems and more complex noise models. Additionally, combining this method with error correction techniques could further enhance the stability of QML algorithms.<\/p>\n\n\n\n<p>For a detailed exploration of the methodology and findings, read the full paper at: <\/p>\n\n\n\n<p><a href=\"https:\/\/arxiv.org\/pdf\/2409.07632\">https:\/\/arxiv.org\/pdf\/2409.07632<\/a><\/p>\n\n\n\n<p><strong>References<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Khanal, Bikram, and Pablo Rivas. &#8220;Learning Robust Observable to Address Noise in Quantum Machine Learning.&#8221;&nbsp;<em>arXiv preprint arXiv:2409.07632<\/em>&nbsp;(2024).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">About the Author<\/h3>\n\n\n\n<p><strong><a href=\"https:\/\/cv-psi-two.vercel.app\">Bikram Khanal<\/a><\/strong>&nbsp;is a Ph.D. student at Baylor University, specializing in Quantum Machine Learning and Natural Language Processing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the rapidly evolving field of Quantum Machine Learning (QML), one of the most pressing challenges is handling\u00a0noise\u2014the errors that naturally arise in quantum systems, particularly in the\u00a0Noisy Intermediate-Scale Quantum (NISQ)\u00a0era. But what if we could teach quantum systems to &#8220;learn&#8221; and address noise head-on? Our paper &#8220;Learning Robust Observable to Address Noise in Quantum &hellip; <a href=\"https:\/\/lab.rivas.ai\/?p=4854\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Learning Robust Observable to Address Noise in Quantum Machine Learning<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[4,7],"class_list":["post-4854","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ai-lab","tag-quantum-ml"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/posts\/4854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4854"}],"version-history":[{"count":24,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/posts\/4854\/revisions"}],"predecessor-version":[{"id":5002,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=\/wp\/v2\/posts\/4854\/revisions\/5002"}],"wp:attachment":[{"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rivas.ai\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}