{"id":220,"date":"2025-05-04T18:38:27","date_gmt":"2025-05-04T22:38:27","guid":{"rendered":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/?p=220"},"modified":"2025-05-04T18:39:58","modified_gmt":"2025-05-04T22:39:58","slug":"personal-project-update","status":"publish","type":"post","link":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/2025\/05\/04\/personal-project-update\/","title":{"rendered":"Personal Project Update"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">5\/3\/2025 <\/h4>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Project Recap<\/strong><\/h3>\n\n\n\n<p>I\u2019m exploring a way to make quantum computers more reliable by tuning a single setting &#8211; the rotation angle of the recovery gate &#8211; in an entanglement\u2011assisted quantum error correction (EAQEC) code. By simulating noisy quantum circuits in IBM\u2019s Qiskit and running a \u201cgrid search\u201d over different angles, im trying to find the setting that best counters noise and maximizes the accuracy (fidelity) of the state. As noise varies between different applications of quantum computing, I am not out to prove an exact code or situation in which this test would best for optimization. Rather, I&#8217;m simply trying to show how there are so many changes we can make to software optimization of quantum computing, and that any diligent learner &#8211; potentially even a high school student &#8211; can learn about the basics and help contribute to research. <\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\"><strong>Where I Am Now<\/strong><\/h3>\n<\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\"><div class=\"wp-block-media-text__content\">\n<p><strong>Code Iterations:<\/strong> I went through three major versions of my simulation code. Each time, I refined the circuit structure, noise model, and data\u2011collection methods.<\/p>\n\n\n\n<p><strong>Final Prototype:<\/strong> The current script simulates a 4\u2011qubit EAQEC code under depolarizing (and phase\u2011flip) noise, loops over 80+ rotation angles, records the fidelity each time, and plots fidelity vs. angle.<\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"661\" src=\"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-1024x661.png\" alt=\"\" class=\"wp-image-222 size-full\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-1024x661.png 1024w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-300x194.png 300w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-768x495.png 768w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-1536x991.png 1536w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/fidelity_vs_angle_peaks1-2048x1321.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\"><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\"><strong>Challenges &amp; Struggles<\/strong><\/h3>\n\n\n\n<p><strong>Bad optimization for data analysis:<\/strong> In some testing curves were frustratingly flat under depolarizing noise (no rotation appeared to help) or too noisy to reveal clear peaks under phase\u2011flip noise.<\/p>\n\n\n\n<p><strong>Complexity:<\/strong> Trying to learn Quantum computing and how each concept actually works was extremely confusing and I ended up simply testing without completely understanding the process.<\/p>\n\n\n\n<p><strong>AI Ambiguity:<\/strong> I leaned heavily on AI assistance to write and debug code. AI often produced plausible but incorrect results, requiring careful review and multiple prompt\u2011engineering iterations. I had to look over each result and ensure that the results were replicable<\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"603\" src=\"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383-1024x603.png\" alt=\"\" class=\"wp-image-224 size-full\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383-1024x603.png 1024w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383-300x177.png 300w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383-768x452.png 768w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383-1536x904.png 1536w, https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-content\/uploads\/sites\/18\/2025\/05\/image_2025-05-04_153857383.png 1638w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div style=\"height:46px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Key Lessons Learned<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Small tweaks might matter sometimes<\/strong> Even tuning one gate angle can sometimes yield big performance changes\u2014but sometimes the code is already so effective (for the |+\u27e9 test state) that there\u2019s little room for improvement.<\/li>\n\n\n\n<li><strong>Simulation vs. Real hardware:<\/strong> Unseeded noise sims remind me that actual quantum noise is random; true hardware could behave differently.<\/li>\n\n\n\n<li><strong>AI Is a Tool, Not a Panacea:<\/strong> AI accelerated coding but also introduced errors. I learned to double\u2011check every result and understand the logic behind each code snippet.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:85px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Next Steps<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Understand the Coding process completely<\/strong><\/li>\n\n\n\n<li><strong>Understand the simulation results and run multiple simulations on VScode, hopefully so I can present it to people of all sorts of knowledge levels (even myself as I am a complete beginner)<\/strong><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>5\/3\/2025 Project Recap I\u2019m exploring a way to make quantum computers more reliable by tuning a single setting &#8211; the rotation angle of the recovery gate &#8211; in an entanglement\u2011assisted quantum error correction (EAQEC) code. By simulating noisy quantum circuits in IBM\u2019s Qiskit and running a \u201cgrid search\u201d over different angles, im trying to find [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":3,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":226,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/posts\/220\/revisions\/226"}],"wp:attachment":[{"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/vincentz\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}