<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Into Quantum]]></title><description><![CDATA[Explore Quantum Computing from the ground up]]></description><link>https://www.intoquantum.pub</link><image><url>https://substackcdn.com/image/fetch/$s_!hbaj!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png</url><title>Into Quantum</title><link>https://www.intoquantum.pub</link></image><generator>Substack</generator><lastBuildDate>Tue, 28 Apr 2026 07:19:30 GMT</lastBuildDate><atom:link href="https://www.intoquantum.pub/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Dr. Ashish Bamania]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[intoquantum@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[intoquantum@substack.com]]></itunes:email><itunes:name><![CDATA[Dr. Ashish Bamania]]></itunes:name></itunes:owner><itunes:author><![CDATA[Dr. Ashish Bamania]]></itunes:author><googleplay:owner><![CDATA[intoquantum@substack.com]]></googleplay:owner><googleplay:email><![CDATA[intoquantum@substack.com]]></googleplay:email><googleplay:author><![CDATA[Dr. Ashish Bamania]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[⚡️ Flash Sale for "LLMs In 100 Images"]]></title><description><![CDATA[Only 22 hours left...]]></description><link>https://www.intoquantum.pub/p/flash-sale-for-llms-in-100-images</link><guid isPermaLink="false">https://www.intoquantum.pub/p/flash-sale-for-llms-in-100-images</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 27 Apr 2026 21:25:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!8gSJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hey there! &#128075;&#127995;</p><p>&#127873; A flash sale just went live for &#8220;<strong>LLMs In 100 Images</strong>&#8221;!</p><p>I am offering you a <strong>40% discount</strong> on the book for the <strong>NEXT 24 hours! </strong>(It&#8217;s actually <strong>22 hours now</strong>.)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8gSJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8gSJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 424w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 848w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 1272w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8gSJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png" width="1200" height="628" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:628,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69514,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/195679845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!8gSJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 424w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 848w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 1272w, https://substackcdn.com/image/fetch/$s_!8gSJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F422f4983-96b0-4c52-8692-864e945e9c7e_1200x628.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It won&#8217;t be a better time to get the book if you&#8217;ve been thinking about it.</p><p>Here&#8217;s your link:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/40FLASH&quot;,&quot;text&quot;:&quot;Grab your 40% discount&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/llmbook/40FLASH"><span>Grab your 40% discount</span></a></p><p><strong>&#9200; This offer ends in the next 22 hours, so don&#8217;t wait too long.</strong></p><p>Cheers,<br>Ashish</p>]]></content:encoded></item><item><title><![CDATA[How to prove that a matrix is Unitary?]]></title><description><![CDATA[Essential Linear algebra lessons for Quantum engineering.]]></description><link>https://www.intoquantum.pub/p/how-to-prove-that-a-matrix-is-unitary</link><guid isPermaLink="false">https://www.intoquantum.pub/p/how-to-prove-that-a-matrix-is-unitary</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 16 Apr 2026 11:31:15 GMT</pubDate><enclosure url="https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw"><img src="https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1200" height="675.2" data-attrs="{&quot;src&quot;:&quot;https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1688,&quot;width&quot;:3000,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a black and white image of an american flag&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="a black and white image of an american flag" title="a black and white image of an american flag" srcset="https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501219345-06ea2bf3eb80?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://unsplash.com/photos/a-black-and-white-image-of-an-american-flag-GVGnKgEomlw">Source</a></figcaption></figure></div><p>In the <a href="https://www.intoquantum.pub/p/5-questions-in-quantum-linear-algebra">last post</a>, I shared with you 5 questions that will help you become great at linear algebra and ace Quantum computing. </p><p>Let&#8217;s dive into the solution to the first one.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h3><strong>Question 1</strong></h3><p>Given the following matrix <code>U</code>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ud_J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 424w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 848w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1272w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png" width="1350" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1350,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15928,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 424w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 848w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1272w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><ol><li><p>Prove that <code>U</code> is a Unitary matrix.</p></li><li><p>Next, apply <code>U</code> to the state <code>|0&gt;</code> and express the resulting state in Dirac notation and vector form.</p></li><li><p>Finally, compute the measurement probabilities in the computational basis.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h3><strong>Solution 1</strong></h3><h4><strong>1.1: </strong>Prove that <code>U</code> is a unitary matrix.</h4><p>A Unitary matrix is a square matrix whose conjugate transpose is its inverse.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yFop!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yFop!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 424w, https://substackcdn.com/image/fetch/$s_!yFop!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 848w, https://substackcdn.com/image/fetch/$s_!yFop!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 1272w, https://substackcdn.com/image/fetch/$s_!yFop!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yFop!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png" width="1300" height="68" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:68,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9220,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yFop!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 424w, https://substackcdn.com/image/fetch/$s_!yFop!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 848w, https://substackcdn.com/image/fetch/$s_!yFop!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 1272w, https://substackcdn.com/image/fetch/$s_!yFop!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612c2aef-224b-40a1-af12-905e2336f2b8_1300x68.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Or, a Unitary matrix multiplied with its conjugate transpose returns the Identity matrix.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8m8m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8m8m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 424w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 848w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 1272w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8m8m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png" width="1300" height="68" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:68,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9326,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8m8m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 424w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 848w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 1272w, https://substackcdn.com/image/fetch/$s_!8m8m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23d0f9b3-ea2b-43bd-960e-8687906f41ae_1300x68.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Let&#8217;s start with finding the conjugate transpose (U&#8224;) of U. </p><p>To compute it, we:</p><ul><li><p>Take the <a href="https://en.wikipedia.org/wiki/Complex_conjugate">complex conjugate</a> of each entry in the matrix</p></li><li><p><a href="https://www.intoquantum.pub/i/155158505/matrix-transpose">Transpose</a> the matrix</p></li></ul><p>This is shown mathematically as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UgiQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UgiQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UgiQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png" width="1300" height="70" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:70,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9351,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!UgiQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!UgiQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab61d4ac-bb89-4685-b860-de830e1e468b_1300x70.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Since all entries in U are real, the <strong>complex conjugate</strong> of it is the same as the original matrix.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rGSl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rGSl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rGSl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png" width="1300" height="70" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:70,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:8303,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rGSl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!rGSl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ec73bce-ab92-49e2-9b0f-ce3fae5c7036_1300x70.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Next, we transpose U:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_gsl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_gsl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 424w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 848w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 1272w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_gsl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png" width="1300" height="148" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:148,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19607,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_gsl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 424w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 848w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 1272w, https://substackcdn.com/image/fetch/$s_!_gsl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18bad939-3e9f-430c-a0b1-1c08e3c9e8ea_1300x148.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This means that the <strong>conjugate transpose</strong> of U equals the original matrix.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!55Xd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!55Xd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!55Xd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png" width="1300" height="70" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:70,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:8759,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!55Xd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 424w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 848w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 1272w, https://substackcdn.com/image/fetch/$s_!55Xd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b390234-0f75-4f17-89e9-c547fb07752a_1300x70.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Followed by this, we compute U&#8224;U as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Nuus!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Nuus!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Nuus!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png" width="1300" height="136" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:136,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:23982,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Nuus!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!Nuus!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2445d7cc-a945-4d3b-8d22-ab5232150beb_1300x136.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Oy-k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Oy-k!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Oy-k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png" width="1300" height="136" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:136,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15402,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Oy-k!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!Oy-k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c302bd7-489f-4d89-9aed-ed66b7513703_1300x136.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jZoq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jZoq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jZoq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png" width="1300" height="136" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b8ecb053-cafa-4070-b220-36b00b740725_1300x136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:136,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20352,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jZoq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 424w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 848w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 1272w, https://substackcdn.com/image/fetch/$s_!jZoq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ecb053-cafa-4070-b220-36b00b740725_1300x136.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Since we obtain the Identity matrix, this proves that U is a Unitary matrix.</p><div><hr></div><h4>1.2: Apply <code>U</code> to the state <code>|0&gt;</code> and express the resulting state in Dirac notation and vector form.</h4><p>In the vector form:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4sIC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4sIC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4sIC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14347,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4sIC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!4sIC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c1bd9ae-f1fe-434b-a61a-b1055b8be821_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Applying U to |0&gt; results in the following vector:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZJfF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZJfF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZJfF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20443,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZJfF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!ZJfF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0dc70f89-2cdf-4651-9d26-1d3deb96da15_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9sN4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9sN4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9sN4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:23384,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!9sN4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!9sN4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71c2187e-5c09-4dfb-9fd0-c82a0434141b_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This vector in the <a href="https://www.intoquantum.pub/p/an-introduction-to-bra-ket-dirac?utm_source=publication-search">Dirac notation</a> is as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CnIr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CnIr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CnIr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ce214a2c-6067-4b06-afce-898ae38491db_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19400,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F654943dc-2466-4159-99fe-894b5a42548a_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CnIr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!CnIr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce214a2c-6067-4b06-afce-898ae38491db_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8ZJC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16104,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h4>1.3: Compute the measurement probabilities in the computational basis.</h4><p>The computational basis is { |0&gt; , |1&gt; } and the resulting state is as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8ZJC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png" width="1300" height="118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:118,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16104,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!8ZJC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 424w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 848w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1272w, https://substackcdn.com/image/fetch/$s_!8ZJC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3817e05-fa46-4e29-9bea-7d6f9cd4e954_1300x118.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zmtF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zmtF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 424w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 848w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 1272w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zmtF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png" width="1300" height="122" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5f0c1737-618a-452f-a244-929c01b75473_1300x122.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:122,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16248,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zmtF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 424w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 848w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 1272w, https://substackcdn.com/image/fetch/$s_!zmtF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f0c1737-618a-452f-a244-929c01b75473_1300x122.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The measurement probabilities are the squared magnitudes of the amplitudes of this state, as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7xE4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7xE4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 424w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 848w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 1272w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7xE4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png" width="1300" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:21859,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/194390765?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7xE4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 424w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 848w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 1272w, https://substackcdn.com/image/fetch/$s_!7xE4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6866aaa3-623b-4341-8edd-509d2f52665d_1300x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Quick question: Would you like to guess which quantum gate U represents? Let me know in the comments below!</strong></p><div><hr></div><p>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</p><p>To get even more value from this publication, consider becoming a <strong>paid subscriber</strong>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Join the paid tier today!&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Join the paid tier today!</span></a></p>]]></content:encoded></item><item><title><![CDATA[5 Questions to Build Your Muscle in Linear Algebra for Quantum Computing]]></title><description><![CDATA[Strengthen your linear algebra skills by solving these questions by hand.]]></description><link>https://www.intoquantum.pub/p/5-questions-in-quantum-linear-algebra</link><guid isPermaLink="false">https://www.intoquantum.pub/p/5-questions-in-quantum-linear-algebra</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 28 Mar 2026 10:58:11 GMT</pubDate><enclosure url="https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw"><img src="https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1200" height="675.2" data-attrs="{&quot;src&quot;:&quot;https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1688,&quot;width&quot;:3000,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a diagram of a number of circles and a number of dots&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="a diagram of a number of circles and a number of dots" title="a diagram of a number of circles and a number of dots" srcset="https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501218456-c4789b65fc21?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://unsplash.com/photos/a-diagram-of-a-number-of-circles-and-a-number-of-dots-cLx-ilXp_pI">Source</a></figcaption></figure></div><p>Here are 5 questions to strengthen your linear algebra skills and make you a better quantum engineer.</p><p>Solve them by hand and share their solutions in the community chat. </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h3>1</h3><p>Given the following matrix <code>U</code>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ud_J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 424w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 848w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1272w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png" width="1350" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1350,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15928,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ud_J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 424w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 848w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1272w, https://substackcdn.com/image/fetch/$s_!Ud_J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a74d473-c80f-421c-9eea-9b6abad3228e_1350x134.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><ol><li><p>Prove that <code>U</code> is a unitary matrix.</p></li><li><p>Next, apply <code>U</code> to the state <code>|0&gt;</code> and express the resulting state in Dirac notation and vector form.</p></li><li><p>Finally, compute the measurement probabilities in the computational basis.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>2</h3><p>Given the following matrix <code>A</code>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lDCs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lDCs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lDCs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png" width="1326" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1326,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15650,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lDCs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!lDCs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97289280-9c85-4306-b3d9-2d3b656a9d01_1326x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ol><li><p>Prove that it is Hermitian</p></li><li><p>Find its eigenvalues and orthonormal eigenvectors</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>3</h3><p>Given two quantum states as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!irR9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!irR9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!irR9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!irR9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!irR9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!irR9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png" width="1326" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1326,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:21552,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!irR9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!irR9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!irR9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!irR9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82f3859c-077a-4c3a-b4de-accc31d210c4_1326x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ol><li><p>Compute their inner product</p></li><li><p>Compute their Fidelity</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>4</h3><p>Given two matrices <code>A</code> and <code>B</code>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IVMF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IVMF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IVMF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png" width="1326" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1326,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20709,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IVMF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!IVMF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade4ae7c-07a6-4e31-b32e-875e563286b4_1326x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p>Compute the commutator <code>[A,B] = AB &#8722; BA</code></p></li><li><p>Check if <code>A</code> and <code>B</code> commute.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>5</h3><p>For the given matrix <code>M</code>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZsQ-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png" width="1326" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1326,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15695,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/192394238?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 424w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 848w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 1272w, https://substackcdn.com/image/fetch/$s_!ZsQ-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc60d93d-2f05-4c0b-9250-203c9264563d_1326x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p>Compute <code>M &#8224; M</code></p></li><li><p>Find the eigenvalues of <code>M &#8224; M</code></p></li><li><p>Determine the singular values of M.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>I&#8217;ll see you soon with detailed solutions to the questions.</p><p>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</p><p>To get even more value from this publication, consider becoming a <strong>paid subscriber</strong>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Join the paid tier today!&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Join the paid tier today!</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[An Easy-to-Follow Introduction to the Toffoli Gate]]></title><description><![CDATA[It's time to learn about another multi-qubit quantum gate called the Toffoli or CCNOT gate.]]></description><link>https://www.intoquantum.pub/p/toffoli-gate</link><guid isPermaLink="false">https://www.intoquantum.pub/p/toffoli-gate</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Tue, 24 Feb 2026 11:04:30 GMT</pubDate><enclosure url="https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw"><img src="https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1200" height="675.2" data-attrs="{&quot;src&quot;:&quot;https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1688,&quot;width&quot;:3000,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a black and white drawing of a ball and a circle&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="a black and white drawing of a ball and a circle" title="a black and white drawing of a ball and a circle" srcset="https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 424w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 848w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1272w, https://images.unsplash.com/photo-1717501217912-933d2792d493?fm=jpg&amp;q=60&amp;w=3000&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.1.0&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image by Google DeepMind on Unsplash (<a href="https://unsplash.com/photos/a-black-and-white-drawing-of-a-ball-and-a-circle-qOOd_pM4jCk">Source</a>)</figcaption></figure></div><p>In the previous lessons on &#8216;Into Quantum&#8217;, we have explored <a href="https://www.intoquantum.pub/i/169295831/what-are-multi-qubit-quantum-gates">multi-qubit quantum gates</a>, such as the CNOT gate.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;5dc20033-0a3c-46ba-9979-b107d3e887c6&quot;,&quot;caption&quot;:&quot;&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Easy-To-Follow Introduction To The CNOT Gate&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to level up in AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-07-26T12:48:13.848Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!MeFY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b0d7af7-d382-49b9-9351-0f7f623555e5_500x707.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/introduction-to-cnot-gate&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:169295831,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:3,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>The CNOT gate is a two-qubit quantum gate where the control qubit determines whether the target qubit is flipped or not.</p><p>In this lesson, we will discuss another multi-qubit quantum gate called the Toffoli gate, which extends the CNOT gate by adding a second control qubit. </p><p>Let&#8217;s begin!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h4>What is the Toffoli gate?</h4><p>The Toffoli gate is also called the <strong>Controlled-Controlled-NOT (CCNOT) gate</strong>.</p><p>It is a three-qubit gate that receives three inputs and returns three outputs. The first two inputs are &#8216;Control qubits&#8217;, and the third input is the 'Target qubit&#8217;.</p><p>The gate flips the target qubit if and only if <strong>both</strong> control qubits are in the <code>|1&gt;</code> state. Otherwise, it returns the target qubit unchanged. Also, the two control qubits are always returned unchanged.</p><p>There are two properties of the gate that you must know about:</p><ul><li><p>It is <strong>reversible</strong>, which means that it is its own inverse. <br>If we apply the gate again to its outputs, we get the original inputs back, without losing any information.</p></li><li><p>It is <strong>universal for classical computing</strong>, which means that we can build any logic circuit we want by connecting&nbsp;many Toffoli gates. <br>But in quantum computing, we need to combine the Toffoli with other gates to make it universal.</p></li></ul><p>The gate was invented by and named after <a href="https://en.wikipedia.org/wiki/Tommaso_Toffoli">Tommaso Toffoli</a>, an Italian-American professor of electrical and computer engineering at Boston University.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h4><strong>Toffoli Gate In Action</strong></h4><p>Take an example of the three qubits <code>|A&gt;,|B&gt;,|C&gt;</code> input to the Toffoli gate, as shown below:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z5pF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z5pF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 424w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 848w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1272w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png" width="1350" height="72" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:72,&quot;width&quot;:1350,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13502,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!z5pF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 424w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 848w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1272w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>When the Toffoli gate is applied with <code>|A&gt; </code>and<code> |B&gt;</code> as the control qubits, and <code>|C&gt;</code> as the target qubit, the outputs returned are:</p><ul><li><p>Output 1 is <code>|1&gt;</code><br>(Control qubit <code>|A&gt;</code> is returned unchanged.)</p></li><li><p>Output 2 is <code>|1&gt;</code><br>(Control qubit <code>|B&gt;</code> is returned unchanged.)</p></li><li><p>Output 3 is <code>|1&gt;</code><br>(<code>|C&gt;</code>, previously <code>|0&gt;</code>, is flipped because both control qubits <code>|A&gt;</code> and <code>|B&gt;</code> are <code>|1&gt;</code>.)</p></li></ul><p>This operation is represented as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qhz1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qhz1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 424w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 848w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 1272w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qhz1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png" width="1310" height="78" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:78,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14191,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qhz1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 424w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 848w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 1272w, https://substackcdn.com/image/fetch/$s_!Qhz1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5123c8f0-8cff-4a30-84a4-01477067a92f_1310x78.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h4><strong>Truth Table</strong></h4><p>The truth table for the Toffoli gate is as follows.</p><p>Since each qubit can be<code> |0&gt;</code> or <code>|1&gt;</code>, there are 2&#179; = 8 possible inputs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sO9J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sO9J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 424w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 848w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 1272w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sO9J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png" width="1294" height="580" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:580,&quot;width&quot;:1294,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:61947,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sO9J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 424w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 848w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 1272w, https://substackcdn.com/image/fetch/$s_!sO9J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c821178-514d-4b39-9bcc-eeb30810b327_1294x580.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Truth table for the Toffoli gate (Source: <a href="https://en.wikipedia.org/wiki/Toffoli_gate">Wikipedia</a>)</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h4><strong>Circuit Symbol</strong></h4><p>In a quantum circuit, the Toffoli gate is represented using the following symbol, where:</p><ul><li><p>The &#9679; symbol represents the control qubits.</p></li><li><p>The &#8853; symbol represents the target qubit and indicates that a NOT operation (Pauli-X) is applied to it conditionally.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yHzB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yHzB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 424w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 848w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 1272w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yHzB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png" width="1310" height="390" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:390,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33055,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yHzB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 424w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 848w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 1272w, https://substackcdn.com/image/fetch/$s_!yHzB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d87ac6-6737-496b-8728-0a5eef0a33fd_1310x390.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h4><strong>Algebraic Representation</strong></h4><p>The operation performed by the Toffoli gate can be represented as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xt93!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xt93!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 424w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 848w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 1272w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xt93!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png" width="1310" height="86" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:86,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18268,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Xt93!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 424w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 848w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 1272w, https://substackcdn.com/image/fetch/$s_!Xt93!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F486fe889-294c-4429-ab3e-b4572a1051ba_1310x86.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>where:</p><ul><li><p>&#8853; is&nbsp;the&nbsp;XOR (exclusive OR) operation, and </p></li><li><p><code>&#183;</code> is the multiplication (AND) operation</p></li></ul><p>This means that the Toffoli gate computes the AND of the two control qubits and XORs the result with the target.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h4><strong>Matrix Representation</strong></h4><p>The Toffoli gate acts on a 3-qubit system, and is represented by a 2&#179; &#215; 2&#179; = 8 &#215; 8 unitary matrix as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LQ_o!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LQ_o!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 424w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 848w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 1272w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LQ_o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png" width="1310" height="412" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/672dc247-0af0-4e18-b252-825003f54888_1310x412.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:412,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:51286,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LQ_o!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 424w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 848w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 1272w, https://substackcdn.com/image/fetch/$s_!LQ_o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F672dc247-0af0-4e18-b252-825003f54888_1310x412.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Note how only the last two rows (and columns) are swapped. </p><p>Consider the three qubits <code>|A&gt;,|B&gt;,|C&gt;</code> again, which represent the inputs to the gate:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z5pF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z5pF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 424w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 848w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1272w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png" width="1350" height="72" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:72,&quot;width&quot;:1350,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13502,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!z5pF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 424w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 848w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1272w, https://substackcdn.com/image/fetch/$s_!z5pF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e5ee9b8-f779-457d-88a1-c11917021b50_1350x72.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The combined input state to the Toffoli gate is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1hxu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1hxu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 424w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 848w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 1272w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1hxu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png" width="1310" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/57c82377-6495-44b1-bda2-fc571306f016_1310x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17137,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1hxu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 424w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 848w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 1272w, https://substackcdn.com/image/fetch/$s_!1hxu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57c82377-6495-44b1-bda2-fc571306f016_1310x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The computational basis states for a 3-qubit system are: </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m4h6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m4h6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 424w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 848w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 1272w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m4h6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png" width="1310" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16135,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!m4h6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 424w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 848w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 1272w, https://substackcdn.com/image/fetch/$s_!m4h6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9236726e-71f2-4dd8-9e7f-9ff824fb026d_1310x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>On this basis:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QmdA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QmdA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QmdA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png" width="1310" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29074,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QmdA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!QmdA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1a3eb25-875b-4cf7-b8d1-04610c77e53c_1310x400.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>When we apply the Toffoli gate to it, the following matrix multiplication takes place:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DQof!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DQof!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!DQof!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!DQof!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!DQof!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DQof!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png" width="1310" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:58828,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DQof!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!DQof!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!DQof!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!DQof!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc015476b-6d75-4b4e-97a2-b6aacc414e78_1310x400.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This result is equal to <code>|111&gt;</code>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qRyp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qRyp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qRyp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png" width="1310" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:1310,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28355,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/188639039?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qRyp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 424w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 848w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 1272w, https://substackcdn.com/image/fetch/$s_!qRyp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0893d9a0-f05a-4be8-9d34-101430bb5bf0_1310x400.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15312,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/186963588?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>That&#8217;s everything for this article.</p><p>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</p><p>To get even more value from this publication, consider becoming a <strong>paid subscriber</strong>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Join the paid tier today!&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Join the paid tier today!</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Build the W state using Qiskit]]></title><description><![CDATA[Solution to Question 6 of the ongoing Quantum programming challenge.]]></description><link>https://www.intoquantum.pub/p/w-state</link><guid isPermaLink="false">https://www.intoquantum.pub/p/w-state</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 07 Feb 2026 12:43:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!afME!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!afME!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!afME!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 424w, https://substackcdn.com/image/fetch/$s_!afME!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 848w, https://substackcdn.com/image/fetch/$s_!afME!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!afME!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!afME!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg" width="1456" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a chandelier hanging from the ceiling of a room&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="a chandelier hanging from the ceiling of a room" title="a chandelier hanging from the ceiling of a room" srcset="https://substackcdn.com/image/fetch/$s_!afME!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 424w, https://substackcdn.com/image/fetch/$s_!afME!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 848w, https://substackcdn.com/image/fetch/$s_!afME!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!afME!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F052776fb-f852-4d1c-8b55-da827a6537f0_3000x1615.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@galka_nz">Galina Nelyubova</a> on <a href="https://unsplash.com/photos/a-chandelier-hanging-from-the-ceiling-of-a-room-Iesm5HdL29w">Unsplash</a></figcaption></figure></div><p>Hello! &#128075;&#127995;</p><p>I recently published a challenge with 6 Qiskit questions to get started with Quantum Computing.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;28516cfd-c9a9-4542-b6a2-ad2c28076e2c&quot;,&quot;caption&quot;:&quot;We just finished solving six important mathematical questions to understand Quantum computing better.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;6 Qiskit Questions to Get Started with Quantum Computing &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to level up in AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-12-10T12:12:09.063Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:180802431,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:1,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Here is the solution to the 6th question from the challenge.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15312,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/186963588?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h3><strong>Question 6</strong></h3><p>Create a three-qubit <a href="https://en.wikipedia.org/wiki/W_state">W-state</a> in Qiskit. Measure and simulate the circuit using a Qiskit simulator.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WLgt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png" width="1456" height="135" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:135,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15312,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/186963588?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WLgt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 424w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 848w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1272w, https://substackcdn.com/image/fetch/$s_!WLgt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51101a27-b899-47bc-a6f6-650ffc2173df_1926x178.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><h3>What is the W state?</h3>
      <p>
          <a href="https://www.intoquantum.pub/p/w-state">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Build The Greenberger–Horne–Zeilinger (GHZ) State Using Qiskit]]></title><description><![CDATA[Solution to Question 5 of the ongoing Quantum programming challenge.]]></description><link>https://www.intoquantum.pub/p/ghz-state</link><guid isPermaLink="false">https://www.intoquantum.pub/p/ghz-state</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 23 Jan 2026 08:20:54 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!z3yz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z3yz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z3yz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 424w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 848w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 1272w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z3yz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png" width="1366" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1366,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:53757,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!z3yz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 424w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 848w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 1272w, https://substackcdn.com/image/fetch/$s_!z3yz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9aa8cb6-438b-4095-977f-2cd932fab60a_1366x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hey there!</p><p>I recently published a challenge with 6 Qiskit questions to get started with Quantum Computing.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;4e7db497-d2b4-4bc9-9270-8417cf1449e8&quot;,&quot;caption&quot;:&quot;We just finished solving six important mathematical questions to understand Quantum computing better.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;6 Qiskit Questions to Get Started with Quantum Computing &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become level up in AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-12-10T12:12:09.063Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:180802431,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:1,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Here is the solution to the 5th question from the challenge.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>Question 5</h3><p>Create a three-qubit <a href="https://en.wikipedia.org/wiki/Greenberger%E2%80%93Horne%E2%80%93Zeilinger_state">Greenberger-Horne-Zeilinger (GHZ) state</a> in Qiskit. </p><p>Measure and simulate the circuit using a Qiskit simulator.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zya9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zya9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 424w, https://substackcdn.com/image/fetch/$s_!zya9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 848w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1272w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png" width="1194" height="126" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/adfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:126,&quot;width&quot;:1194,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14427,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!zya9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 424w, https://substackcdn.com/image/fetch/$s_!zya9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 848w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1272w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h3>What is the Greenberger&#8211;Horne&#8211;Zeilinger (GHZ) State?</h3><p>A&nbsp;<a href="https://en.wikipedia.org/wiki/Greenberger%E2%80%93Horne%E2%80%93Zeilinger_state">GHZ state&nbsp;(Greenberger&#8211;Horne&#8211;Zeilinger state)</a>, named after the three authors who first described this state, is a <strong>multi-qubit</strong> <strong>entangled</strong> quantum state&nbsp;that involves&nbsp;<strong>three or more qubits</strong>.</p><p>For the 3-qubit case, it is mathematically described as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b3-b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b3-b!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b3-b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png" width="1346" height="124" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:124,&quot;width&quot;:1346,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18739,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b3-b!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!b3-b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c300880-1a6b-4c81-b8f0-26070e87403a_1346x124.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>For n &gt; 3 qubits, it is mathematically described using the general form:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sPUo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sPUo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sPUo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png" width="1346" height="124" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:124,&quot;width&quot;:1346,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18400,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sPUo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!sPUo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa26568d1-6136-4950-a81e-4b256a57e4eb_1346x124.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>GHZ states are used to demonstrate quantum non-locality among multiple parties and in secure quantum communication protocols such as <a href="https://www.mdpi.com/1099-4300/24/10/1433">multi-party quantum secret sharing (QSS)</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>Solution </h3><p>Let&#8217;s create a three-qubit <a href="https://en.wikipedia.org/wiki/Greenberger%E2%80%93Horne%E2%80%93Zeilinger_state">Greenberger-Horne-Zeilinger (GHZ) state</a> in Qiskit.</p><ul><li><p>We start by creating a circuit with 3 qubits and 3 classical bits to store measurement results.</p></li></ul><pre><code>from qiskit import QuantumCircuit

circuit = QuantumCircuit(3, 3)</code></pre><p>At this point, all qubits (q(0), q(1) and q(2)) are in state |0&gt;.</p><ul><li><p>Next, we put qubit 0 or q(0) into an equal superposition state using the <a href="https://www.intoquantum.pub/i/163502538/3-hadamard-gate">Hadamard gate</a>.</p></li></ul><pre><code>circuit.h(0)</code></pre><p>Qubit 0 now looks as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2whC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2whC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!2whC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!2whC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!2whC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2whC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png" width="1346" height="124" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:124,&quot;width&quot;:1346,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17268,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2whC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 424w, https://substackcdn.com/image/fetch/$s_!2whC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 848w, https://substackcdn.com/image/fetch/$s_!2whC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 1272w, https://substackcdn.com/image/fetch/$s_!2whC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F911ba8f9-def6-400f-b4b9-8a61b7704d2a_1346x124.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p>Next, we consider the joint state of q(0) and q(1) and apply the CNOT gate to it, with q(0) as the control and q(1) as the target.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dw2p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dw2p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 424w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 848w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 1272w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dw2p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png" width="1346" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1346,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15252,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dw2p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 424w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 848w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 1272w, https://substackcdn.com/image/fetch/$s_!dw2p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc39d0a5-8ca0-4073-9fc6-8b400b08e6a1_1346x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ehj3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ehj3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ehj3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png" width="1348" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:1348,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28542,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ehj3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!ehj3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F674ea47a-dc3b-470a-a506-a2927700fd7a_1348x130.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The <a href="https://www.intoquantum.pub/p/introduction-to-cnot-gate">CNOT (Controlled-NOT) gate</a> flips the target qubit if and only if the control qubit is in state |1&gt;.</p><p>Applying CNOT results in:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VpCX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VpCX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VpCX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png" width="1348" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:1348,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28207,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VpCX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!VpCX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625a6ea2-60e7-4425-b8b1-98eea6f27c56_1348x130.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is the<strong> </strong><a href="https://www.intoquantum.pub/p/what-are-bell-states-and-how-to-express">Bell state</a> <code>|&#934;+&gt;.</code></p><p>We perform these operations in Qiskit as follows:</p><pre><code>circuit.cx(0, 1)</code></pre><ul><li><p>Then, we consider the 3rd qubit along with the previously created Bell state and apply the CNOT gate using q(0) as the control and q(2) as the target.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JeR4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JeR4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JeR4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png" width="1348" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:1348,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:27935,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!JeR4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!JeR4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F193b7818-a9e6-4050-ae1d-d82838cbefe8_1348x130.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Apply <a href="https://www.intoquantum.pub/p/introduction-to-cnot-gate">CNOT</a> results in:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F_ev!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F_ev!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F_ev!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png" width="1348" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:1348,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29359,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/185419085?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F_ev!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 424w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 848w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 1272w, https://substackcdn.com/image/fetch/$s_!F_ev!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b651b48-a37b-415c-a5ab-46805da15b76_1348x130.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We perform these operations in Qiskit as follows:</p><pre><code><code>circuit.cx(0, 2)</code></code></pre><p>This results in the GHZ state.</p><ul><li><p>Finally, we measure all qubits and store their results in the corresponding classical bits</p></li></ul><pre><code>circuit.measure([0, 1, 2], [0, 1, 2])</code></pre><p>This is how the circuit and all its operations look.</p><pre><code>print(circuit.draw())</code></pre><pre><code>     &#9484;&#9472;&#9472;&#9472;&#9488;             &#9484;&#9472;&#9488;   
q_0: &#9508; H &#9500;&#9472;&#9472;&#9632;&#9472;&#9472;&#9472;&#9472;&#9632;&#9472;&#9472;&#9472;&#9472;&#9472;&#9508;M&#9500;&#9472;&#9472;&#9472;
     &#9492;&#9472;&#9472;&#9472;&#9496;&#9484;&#9472;&#9524;&#9472;&#9488;  &#9474;  &#9484;&#9472;&#9488;&#9492;&#9573;&#9496;   
q_1: &#9472;&#9472;&#9472;&#9472;&#9472;&#9508; X &#9500;&#9472;&#9472;&#9532;&#9472;&#9472;&#9508;M&#9500;&#9472;&#9579;&#9472;&#9472;&#9472;&#9472;
          &#9492;&#9472;&#9472;&#9472;&#9496;&#9484;&#9472;&#9524;&#9472;&#9488;&#9492;&#9573;&#9496; &#9553; &#9484;&#9472;&#9488;
q_2: &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9508; X &#9500;&#9472;&#9579;&#9472;&#9472;&#9579;&#9472;&#9508;M&#9500;
               &#9492;&#9472;&#9472;&#9472;&#9496; &#9553;  &#9553; &#9492;&#9573;&#9496;
c: 3/&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9577;&#9552;&#9552;&#9577;&#9552;&#9552;&#9577;&#9552;
                     1  0  2 </code></pre><p>The numbers at the bottom show which classical bit each qubit&#8217;s measurement is stored in. Note that this sequence does not represent the time order of measurements. It simply shows how each qubit&#8217;s measurement is mapped to a classical bit.</p><p>Now that we have created the quantum circuit, it is time to simulate it on the quantum simulator.</p><pre><code><code>from qiskit_aer import AerSimulator
from qiskit import transpile

# Instantiate Qiskit quantum simulator
simulator = AerSimulator()

# Transpilation
transpiled_circuit = transpile(circuit, simulator)

# Execute the circuit on the simulator for 1024 repetitions
result = simulator.run(transpiled_circuit, shots=1024).result()

# Get the measurement results
counts = result.get_counts()

print("Counts:", counts)
# Counts: {'111': 507, '000': 517}</code></code></pre><p>We run the simulations for 1024 independent shots. The <code>counts</code> value represents how many times each outcome occurred during these shots.</p><p>These outcomes are visualised as follows.</p><pre><code><code>from qiskit.visualization import plot_histogram

plot_histogram(counts)</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wOog!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wOog!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!wOog!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!wOog!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!wOog!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wOog!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png" width="630" height="470" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:470,&quot;width&quot;:630,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wOog!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!wOog!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!wOog!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!wOog!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4273eb61-92a6-4178-8799-41424f8f5c8a_630x470.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We calculate the probabilities for each outcome as follows.</p><pre><code><code># Calculate probabilities
total_shots = sum(counts.values())

for outcome, count in counts.items():
    probability = (count / total_shots) * 100
    print(f"|{outcome}&#10217;: {count} counts ({probability:.1f}%)")

"""
Output:
|111&#10217;: 507 counts (49.5%)
|000&#10217;: 517 counts (50.5%)
"""</code></code></pre><p>When we measure all three qubits, we observe <code>000</code> and <code>111 </code>with each occurring about 50% of the time as expected.</p><div><hr></div><p>That&#8217;s everything for this article.</p><p><em>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</em></p><p><em>To get even more value from this publication, consider becoming a <strong>paid subscriber</strong>.</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Join the paid tier today!&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe"><span>Join the paid tier today!</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Quantum Lego: Building States Using Quantum Gates]]></title><description><![CDATA[Solution to Question 4 of the ongoing Quantum programming challenge.]]></description><link>https://www.intoquantum.pub/p/building-states-using-quantum-gates</link><guid isPermaLink="false">https://www.intoquantum.pub/p/building-states-using-quantum-gates</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sun, 11 Jan 2026 11:46:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!F-G5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F-G5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F-G5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F-G5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png" width="1365" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1365,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:150192,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F-G5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!F-G5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddec3022-66c9-45b2-bfd0-2d1b71ef94fa_1365x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hey everyone!</p><p>I recently published a challenge with 6 Qiskit questions to get started with Quantum Computing.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;5a33d5f2-0144-4133-9e8a-318f2ac2db7e&quot;,&quot;caption&quot;:&quot;We just finished solving six important mathematical questions to understand Quantum computing better.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;6 Qiskit Questions to Get Started with Quantum Computing &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-12-10T12:12:09.063Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:180802431,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:1,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Here is the solution to the fourth question from the challenge.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><p>Before we move forward, I want to introduce you to the <strong><a href="https://bamaniaashish.gumroad.com/l/visualtech">Visual Tech Bundle</a>.</strong></p><p>It is a collection of visual guides that explain core AI, LLM, Systems design, and Computer science concepts via image-first lessons.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Cc9Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 424w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 848w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1272w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png" width="1456" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f3773516-037c-48af-a288-d6d9d3cab751_2560x640.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 424w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 848w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1272w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Others are already loving these books.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZH6L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZH6L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 424w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 848w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1272w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png" width="1456" height="1147" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1147,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2124317,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://intoai.pub/i/178965288?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ZH6L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 424w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 848w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1272w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This includes <a href="https://www.hubspot.com/company/management/dharmesh-shah">Dharmesh Shah</a>, the co-founder and CEO of HubSpot.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AoQ3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AoQ3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 424w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 848w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 1272w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AoQ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png" width="1082" height="346" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:346,&quot;width&quot;:1082,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:71287,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/182081753?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!AoQ3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 424w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 848w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 1272w, https://substackcdn.com/image/fetch/$s_!AoQ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19f2ca2a-57c5-4057-84e7-82d853963e00_1082x346.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Dharmesh&#8217;s reply to my LinkedIn post. (<a href="https://www.linkedin.com/feed/update/urn:li:activity:7408092938876133377/">Source</a>)</figcaption></figure></div><p><strong>Why not give them a try?</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/visualtech&quot;,&quot;text&quot;:&quot;Link to the Visual Tech Bundle&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/visualtech"><span>Link to the Visual Tech Bundle</span></a></p><p>Now back to our lesson!</p><div><hr></div><h4><strong>Question 4</strong></h4><p>Find the sequence of X, Y, and Z gates that transforms the quantum state <code>|+&#10217;</code> to <code>i|-&#10217;</code> . Verify the results using a Qiskit simulator.</p><div><hr></div><h4>Solution 4</h4><p>|<code>+&gt;</code> and <code>|-&gt;</code> can be written as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EP1x!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EP1x!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 424w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 848w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 1272w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EP1x!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png" width="1340" height="138" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:138,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19805,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EP1x!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 424w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 848w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 1272w, https://substackcdn.com/image/fetch/$s_!EP1x!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc10b2e09-dd06-41ed-bd3d-1ddc5c2214ae_1340x138.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>And, our target <code>i|-&gt; </code>can be written as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iUHr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iUHr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 424w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 848w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 1272w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iUHr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png" width="1340" height="194" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:194,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19383,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iUHr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 424w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 848w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 1272w, https://substackcdn.com/image/fetch/$s_!iUHr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f0c22cd-fc17-4478-9432-eb9d1c4ae758_1340x194.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We know from previous lessons that the <a href="https://www.intoquantum.pub/p/a-lesson-on-single-qubit-quantum">Pauli-Z gate</a> causes a phase flip for a qubit in the state <code>|1&gt;</code> but leaves <code>|0&#10217;</code> unchanged.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uleY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uleY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 424w, https://substackcdn.com/image/fetch/$s_!uleY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 848w, https://substackcdn.com/image/fetch/$s_!uleY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 1272w, https://substackcdn.com/image/fetch/$s_!uleY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uleY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png" width="1340" height="68" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:68,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:11729,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uleY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 424w, https://substackcdn.com/image/fetch/$s_!uleY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 848w, https://substackcdn.com/image/fetch/$s_!uleY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 1272w, https://substackcdn.com/image/fetch/$s_!uleY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9709cda3-2e3c-49c8-98d7-5bf1ef4ac9f4_1340x68.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Applying Pauli-Z to <code>|+&gt; </code>results in:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3H3p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3H3p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 424w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 848w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 1272w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3H3p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png" width="1340" height="136" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:136,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19032,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3H3p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 424w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 848w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 1272w, https://substackcdn.com/image/fetch/$s_!3H3p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ca5e89-8849-47af-ab06-6487a57596af_1340x136.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>From here, to get <code>i|-&gt;</code>, we can simply multiply both sides by <code>i </code>as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ttcR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ttcR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ttcR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png" width="1340" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:11671,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ttcR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!ttcR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7a694b6-b282-4af7-ad46-87effcc349c1_1340x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Note the <code>iZ </code>term on the LHS. We know from a <a href="https://www.intoquantum.pub/p/exploring-5-important-single-qubit">previous lesson on Quantum gate relations</a>, that:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4Liw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4Liw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4Liw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png" width="1340" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8415a90-727a-452f-ae68-282118c61def_1340x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9974,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4Liw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!4Liw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8415a90-727a-452f-ae68-282118c61def_1340x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>To apply XY to a state, the circuit must do:</p><ul><li><p>Apply Y first</p></li><li><p>Then apply X</p></li></ul><p>(<em>Read it again!</em>)</p><p>Following this, applying <a href="https://www.intoquantum.pub/p/a-lesson-on-single-qubit-quantum">Pauli-Y</a> to <code>|+&gt;</code> results in:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bQlM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bQlM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bQlM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png" width="1340" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9760,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bQlM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!bQlM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc07fc62b-62c4-4b76-b4f1-e24c56828913_1340x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Next, applying <a href="https://www.intoquantum.pub/p/a-lesson-on-single-qubit-quantum">Pauli-X</a> to this state results in our desired state.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TLj6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TLj6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TLj6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png" width="1340" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13841,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/184195020?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TLj6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 424w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 848w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 1272w, https://substackcdn.com/image/fetch/$s_!TLj6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64b1b1be-5547-4399-9b3e-987774d19115_1340x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h4>Verifying the Result with a Quantum Simulator</h4><p>Here is a program that checks whether our results are correct using the Qiskit simulator.</p><p>We start by importing the necessary libraries.</p><pre><code>from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector
import numpy as np</code></pre><p>Next, we create a quantum circuit with one qubit and apply our gate sequence. </p><p>The <a href="https://www.intoquantum.pub/p/a-lesson-on-single-qubit-quantum">Hadamard gate (H)</a> creates the <code>|+&gt;</code> state from the default <code>|0&gt; </code>state, which is followed by applying the Y and X gates.</p><pre><code># Create circuit
circuit = QuantumCircuit(1)

circuit.h(0)   # Convert |0&gt; to |+&gt;
circuit.y(0)   # Apply Y
circuit.x(0)   # Apply X</code></pre><p>We can visualize the circuit as follows.</p><pre><code># Visualise the circuit
print(circuit)

"""
Output:
   &#9484;&#9472;&#9472;&#9472;&#9488;&#9484;&#9472;&#9472;&#9472;&#9488;&#9484;&#9472;&#9472;&#9472;&#9488;
q: &#9508; H &#9500;&#9508; Y &#9500;&#9508; X &#9500;
   &#9492;&#9472;&#9472;&#9472;&#9496;&#9492;&#9472;&#9472;&#9472;&#9496;&#9492;&#9472;&#9472;&#9472;&#9496;
"""</code></pre><p>Next, we use the <code>Statevector</code> class to simulate the circuit and compute the final quantum state after all gates have been applied.</p><pre><code>sv = Statevector(circuit)
print(sv)

"""
Output:
Statevector([0.+0.70710678j, 0.-0.70710678j],
            dims=(2,))
"""</code></pre><p>In the final step, we manually define our target state<code> i|-&gt;</code> and compare it against the simulation result.</p><pre><code>target = np.array([1j/np.sqrt(2), -1j/np.sqrt(2)]) # |-&gt;
print("Target:", target)

"""
Output: 
Target: [ 0.+0.70710678j -0.-0.70710678j]
"""</code></pre><pre><code>print("Result matches the target") if np.allclose(sv.data, target) else print("Result does not match the target")

"""
Output:
Result matches the target
"""</code></pre><p>The simulation confirms that applying the gate sequence Pauli-Y followed by Pauli-X to the state <code>|+&gt;</code> successfully produces the target state <code>i|-&gt;</code>.</p><div><hr></div><p>That&#8217;s everything for this article. </p><p>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</p><p>To get even more value from this publication, consider becoming a paid subscriber.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Become a paid subscriber</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[How to Create a Bell State with Qiskit]]></title><description><![CDATA[Solution to Question 3 of the ongoing Quantum programming challenge]]></description><link>https://www.intoquantum.pub/p/how-to-create-a-bell-state-with-qiskit</link><guid isPermaLink="false">https://www.intoquantum.pub/p/how-to-create-a-bell-state-with-qiskit</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 29 Dec 2025 11:02:07 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!DXqB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DXqB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DXqB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DXqB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png" width="1365" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1365,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:221969,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/182759845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DXqB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!DXqB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59beed9d-731c-4224-98a8-19c044b60d1b_1365x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hey everyone!</p><p>I recently published a challenge with 6 Qiskit questions to get started with Quantum Computing.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;9176ecf3-e11c-463b-accf-30a0b1684a3d&quot;,&quot;caption&quot;:&quot;We just finished solving six important mathematical questions to understand Quantum computing better.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;6 Qiskit Questions to Get Started with Quantum Computing &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-12-10T12:12:09.063Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:180802431,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:1,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Here is the solution to the third question from the challenge.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h4><strong>Question 3</strong></h4><p>Create a 2-qubit circuit that prepares the following <a href="https://en.wikipedia.org/wiki/Bell_state">Bell state</a>. Measure both qubits using a Qiskit simulator and show the results.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dC-Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 424w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 848w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1272w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png" width="1252" height="138" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:138,&quot;width&quot;:1252,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12285,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 424w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 848w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1272w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h4>Solution 3</h4><p>We start by installing <a href="https://www.ibm.com/quantum/qiskit">Qiskit</a> and the <a href="https://qiskit.github.io/qiskit-aer/">Qiskit Aer</a> library.</p><p>Qiskit Aer is a high-performance library with realistic noise models to run quantum computing simulations on classical computers.</p><pre><code><code>!uv pip install qiskit qiskit-aer </code></code></pre><p>Next, we import the necessary packages.</p><pre><code>from qiskit import QuantumCircuit # To create and manipulate quantum circuits

from qiskit_aer import Aer # Qiskit simulator backend 

from qiskit.visualization import plot_histogram # To visualise measurement results </code></pre><p>We then create the quantum circuit using <code>QuantumCircuit(2, 2)</code> where:</p><ul><li><p>The first argument (2) represents two qubits, both starting in the state |0&gt;, so the full initial state is |00&gt;.</p></li><li><p>The second argument represents (2) two classical bits used to store the measurement results of the two qubits.</p></li></ul><pre><code># Create circuit
circuit = QuantumCircuit(2, 2)</code></pre>
      <p>
          <a href="https://www.intoquantum.pub/p/how-to-create-a-bell-state-with-qiskit">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[How To Create Quantum Circuits With Qiskit]]></title><description><![CDATA[Solution to Question 1 and 2 of the ongoing Quantum programming challenge]]></description><link>https://www.intoquantum.pub/p/create-quantum-circuits-with-qiskit</link><guid isPermaLink="false">https://www.intoquantum.pub/p/create-quantum-circuits-with-qiskit</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 19 Dec 2025 12:38:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!0AoN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0AoN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0AoN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 424w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 848w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 1272w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0AoN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768" width="1365" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1365,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;A generated image based on your input prompt&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="A generated image based on your input prompt" title="A generated image based on your input prompt" srcset="https://substackcdn.com/image/fetch/$s_!0AoN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 424w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 848w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 1272w, https://substackcdn.com/image/fetch/$s_!0AoN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7a9c6d1-d32e-4e8c-824e-121f8928e839_1365x768 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hey everyone! </p><p>Last week, I published a challenge with 6 Qiskit questions to get started with Quantum Computing.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;b0500b6a-6833-43ec-8ebb-e04ed2ac9b03&quot;,&quot;caption&quot;:&quot;We just finished solving six important mathematical questions to understand Quantum computing better.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;6 Qiskit Questions to Get Started with Quantum Computing &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-12-10T12:12:09.063Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:180802431,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:1,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Here are the solutions to the first two questions from the challenge.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h4><strong>Question 1</strong></h4><p>Create a 1-qubit quantum circuit that:</p><ol><li><p>Starts in the state |0&gt;</p></li><li><p>Applies a Hadamard gate</p></li><li><p>Measures the qubit</p></li></ol><p>Write the Qiskit code and simulate the circuit using a Qiskit simulator.</p><div><hr></div><h4>Solution 1</h4><p>We start by installing <a href="https://www.ibm.com/quantum/qiskit">Qiskit</a> and the <a href="https://qiskit.github.io/qiskit-aer/">Qiskit Aer</a> library.</p><p>Qiskit Aer is&nbsp;a high-performance library with realistic noise models to run quantum computing simulations on classical computers.</p><pre><code>!uv pip install qiskit qiskit-aer </code></pre><p>If you&#8217;re interested in running the following code on a real quantum computer, refer to the following article.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;686cb01c-2efe-45c1-9b5a-508f9346f1e5&quot;,&quot;caption&quot;:&quot;You've come a long way from learning all the mathematics for Quantum Computing to now learning to run your first program on a real Quantum computer.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;A Practical Guide To Running Your First Program On An IBM Quantum Computer&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-03-28T10:48:38.872Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!fZrl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bfa94d3-faf9-450e-8539-44582ce13684_1408x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/a-practical-guide-to-running-your&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:159975004,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:5,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Next, we import the necessary packages.</p><pre><code>from qiskit import QuantumCircuit # To create and manipulate quantum circuits

from qiskit_aer import Aer # Qiskit simulator backend 

from qiskit.visualization import plot_histogram # To visualise measurement results </code></pre><p>We then create the quantum circuit using <code>QuantumCircuit(1, 1)</code> where the: </p><ul><li><p>First <code>1</code> represents one qubit. This qubit is in state |0&gt;.</p></li><li><p>Second <code>1</code> represents one classical bit used to store the measurement result.</p></li></ul><pre><code># Create circuit 
circuit = QuantumCircuit(1, 1) </code></pre><p>Next, we apply the Hadamard gate to the qubit and then measure it.</p><pre><code># Apply Hadamard gate to qubit at index 0
circuit.h(0) 

# Measure qubit at index 0 and store in classical bit at index 0
circuit.measure(0, 0) </code></pre><p>This is how these operations look.</p><pre><code># Visualise the circuit operations
print(circuit)</code></pre><pre><code>     &#9484;&#9472;&#9472;&#9472;&#9488;&#9484;&#9472;&#9488;
  q: &#9508; H &#9500;&#9508;M&#9500;
     &#9492;&#9472;&#9472;&#9472;&#9496;&#9492;&#9573;&#9496;
c: 1/&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9577;&#9552;
           0 </code></pre><p>In the above circuit visualisation:</p><ul><li><p>the single horizontal line (<code>-)</code> represents the qubit connections</p></li><li><p>the double line (<code>&#9552;)</code> represents the classical connections</p></li><li><p><code>q</code> represents the quantum register</p></li><li><p><code>c: 1/</code> represents the classical register where measurement results are stored, where <code>1/</code> means that we have 1 classical bit</p></li><li><p><code>&#9508; H &#9500;</code> is the Hadamard gate applied to the qubit</p></li><li><p><code>&#9508;M&#9500;</code> is the Measurement operation</p></li><li><p><code>&#9577;</code>  is where the measurement result gets written to the classical bit</p></li><li><p><code>0</code> below the double lines indicates that the classical bit is at index 0</p></li></ul><p>Now that we have created a quantum circuit, it is time to simulate it on the quantum simulator.</p><pre><code># Instantiate Qiskit quantum simulator
simulator = Aer.get_backend("qasm_simulator")

# Executes the circuit on the simulator for 1024 repetitions
job = simulator.run(circuit, shots = 1024) 

# Get the measurement results
result = job.result()
counts = result.get_counts(circuit)

print(counts)
# Output: {'0': 507, '1': 517}</code></pre><p>We run the simulations for 1024 independent shots. This means that the circuit resets to |0&gt;, applies an H gate, measures, and records the result. That&#8217;s why we get a distribution of outcomes rather than just one answer.</p><p>The <code>counts</code> value represents how many times each outcome occurred.</p><p>These outcomes are visualised as follows.</p><pre><code>plot_histogram(counts)</code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YtOM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YtOM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YtOM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png" width="630" height="470" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:470,&quot;width&quot;:630,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YtOM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!YtOM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b6f39bf-26d3-42cc-82df-6bf342bb4e29_630x470.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is how we calculate the probabilities for each outcome.</p><pre><code># Calculate probabilities
total_shots = sum(counts.values())
for outcome, count in counts.items():
    probability = (count / total_shots) * 100
    print(f"|{outcome}&#10217;: {count} counts ({probability:.1f}%)")

"""
Output:
|0&#10217;: 507 counts (49.5%)
|1&#10217;: 517 counts (50.5%)
"""</code></pre><p>To revise, the following operations take place in the above circuit:</p><ul><li><p>The qubit starts in the state |0&gt;</p></li><li><p>When the Hadamard gate is applied, it transforms the qubit into a quantum superposition (|0&#10217; + |1&#10217;)/&#8730;2</p><p>This means that the qubit simultaneously exists in both the |0&#10217; and |1&#10217; states with equal probability amplitudes. </p></li><li><p>When we measure the qubit, this superposition instantly collapses to either |0&#10217; or |1&#10217;, each with a 50% probability. </p></li><li><p>Since we run the circuit 1024 times (shots), we observe approximately equal counts of &#8220;0&#8221; and &#8220;1&#8221;, confirming the equal superposition created by the Hadamard gate. With more shots, the counts would converge even closer to 50/50.</p></li></ul><p>It&#8217;s time to move to solving question 2.</p><div><hr></div><h4><strong>Question 2</strong></h4><p>Create a 1-qubit quantum circuit that:</p><ol><li><p>Applies an X gate</p></li><li><p>Applies a Z gate</p></li><li><p>Measures the qubit</p></li></ol><p>Write the Qiskit code and simulate the circuit using a Qiskit simulator.</p><div><hr></div><h4>Solution 2</h4><pre><code>from qiskit import QuantumCircuit
from qiskit_aer import Aer
from qiskit.visualization import plot_histogram

# Create circuit with 1 qubit and 1 classical bit
circuit = QuantumCircuit(1, 1)

# Apply X gate (flips |0&gt; to |1&gt;)
circuit.x(0)

# Apply Z gate (adds phase to |1&gt;)
circuit.z(0)

# Measure qubit 0 and store in classical bit 0
circuit.measure(0, 0)

# Visualize the circuit
print(circuit)</code></pre><pre><code>     &#9484;&#9472;&#9472;&#9472;&#9488;&#9484;&#9472;&#9472;&#9472;&#9488;&#9484;&#9472;&#9488;
  q: &#9508; X &#9500;&#9508; Z &#9500;&#9508;M&#9500;
     &#9492;&#9472;&#9472;&#9472;&#9496;&#9492;&#9472;&#9472;&#9472;&#9496;&#9492;&#9573;&#9496;
c: 1/&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9577;&#9552;
                0</code></pre><pre><code># Simulate
simulator = Aer.get_backend("qasm_simulator")
job = simulator.run(circuit, shots=1024)
result = job.result()
counts = result.get_counts(circuit)

print(counts) 
# Output: {'1': 1024}</code></pre><pre><code># Calculate probabilities
total_shots = sum(counts.values())
for outcome, count in counts.items():
    probability = (count / total_shots) * 100
    print(f"|{outcome}&#10217;: {count} counts ({probability:.1f}%)")

# Output: |1&#10217;: 1024 counts (100.0%)</code></pre><pre><code>plot_histogram(counts)</code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tifY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tifY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!tifY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!tifY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!tifY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tifY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png" width="630" height="470" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:470,&quot;width&quot;:630,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tifY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 424w, https://substackcdn.com/image/fetch/$s_!tifY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 848w, https://substackcdn.com/image/fetch/$s_!tifY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 1272w, https://substackcdn.com/image/fetch/$s_!tifY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ca94131-97ca-4bfc-8fed-23d59a3b2986_630x470.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The following operations take place in the above circuit:</p><ul><li><p>The qubit starts in the state |0&#10217;</p></li><li><p>When the X gate is applied, it flips the qubit: X|0&#10217; = |1&#10217;. </p></li><li><p>When the Z gate is applied, it adds a phase factor: Z|1&#10217; = -|1&#10217;. This global phase doesn&#8217;t affect measurement outcomes in the computational basis.</p></li><li><p>When we measure the qubit, it collapses to |1&#10217; with 100% probability.</p></li><li><p>Since we run the circuit 1024 times (shots), we observe all 1024 measurements as &#8220;1&#8221; and none as &#8220;0.&#8221;</p></li></ul><div><hr></div><p>That&#8217;s everything for this article.</p><p>Thanks for being a curious reader of &#8216;Into Quantum&#8217;, a publication that teaches essential concepts in Quantum Computing from the ground up.</p><p>To get even more value from this publication, consider becoming a paid subscriber.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Become a paid subscriber</span></a></p><p>See you soon in the next lesson.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28802,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[6 Qiskit Questions to Get Started with Quantum Computing ]]></title><description><![CDATA[These questions will help you get hands-on experience with IBM Qiskit.]]></description><link>https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started</link><guid isPermaLink="false">https://www.intoquantum.pub/p/6-qiskit-questions-to-get-started</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Wed, 10 Dec 2025 12:12:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Rnxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Rnxc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Rnxc!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png" width="1200" height="675.1648351648352" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:768,&quot;width&quot;:1365,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:162516,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Rnxc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 424w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 848w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 1272w, https://substackcdn.com/image/fetch/$s_!Rnxc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f60d979-bf9c-4a94-9ff8-7695bb59b07d_1365x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We just finished <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">solving six important mathematical questions</a> to understand Quantum computing better.</p><ul><li><p><a href="https://www.intoquantum.pub/p/how-to-check-whether-a-qubit-state">How To Check Whether A Qubit State Is Normalized?</a></p></li><li><p><a href="https://www.intoquantum.pub/p/tensor-product">How To Find The Tensor Product Of Two Qubits</a></p></li><li><p><a href="https://www.intoquantum.pub/p/inner-product">How To Find The Inner Product of Two Qubits</a></p></li><li><p><a href="https://www.intoquantum.pub/p/quantum-measurement">How to Compute the Outcome Probabilities of Quantum Measurements</a></p></li><li><p><a href="https://www.intoquantum.pub/p/eigenvalues-and-eigenvectors-of-operator">How to Find the Eigenvalues and Eigenvectors of an Operator</a></p></li><li><p><a href="https://www.intoquantum.pub/p/measure-a-qubit-in-hadamard-basis">How to Measure a Qubit in the Hadamard Basis</a></p></li></ul><p>It&#8217;s now time to get hands-on and code. </p><p>Here are six questions that we will solve in the coming weeks to learn Qiskit. </p><p>If you&#8217;re new to Qiskit, it is an open-source, Python-based, high-performance software stack for quantum computing developed by IBM Research.</p><p>Let&#8217;s begin!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h4>Question 1</h4><p>Create a 1-qubit quantum circuit that:</p><ol><li><p>Starts in the state |0&gt;</p></li><li><p>Applies a Hadamard gate</p></li><li><p>Measures the qubit</p></li></ol><p>Write the Qiskit code and simulate the circuit using a Qiskit simulator.</p><div><hr></div><h4>Question 2</h4><p>Create a 1-qubit quantum circuit that:</p><ol><li><p>Applies an X gate</p></li><li><p>Applies a Z gate</p></li><li><p>Measures the qubit</p></li></ol><p>Write the Qiskit code and simulate the circuit using a Qiskit simulator.</p><div><hr></div><h4>Question 3</h4><p>Create a 2-qubit circuit that prepares the following <a href="https://en.wikipedia.org/wiki/Bell_state">Bell state</a>. Measure both qubits using a Qiskit simulator and show the results.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dC-Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 424w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 848w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1272w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png" width="1252" height="138" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:138,&quot;width&quot;:1252,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12285,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dC-Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 424w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 848w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1272w, https://substackcdn.com/image/fetch/$s_!dC-Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37193e1f-366e-4dcf-b51a-2c41f4b47e84_1252x138.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h4>Question 4</h4><p>Find the sequence of X, Y, and Z gates that transforms the quantum state <code>|+&#10217;</code> to <code>i|-&#10217;</code> . Verify the results using a Qiskit simulator.</p><div><hr></div><h4>Question 5</h4><p>Create a three-qubit <a href="https://en.wikipedia.org/wiki/Greenberger%E2%80%93Horne%E2%80%93Zeilinger_state">Greenberger-Horne-Zeilinger (GHZ) state</a> in Qiskit. Measure and simulate the circuit using a Qiskit simulator.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zya9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zya9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 424w, https://substackcdn.com/image/fetch/$s_!zya9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 848w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1272w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png" width="1194" height="126" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/adfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:126,&quot;width&quot;:1194,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14427,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zya9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 424w, https://substackcdn.com/image/fetch/$s_!zya9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 848w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1272w, https://substackcdn.com/image/fetch/$s_!zya9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadfc509e-975c-4f98-a59d-cad4eb541eee_1194x126.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h4>Question 6</h4><p>Create a three-qubit <a href="https://en.wikipedia.org/wiki/W_state">W-state</a> in Qiskit. Measure and simulate the circuit using a Qiskit simulator.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hU0-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hU0-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 424w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 848w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 1272w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hU0-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png" width="1198" height="128" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:128,&quot;width&quot;:1198,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17482,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180802431?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!hU0-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 424w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 848w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 1272w, https://substackcdn.com/image/fetch/$s_!hU0-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe217afcc-162a-4f6a-af8f-0e43340c2c56_1198x128.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><p>If you&#8217;re completely new to Qiskit, start with these lessons and then try solving these questions. </p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;928c42b0-b886-4261-b86d-ccbc3acc4b9c&quot;,&quot;caption&quot;:&quot;True randomness is challenging to create.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Your First Quantum Program: Build A Truly Random Number Generator With Qiskit&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-03-14T11:37:57.144Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e506b91-05d0-43e8-919c-fc0a3e7b78c2_900x900.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/your-first-quantum-program-build&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:159057634,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:10,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;5264296a-41aa-4a5e-a95d-14034db2ba78&quot;,&quot;caption&quot;:&quot;In the last lesson, we learned about:&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Your First Hands-On Guide To IBM Quantum&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-03-22T23:31:36.205Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!tdjE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F76226b41-6513-4f8b-a694-2d8d919457f6_1408x768.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/your-first-hands-on-guide-to-ibm&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:159646215,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:7,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;02d135c7-fbaf-4f33-845e-6f3ef5664ff8&quot;,&quot;caption&quot;:&quot;You've come a long way from learning all the mathematics for Quantum Computing to now learning to run your first program on a real Quantum computer.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;A Practical Guide To Running Your First Program On An IBM Quantum Computer&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-03-28T10:48:38.872Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!fZrl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bfa94d3-faf9-450e-8539-44582ce13684_1408x768.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/a-practical-guide-to-running-your&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:159975004,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:5,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><p>Stay tuned for the upcoming solutions. See you soon!</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D5Ji!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D5Ji!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 424w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 848w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 1272w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D5Ji!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png" width="800" height="152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:152,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!D5Ji!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 424w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 848w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 1272w, https://substackcdn.com/image/fetch/$s_!D5Ji!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc88026e9-23f8-4aaf-bf1c-d5c47e3900fa_800x152.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[How to Measure a Qubit in the Hadamard Basis]]></title><description><![CDATA[Solution to Question 6 of the ongoing quantum challenge.]]></description><link>https://www.intoquantum.pub/p/measure-a-qubit-in-hadamard-basis</link><guid isPermaLink="false">https://www.intoquantum.pub/p/measure-a-qubit-in-hadamard-basis</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 01 Dec 2025 07:54:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!tDpQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tDpQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tDpQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tDpQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1688659,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tDpQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tDpQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F782a6d31-622f-4760-bb9a-274a5d006b57_2500x1667.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Source: <a href="https://newsroom.ibm.com/media-quantum-innovation?keywords=quantum&amp;l=100#gallery_gallery_0:21738">IBM</a></figcaption></figure></div><p>In my previous post, I <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">challenged you with six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s discuss the 6th and last question and solve it step by step using everything we have learned previously.</p><p>The question goes like this:</p><blockquote><p>Given a qubit in the following state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kpVa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" width="1304" height="100" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8327108b-84cf-416d-a026-0a822db09d34_1304x100.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:100,&quot;width&quot;:1304,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18131,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>If we measure it in the Hadamard basis, what is the probability of obtaining |+&gt;?</p></blockquote><p>Here goes the solution.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoquantum.pub/subscribe"><span>Become a paid subscriber</span></a></p><div><hr></div><p>We are given the following qubit:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kpVa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" width="1304" height="100" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8327108b-84cf-416d-a026-0a822db09d34_1304x100.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:100,&quot;width&quot;:1304,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We are asked to measure it in the Hadamard basis {|+&gt;, |&#8722;&gt;} which has the following basis states:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zD5J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zD5J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 424w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 848w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 1272w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zD5J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png" width="1328" height="260" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:260,&quot;width&quot;:1328,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19138,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zD5J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 424w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 848w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 1272w, https://substackcdn.com/image/fetch/$s_!zD5J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb86635c1-70af-47d9-bfa7-7f68ce3010b0_1328x260.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Then, we have to find the probability of obtaining |+&gt;.</p><p>When we measure a quantum state |&#968;&gt; in a basis state |b&gt;, we determine how much of |b&gt; is contained in |&#968;&gt;. This is done by projecting |&#968;&gt; onto |b&gt;. </p><p>The projection amplitude is calculated as &lt;b | &#968;&gt;, and the probability of obtaining the outcome associated with |b&gt; is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FWg_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FWg_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 424w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 848w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 1272w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FWg_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png" width="1228" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1228,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9360,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FWg_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 424w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 848w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 1272w, https://substackcdn.com/image/fetch/$s_!FWg_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ef6b62f-9a95-4d83-8745-da4d79bf46d7_1228x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>In our case, this is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AHEq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AHEq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 424w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 848w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 1272w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AHEq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png" width="1228" height="82" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:82,&quot;width&quot;:1228,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:8618,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AHEq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 424w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 848w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 1272w, https://substackcdn.com/image/fetch/$s_!AHEq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff836d829-e743-453a-bfa0-d430a84d18d7_1228x82.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><p>Let&#8217;s first calculate &lt;+| &#968;&gt;.</p><p>The state |+&gt;:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kUHr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kUHr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kUHr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10211,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kUHr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!kUHr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbca1b9e7-648e-4dff-befa-a732a74bb010_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>In its bra form, it is written as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xKnt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xKnt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xKnt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10093,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xKnt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!xKnt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb906c26f-65af-410e-a3dd-b90a7a50574f_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>From here: </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CrnC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CrnC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CrnC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29156,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CrnC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!CrnC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4d789b7-fed8-42e2-8c96-aef5e3d79812_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oyBh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oyBh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oyBh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:35434,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oyBh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!oyBh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfabfaad-1c47-4f56-8c28-1c7d59f1e687_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Based on the orthonormality of basis states in the computational basis:</p><ul><li><p>&lt;0|0&gt; = 1</p></li><li><p>&lt;1|1&gt; = 1</p></li><li><p>&lt;0|1&gt; = 0</p></li><li><p>&lt;1|0&gt; = 0</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p></li></ul><p>Using these values:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uyGv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uyGv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uyGv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20783,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uyGv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!uyGv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0449073-71ae-48f3-88d3-f162acaec3ad_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Given that:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tXDG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tXDG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tXDG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19148,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tXDG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!tXDG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92ebb0c-e362-43de-b441-2fc7002fc078_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This leads to:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VGW3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VGW3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VGW3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png" width="1306" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12065,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VGW3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 424w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 848w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 1272w, https://substackcdn.com/image/fetch/$s_!VGW3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F329f44ea-0638-4d0b-b773-421e2ada0e6e_1306x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is the probability amplitude for obtaining the outcome |+&gt; when measuring the given qubit.</p><div><hr></div><p>Next, the probability of obtaining the outcome |+&gt; when measuring the given qubit is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sizP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sizP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 424w, https://substackcdn.com/image/fetch/$s_!sizP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 848w, https://substackcdn.com/image/fetch/$s_!sizP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 1272w, https://substackcdn.com/image/fetch/$s_!sizP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sizP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png" width="1306" height="144" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:144,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22246,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sizP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 424w, https://substackcdn.com/image/fetch/$s_!sizP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 848w, https://substackcdn.com/image/fetch/$s_!sizP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 1272w, https://substackcdn.com/image/fetch/$s_!sizP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e6c80d6-317f-4645-a970-b8f66fbd20a7_1306x144.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bo9m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bo9m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 424w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 848w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 1272w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bo9m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png" width="1306" height="126" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:126,&quot;width&quot;:1306,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20723,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bo9m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 424w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 848w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 1272w, https://substackcdn.com/image/fetch/$s_!bo9m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F746d2a2d-6df1-407c-831a-23a10b095fb6_1306x126.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is approximately 93.3%, and this is our answer.</p><div><hr></div><p>That&#8217;s everything for this article. </p><p>Thanks for being a curious reader of <strong>Into Quantum</strong>, a publication that teaches essential concepts in Quantum Computing from the ground up. </p><p>To get even more value from this publication, consider becoming a paid subscriber.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe"><span>Become a paid subscriber</span></a></p><p>See you soon in the next lesson.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK8r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28802,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/180374151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aK8r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 424w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 848w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1272w, https://substackcdn.com/image/fetch/$s_!aK8r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e4dfd54-a78f-4fe7-ba54-d2ef991f6960_1344x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[How to Find the Eigenvalues and Eigenvectors of an Operator]]></title><description><![CDATA[Solution to Question 5 of the ongoing quantum challenge.]]></description><link>https://www.intoquantum.pub/p/eigenvalues-and-eigenvectors-of-operator</link><guid isPermaLink="false">https://www.intoquantum.pub/p/eigenvalues-and-eigenvectors-of-operator</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 24 Nov 2025 13:12:31 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!M-_F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!M-_F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!M-_F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!M-_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg" width="776" height="780" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:780,&quot;width&quot;:776,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;undefined&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="undefined" title="undefined" srcset="https://substackcdn.com/image/fetch/$s_!M-_F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M-_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcdb09451-3016-41bd-87a0-34cd0d51c72b_776x780.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photograph of <a href="https://en.wikipedia.org/wiki/Satyendra_Nath_Bose">Satyendra Nath Bose</a>, a theoretical physicist known for his work on quantum mechanics, which laid the foundation for Bose-Einstein statistics and the Bose-Einstein condensate theory. (<a href="https://en.wikipedia.org/wiki/Satyendra_Nath_Bose#/media/File:Satyendra-nath-bose.jpg">Source</a>)</figcaption></figure></div><p>In my previous post, I <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">challenged you with six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s discuss the 5th question and solve it step by step using everything we have learned previously.</p><p>The question goes like this:</p><blockquote><p>The Pauli-Y operator is defined as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1vG2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1vG2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:11052,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!1vG2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Find its eigenvalues and corresponding normalized eigenvectors.</p></blockquote><p>Let&#8217;s solve this step by step.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h4>What Are Eigenvectors?</h4><p>Given a square matrix <code>A</code> of size <code>n x n</code>, an <strong>Eigenvector</strong> is a non-zero vector <code>v</code> that, when multiplied by <code>A</code>, results in a scalar multiple of itself.</p><p>Eigenvectors multiplied by <code>A</code> just scales (stretches or compresses) them without rotation or change in direction.</p><p>Check out the following equation. The scalar &#955;<code> </code>in this equation is called the <strong>Eigenvalue</strong>.</p><p>Eigenvalue <code>&#955;</code> represents how much the eigenvector <code>v</code> is scaled (stretched or shrunk) by the transformation defined by the matrix <code>A</code>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TV3s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TV3s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 424w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 848w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 1272w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TV3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png" width="1238" height="88" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc95dd26-ddca-4db9-b71a-172650507389_1238x88.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:88,&quot;width&quot;:1238,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!TV3s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 424w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 848w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 1272w, https://substackcdn.com/image/fetch/$s_!TV3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc95dd26-ddca-4db9-b71a-172650507389_1238x88.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>where:</p><ul><li><p><code>A</code> is the square matrix </p></li><li><p><code>v</code> is the eigenvector of the matrix <code>A</code></p></li><li><p><code>&#955;</code> is the eigenvalue of the matrix <code>A</code></p></li></ul><p>In quantum mechanics, the square matrix <code>A</code> can represent <strong><a href="https://en.wikipedia.org/wiki/Operator_%28physics%29">Operators</a>.</strong></p><p>Operators are mathematical transformations that act on a quantum state to produce another quantum state.</p><div><hr></div><p><em>If you&#8217;re looking for a detailed introduction to Eigenvectors, Eigenvalues, and Operators, the following lesson will help.</em></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;eea7ff27-3039-48d0-9c31-48298c8d45e1&quot;,&quot;caption&quot;:&quot;Eigenvectors &amp; Eigenvalues are two important terms you will encounter multiple times when reading about Quantum Computing.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Introduction To Eigenvectors &amp; Eigenvalues Towards Quantum Computing&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-04-04T12:13:12.232Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!X52_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d07954a-0637-4ba6-8de2-e808b54e299f_437x592.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/an-introduction-to-eigenvectors-and&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:160573453,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:15,&quot;comment_count&quot;:0,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><h4>How to Calculate the Eigenvalues of Pauli-Y</h4>
      <p>
          <a href="https://www.intoquantum.pub/p/eigenvalues-and-eigenvectors-of-operator">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[How to Compute the Outcome Probabilities of Quantum Measurements]]></title><description><![CDATA[Solution to Question 4 of the ongoing quantum challenge.]]></description><link>https://www.intoquantum.pub/p/quantum-measurement</link><guid isPermaLink="false">https://www.intoquantum.pub/p/quantum-measurement</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 14 Nov 2025 07:22:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!10PT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!10PT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!10PT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!10PT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!10PT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!10PT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!10PT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!10PT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!10PT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!10PT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!10PT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feece29e4-5555-40ec-a457-5f2b66fd342f_2500x1667.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Source: <a href="https://newsroom.ibm.com/media-quantum-innovation?keywords=quantum&amp;l=5&amp;o=0#gallery_gallery_0:22084">IBM</a></figcaption></figure></div><p>In my previous post, I <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">challenged you with six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s discuss the 4th question and solve it step by step using everything we have learned previously.</p><p>The question goes like this:</p><blockquote><p>Given a qubit in the following state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XR-X!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XR-X!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13619,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!XR-X!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>If this qubit is measured in the computational basis, what is the probability of observing |0&gt;?</p></blockquote><p>This one is an easy one to solve. Let&#8217;s work on it!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><strong>Into Quantum is a reader-supported publication. To get access to all posts and grok Quantum computing like never before, consider becoming a paid subscriber. &#128640;&#11088;&#65039;</strong></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><p>On the computational basis {|0&gt;, |1&gt;}, a qubit is expressed in the form as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6Y_F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6Y_F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 424w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 848w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 1272w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6Y_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png" width="1176" height="70" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf7f8002-295d-4504-926e-93a750182177_1176x70.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:70,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12652,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178864010?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6Y_F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 424w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 848w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 1272w, https://substackcdn.com/image/fetch/$s_!6Y_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf7f8002-295d-4504-926e-93a750182177_1176x70.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>For our given qubit, when expressed in this form, the probability amplitude of |0&gt; is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X0Zl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X0Zl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 424w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 848w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 1272w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X0Zl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png" width="1176" height="128" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:128,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10449,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178864010?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X0Zl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 424w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 848w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 1272w, https://substackcdn.com/image/fetch/$s_!X0Zl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04a832a9-205a-412b-a57b-6dac60a76135_1176x128.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The probability of observing the state |0&gt; is the squared magnitude of this amplitude &#945;.</p><p>This is called <a href="https://en.wikipedia.org/wiki/Born_rule">Born&#8217;s rule</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1xwP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1xwP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 424w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 848w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 1272w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1xwP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png" width="1176" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17363,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178864010?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1xwP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 424w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 848w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 1272w, https://substackcdn.com/image/fetch/$s_!1xwP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7b1fe7-4728-4eea-a795-2815206c1c43_1176x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Similarly, the probability of observing the state |1&gt; is the squared magnitude of the amplitude &#946;.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!P8dX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!P8dX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 424w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 848w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 1272w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!P8dX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png" width="1176" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18536,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178864010?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!P8dX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 424w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 848w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 1272w, https://substackcdn.com/image/fetch/$s_!P8dX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ed2e18a-58eb-4929-8e05-e964cb592955_1176x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Both of these probabilities sum to 1, indicating that the quantum state is normalized correctly.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xT8y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xT8y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 424w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 848w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 1272w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xT8y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png" width="1176" height="142" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:142,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26968,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178864010?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xT8y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 424w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 848w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 1272w, https://substackcdn.com/image/fetch/$s_!xT8y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F802cfcaf-76f7-44be-9e48-88fd3ed3eda6_1176x142.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><p>This is a short but very important calculation in Quantum computing, which you must know about. </p><p>See you soon in the next lesson!</p><p><strong><a href="https://www.intoquantum.pub/subscribe">Consider becoming a paid subscriber to &#8216;Into Quantum&#8217; to master Quantum Computing from the ground up.</a></strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HWwb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HWwb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg" width="800" height="152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:152,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!HWwb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[How To Find The Inner Product of Two Qubits]]></title><description><![CDATA[Solution to Question 3 of the ongoing quantum challenge.]]></description><link>https://www.intoquantum.pub/p/inner-product</link><guid isPermaLink="false">https://www.intoquantum.pub/p/inner-product</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 07 Nov 2025 08:37:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!aRUF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aRUF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aRUF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aRUF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1824802,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178246558?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aRUF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!aRUF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb454326b-8dae-41a2-827f-bd09537a369b_2500x1667.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Source: <a href="https://newsroom.ibm.com/media-quantum-innovation?keywords=quantum&amp;l=100#gallery_gallery_0:22083">IBM</a></figcaption></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><strong>Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a paid subscriber. &#11088;&#65039;</strong></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In my previous post, I <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">challenged you with six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s discuss the third question and solve it step by step using everything we have learned previously.</p><p>The question goes like this:</p><blockquote><p>Given two qubits in the following states:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HgaO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HgaO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 424w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 848w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 1272w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HgaO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png" width="1314" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:1314,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20628,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/178246558?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HgaO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 424w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 848w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 1272w, https://substackcdn.com/image/fetch/$s_!HgaO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a1299d1-329b-4c68-9b02-1cb037601ed4_1314x130.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p>Find their inner product and tell whether the two states are orthogonal.</p></blockquote><p>Let&#8217;s solve it step by step.</p>
      <p>
          <a href="https://www.intoquantum.pub/p/inner-product">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[How To Find The Tensor Product Of Two Qubits]]></title><description><![CDATA[Solution to Question 2 of last week's quantum challenge.]]></description><link>https://www.intoquantum.pub/p/tensor-product</link><guid isPermaLink="false">https://www.intoquantum.pub/p/tensor-product</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 31 Oct 2025 02:01:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!AK34!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AK34!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AK34!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AK34!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AK34!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AK34!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AK34!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg" width="470" height="541" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:541,&quot;width&quot;:470,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AK34!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AK34!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AK34!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AK34!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b19ac82-3ca2-4f08-9854-f10b51cbddcb_470x541.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Richard Feynman, Massachusetts, 1984 (<a href="https://en.wikipedia.org/wiki/Richard_Feynman#/media/File:RichardFeynman-PaineMansionWoods1984_copyrightTamikoThiel_bw.jpg">Source</a>)</figcaption></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a paid subscriber. &#11088;&#65039;</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the last post, I challenged you with <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s move on to the second question and solve it step by step using everything we have learned previously.</p><p>The question goes like this:</p><blockquote><p><em>Given two qubits in the following states:</em></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BeAA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BeAA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BeAA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BeAA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BeAA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e057f30-24da-4d2f-a508-99f4fb24481a_1288x120.jpeg 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><blockquote><p><em>Find the tensor product between these states and express the result in the computational basis.</em></p></blockquote><div><hr></div><h4>Tensor Product Of Two Qubits</h4><p>We know from <a href="https://www.intoquantum.pub/i/156516073/tensor-products-of-matrices">previous lessons</a> that the tensor product of two vectors/ matrices combines them into a larger matrix.</p><p>For two ket vectors:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-_rv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-_rv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 424w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 848w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 1272w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-_rv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png" width="1272" height="238" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:238,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-_rv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 424w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 848w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 1272w, https://substackcdn.com/image/fetch/$s_!-_rv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde7c7a4a-214b-44a6-a5e4-b411226578ba_1272x238.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Their tensor product is:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6UeC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6UeC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 424w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 848w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 1272w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6UeC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png" width="1272" height="454" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:454,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6UeC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 424w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 848w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 1272w, https://substackcdn.com/image/fetch/$s_!6UeC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa433f407-2700-4e64-94fc-c10bbd9effd1_1272x454.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The given states <code>|a&gt;</code> and <code>|b&gt;</code> are on the computational basis as follows.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eUTF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eUTF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 424w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 848w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 1272w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eUTF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png" width="1272" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eUTF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 424w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 848w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 1272w, https://substackcdn.com/image/fetch/$s_!eUTF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf8ff2a0-3b36-463c-9090-ca9a1bcb3cee_1272x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>And they can be written in the vector form as follows.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4Idf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4Idf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 424w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 848w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 1272w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4Idf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png" width="1272" height="134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:134,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4Idf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 424w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 848w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 1272w, https://substackcdn.com/image/fetch/$s_!4Idf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8c4b69f-83d9-430b-b535-6368881e4806_1272x134.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Next, the tensor product between them is calculated as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xftx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xftx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 424w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 848w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 1272w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xftx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png" width="1272" height="224" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:224,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Xftx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 424w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 848w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 1272w, https://substackcdn.com/image/fetch/$s_!Xftx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe378e061-822a-42e7-af90-80fe9bd837d4_1272x224.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This result, on the computational basis for a system of two qubits, which is a set of four orthonormal states {<code>|00&gt;</code>, <code>|01&gt;</code>, <code>|10&gt;</code>, <code>|11&gt;</code>}, is written as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kFfY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kFfY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 424w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 848w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 1272w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kFfY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png" width="1272" height="132" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:132,&quot;width&quot;:1272,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kFfY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 424w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 848w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 1272w, https://substackcdn.com/image/fetch/$s_!kFfY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff75958a4-06cb-488c-8ca6-7ba2ddd3d4c6_1272x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><p>I hope that you were able to solve this question by hand. See you soon in the next lesson!</p><p><strong><a href="https://www.intoquantum.pub/subscribe">Consider becoming a paid subscriber to &#8216;Into Quantum&#8217; to master Quantum Computing from the ground up.</a></strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HWwb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HWwb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg" width="800" height="152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:152,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HWwb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HWwb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F992303ca-e68c-4125-8c09-4ecbb9101433_800x152.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[How To Check Whether A Qubit State Is Normalized?]]></title><description><![CDATA[Solution to Question 1 of this week's quantum challenge.]]></description><link>https://www.intoquantum.pub/p/how-to-check-whether-a-qubit-state</link><guid isPermaLink="false">https://www.intoquantum.pub/p/how-to-check-whether-a-qubit-state</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 25 Oct 2025 06:23:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!vn-P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vn-P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vn-P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vn-P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg" width="800" height="792" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:792,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!vn-P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vn-P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7c6a42fc-7c0d-47c2-a074-7b9be902fccf_800x792.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photograph of Albert Einstein&#8217;s desk taken a few hours after he died. Princeton, New Jersey, April 1955. (<a href="https://rarehistoricalphotos.com/einsteins-desk-photographed-day-death/">Source</a>)</figcaption></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><em><strong>Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a paid subscriber.</strong></em></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the last post, I challenged you with <a href="https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum">six questions</a> to help you strengthen the mathematical concepts that you need to master Quantum computing.</p><p>Let&#8217;s go to the first question and solve it step by step using everything that we have learned previously.</p><p>The question goes like this:</p><blockquote><p>A single qubit is in the state:</p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fCOL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fCOL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg" width="800" height="41" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:41,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fCOL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><blockquote><p>where <code>&#945; = 5/3&#8203; </code>and <code>&#946; = 4(i)/ 5</code>.</p><p>Verify if this is a valid quantum state by showing that it is normalized.</p></blockquote><div><hr></div><h4>Why Normalization?</h4><p>We know from the previous lessons that the following equation represents a single qubit&#8217;s state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fCOL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fCOL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg" width="800" height="41" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:41,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fCOL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fCOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0052068f-84b6-4195-ad94-70df99e461ab_800x41.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>where &#945; and &#946; are complex probability amplitudes.</p><p>The squares of these amplitudes<strong> </strong>represent the probability of obtaining either <code>|0&#10217;</code> or <code>|1&#10217;</code> when the qubit is measured.</p><p>Normalization means that the total probability of all possible outcomes of a qubit&#8217;s state (<code>|0&#10217;</code> or <code>|1&#10217;</code> in this case) equals 1.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V0TA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V0TA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 424w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 848w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 1272w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V0TA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png" width="800" height="52" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:52,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!V0TA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 424w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 848w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 1272w, https://substackcdn.com/image/fetch/$s_!V0TA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F855d8575-6d23-48b5-a325-ca1e4b3fd8cf_800x52.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>A qubit&#8217;s state must be normalized for it to be valid and make sense.</p><p><em>(You don&#8217;t want them to sum to 0.6, and then wonder why there&#8217;s a void of the rest of the 0.4? The world doesn&#8217;t work like that.)</em></p><div><hr></div><h4>Checking For Normalization</h4><p>Given the qubit has the probability amplitudes as <code>&#945; = 5/3&#8203; </code>and <code>&#946; = 4(i)/ 5</code>.</p><p>The square of the first probability amplitude is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qjuf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qjuf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qjuf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png" width="800" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qjuf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!Qjuf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd456b0cb-e8ce-4e14-b143-0c98882e85f5_800x76.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is the probability of obtaining <code>|0&gt;</code> when the qubit is measured.</p><p>The square of the second probability amplitude is:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ofTN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ofTN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ofTN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png" width="800" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ofTN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ofTN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61f03d86-6f5e-4de2-b720-864207b6c2b1_800x76.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Adding them up results in:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fvwa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fvwa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fvwa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png" width="800" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fvwa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 424w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 848w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 1272w, https://substackcdn.com/image/fetch/$s_!fvwa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a1f3ba3-5794-4d06-8e3a-0b7b365dc3ae_800x76.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is not equal to 1.</p><p>This means the qubit isn&#8217;t normalized and isn&#8217;t a valid state.</p><div><hr></div><p>I hope that you were able to solve this question by hand. See you soon in the next lesson!</p><p><strong><a href="https://www.intoquantum.pub/subscribe">Consider becoming a paid subscriber to &#8216;Into Quantum&#8217; to master Quantum Computing from the ground up.</a></strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Npx6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Npx6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 424w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 848w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 1272w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Npx6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png" width="800" height="152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:152,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Npx6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 424w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 848w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 1272w, https://substackcdn.com/image/fetch/$s_!Npx6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c97c7a8-be08-4164-ba04-3d07808bc66a_800x152.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Revisiting The Mathematics Of Quantum Computing]]></title><description><![CDATA[6 questions to grok the mathematics of Quantum Computing.]]></description><link>https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum</link><guid isPermaLink="false">https://www.intoquantum.pub/p/revisiting-the-mathematics-of-quantum</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Wed, 22 Oct 2025 16:28:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!EV0l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EV0l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EV0l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EV0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg" width="1408" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1408,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:683108,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EV0l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EV0l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e544520-55cb-4232-8214-f1542c8e53d7_1408x768.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Most concepts in Quantum mechanics aren&#8217;t intuitive and might not have macroscopic world alternatives to rely on.</p><p>For example, in the macroscopic world, observing a car does not alter its state, but in the quantum world, <a href="https://www.intoquantum.pub/p/observations-are-not-gentle-in-the">observing a particle does change it</a>.</p><p>This is the reason why Quantum phenomena are best described using mathematics, rather than English.</p><p>If you&#8217;re new to this publication, I would highly recommend learning about Quantum Mechanics/ Computing from a mathematical lens. </p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;196dd13b-54de-4ec3-8fed-5c9ea7d9bac3&quot;,&quot;caption&quot;:&quot;We are living in an exciting era.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;All The Math That You Need To Start Doing Quantum Computing (Part-1)&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;I help you to become great at AI and Quantum Computing &#128104;&#127995;&#8205;&#128187;&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-10T08:13:45.006Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a112027-a536-4d38-88cd-bad50d80df77_1000x750.bin&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoquantum.pub/p/all-the-math-that-you-need-to-start&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:152880217,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:35,&quot;comment_count&quot;:9,&quot;publication_id&quot;:3495564,&quot;publication_name&quot;:&quot;Into Quantum&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!hbaj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d95ac-214e-40d5-8cf2-236fccfba920_1080x1080.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><p>This week, we will revisit the mathematics of Quantum Computing and solidify our understanding of it through 6 questions. </p><p>I would love it if you could solve these by hand. I will reveal detailed solutions to them in the next post on this publication.</p><p>Let&#8217;s begin!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h4>Question 1: Normalization</h4><p>A single qubit is in the state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cwcj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cwcj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 424w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 848w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 1272w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cwcj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png" width="1288" height="66" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/46838b33-9cd9-481d-8283-6339072947d4_1288x66.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:66,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:8746,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cwcj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 424w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 848w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 1272w, https://substackcdn.com/image/fetch/$s_!cwcj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46838b33-9cd9-481d-8283-6339072947d4_1288x66.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>where &#945; = 5/ 3&#8203; and &#946; = 4(i)/ 5. </p><p>Verify if this is a valid quantum state by showing that it is normalized.</p><div><hr></div><h4>Question 2: Tensor Product of Qubits</h4><p>Given two qubits in the following states:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IinN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IinN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!IinN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!IinN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!IinN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IinN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14512,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IinN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!IinN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!IinN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!IinN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34629308-4a34-45eb-a4f8-521f14406a24_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Find the tensor product between these states and express the result in the computational basis.</p><div><hr></div><h4>Question 3: Inner Product of Qubits</h4><p>Given two qubits in the following states:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VM36!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VM36!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!VM36!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!VM36!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!VM36!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VM36!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19009,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VM36!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!VM36!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!VM36!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!VM36!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffcbaabf9-0158-4cb6-95ea-b029ff218fe2_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Find their inner product and tell whether the two states are orthogonal.</p><div><hr></div><h4>Question 4: Probability Amplitudes in Quantum Measurement</h4><p>Given a qubit in the following state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XR-X!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XR-X!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13619,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XR-X!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!XR-X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e7f41c7-22d8-4db1-8541-742f0c2eea93_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>If this qubit is measured in the computational basis, what is the probability of observing |0&gt;?</p><div><hr></div><h4>Question 5: Eigenvalues of the Pauli-Y Operator</h4><p>The Pauli-Y operator is defined as:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1vG2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1vG2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png" width="1288" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:11052,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1vG2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 424w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 848w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1272w, https://substackcdn.com/image/fetch/$s_!1vG2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84104247-c8d3-4070-8f8c-71966c8561a8_1288x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Find its eigenvalues and corresponding normalized eigenvectors.</p><div><hr></div><h4>Question 6: Measurement Probabilities in a Rotated Basis</h4><p>Given a qubit in the following state:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kpVa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png" width="1304" height="100" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8327108b-84cf-416d-a026-0a822db09d34_1304x100.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:100,&quot;width&quot;:1304,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18131,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/176840207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kpVa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 424w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 848w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1272w, https://substackcdn.com/image/fetch/$s_!kpVa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8327108b-84cf-416d-a026-0a822db09d34_1304x100.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>If we measure it in the Hadamard basis, what is the probability of obtaining |+&gt;?</p><div><hr></div><p><strong><a href="https://www.intoquantum.pub/subscribe">Subscribe to Into Quantum, a publication where we learn the most essential concepts in Quantum Computing from the ground up.</a></strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dryw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dryw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dryw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dryw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dryw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dryw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!dryw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dryw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dryw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dryw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8a30cf-31a0-4f0a-8404-4e405ead4fda_1344x256.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Linear Combinations Are The Secret Behind Quantum Mechanics]]></title><description><![CDATA[A lesson on Linear Algebra and why you should pay attention to it!]]></description><link>https://www.intoquantum.pub/p/linear-algebra</link><guid isPermaLink="false">https://www.intoquantum.pub/p/linear-algebra</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 09 Oct 2025 06:08:47 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!tzRV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tzRV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tzRV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 424w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 848w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 1272w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tzRV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png" width="1456" height="666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:666,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:671561,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/175268810?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tzRV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 424w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 848w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 1272w, https://substackcdn.com/image/fetch/$s_!tzRV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61d9437b-839b-40f0-a26b-b5158d439583_1866x854.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Into Quantum is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>This week&#8217;s newsletter is written by <strong><a href="https://www.linkedin.com/in/serenakp/overlay/about-this-profile/">Serena Krejci-Papa</a> </strong>from <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Science with Serena&quot;,&quot;id&quot;:313798683,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b6062aac-3380-420b-b7b8-799105102cb2_403x403.png&quot;,&quot;uuid&quot;:&quot;f21c1c9f-79ea-4bb0-950f-4112d9c9600a&quot;}" data-component-name="MentionToDOM"></span>.</p><p>She is an author who transforms complex topics in quantum science, physics &amp; chemistry into compelling stories for all audiences.</p><p>She graduated from Case Western Reserve University with a B.S. in Chemistry and is currently pursuing my masters in Theoretical and Computational Chemistry in the Erasmus Mundus Joint Master Program in Barcelona.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!95cn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!95cn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 424w, https://substackcdn.com/image/fetch/$s_!95cn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 848w, https://substackcdn.com/image/fetch/$s_!95cn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 1272w, https://substackcdn.com/image/fetch/$s_!95cn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!95cn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png" width="1456" height="760" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:760,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3702918,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/175268810?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!95cn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 424w, https://substackcdn.com/image/fetch/$s_!95cn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 848w, https://substackcdn.com/image/fetch/$s_!95cn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 1272w, https://substackcdn.com/image/fetch/$s_!95cn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4eca117-8d17-42a4-9029-8d0ab9cf6a78_2394x1250.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Follow and connect with her through the links below:</p><ul><li><p><a href="https://sciencewithserena.com">Website</a></p></li><li><p><a href="https://www.linkedin.com/in/serenakp/">LinkedIn</a> </p></li><li><p>Substack newsletter <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;The Quantum Notebook&quot;,&quot;id&quot;:3931851,&quot;type&quot;:&quot;pub&quot;,&quot;url&quot;:&quot;https://open.substack.com/pub/serenakrejcipapa&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/836553d8-1589-4701-8bb4-3a6082ff25bf_418x418.png&quot;,&quot;uuid&quot;:&quot;d8e85081-d701-4bb5-8192-1a2681ffdb36&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><a href="https://medium.com/@sciencewithserena">Medium blog</a></p></li></ul><p>Let&#8217;s get started!</p><div><hr></div><p><em>Wait!</em></p><p>Before you call me a nerd and click out of this article because I said linear algebra, hear me out.</p><p>Linear algebra is more than just a type of math; it&#8217;s the secret to the wonder and uniqueness of all the subjects you know and love, like quantum mechanics, machine learning, artificial intelligence, or computer science.</p><p>That&#8217;s right! </p><p>Linear algebra was the first person to be nice to these guys on freshman orientation day, and now they&#8217;re inseparable. So, if you want to get to know one, you&#8217;re going to have to get to know the other.</p><p>Relax. In the end, they&#8217;ll both be your friends.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aiDI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aiDI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 424w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 848w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 1272w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aiDI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png" width="724.90625" height="263.87384100274727" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:530,&quot;width&quot;:1456,&quot;resizeWidth&quot;:724.90625,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aiDI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 424w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 848w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 1272w, https://substackcdn.com/image/fetch/$s_!aiDI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8a6bd23-4cea-467f-9040-517b5f3ac65a_1600x582.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">This is a canon event&#8212;do not interfere.</figcaption></figure></div><p>Let&#8217;s get into it.</p><div><hr></div><h3><strong>Why Linear Algebra?</strong></h3><p>Linear algebra is like algebra except we perform operations with lines and multi-dimensional spaces instead of 2D points on a grid. </p><p>It&#8217;s extremely cool and an extremely powerful mathematical lens we can use to make sense of the world when it doesn&#8217;t make sense.</p><p>For example, it can explain why electrons don&#8217;t behave like tennis balls.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ply5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ply5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 424w, https://substackcdn.com/image/fetch/$s_!ply5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 848w, https://substackcdn.com/image/fetch/$s_!ply5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ply5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ply5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png" width="1379" height="720" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:720,&quot;width&quot;:1379,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ply5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 424w, https://substackcdn.com/image/fetch/$s_!ply5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 848w, https://substackcdn.com/image/fetch/$s_!ply5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ply5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d5a1af5-2e5c-4b3b-b904-8198d08f26f0_1379x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">See the resemblance?</figcaption></figure></div><p>Tennis balls can be modelled with continuous, single-valued functions because they behave like continuous single-valued functions: they go up, make an arch, and then come back down. </p><p>They never disappear and reappear somewhere else, or exist in two places at once.</p><p>Since we can see this behavior with our eyes, it&#8217;s only natural to presume that the entire world works like this, with continuous, single-valued functions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4nPV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4nPV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 424w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 848w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 1272w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4nPV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png" width="1377" height="690" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:690,&quot;width&quot;:1377,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4nPV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 424w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 848w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 1272w, https://substackcdn.com/image/fetch/$s_!4nPV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc54b5161-d486-4c56-8396-c5ea1ed043df_1377x690.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Not continuous, single-value functions.</figcaption></figure></div><p>Electrons don&#8217;t follow this rule.</p><p>They don&#8217;t release energy continuously like a tennis ball, but release energy in discrete values at specific but random intervals that are different every time. There is some rhyme and reason to it, but only the fact that some discrete energy values are more likely than others.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Nx2W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Nx2W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 424w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 848w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 1272w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Nx2W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png" width="1456" height="608" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:608,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:465014,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.intoquantum.pub/i/175268810?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Nx2W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 424w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 848w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 1272w, https://substackcdn.com/image/fetch/$s_!Nx2W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb85423bc-2712-4c90-bb20-52b49a8bdf50_2032x848.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">How the electron behaves. NOT continuous, NOT single-value, NOT a function.</figcaption></figure></div><p><em>What function can describe this?</em> </p><p>Functions &#8212; hell no, but linear algebra &#8212; hell yes!</p><div><hr></div><h3><strong>Linear Combinations</strong></h3><p>Linear combinations are a concept in linear algebra and the perfect mathematical tool to represent an electron. </p><p>They can represent one state as a combination of many, which is exactly what we need. Here&#8217;s what it looks like:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CA0q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CA0q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 424w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 848w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 1272w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CA0q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png" width="1343" height="567" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:567,&quot;width&quot;:1343,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CA0q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 424w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 848w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 1272w, https://substackcdn.com/image/fetch/$s_!CA0q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd9ff7ac-ca17-49ff-8188-86e71fc6afd5_1343x567.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">The magic of a linear combination</figcaption></figure></div><p>While that may look a tinge confusing now, it&#8217;s a concept you&#8217;re already familiar with.</p><p>Think of linear combinations like a compass: by labeling four directions or &#8220;states,&#8221; we can get anywhere we want to go.</p><p>Here are our states:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xkto!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xkto!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 424w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 848w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 1272w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xkto!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png" width="1235" height="451" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:451,&quot;width&quot;:1235,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Xkto!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 424w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 848w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 1272w, https://substackcdn.com/image/fetch/$s_!Xkto!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4302074-9ba2-4200-8ea5-1c0b985e8b20_1235x451.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And here are some possible combinations:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-03X!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-03X!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 424w, https://substackcdn.com/image/fetch/$s_!-03X!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 848w, https://substackcdn.com/image/fetch/$s_!-03X!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 1272w, https://substackcdn.com/image/fetch/$s_!-03X!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-03X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png" width="1237" height="393" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:393,&quot;width&quot;:1237,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-03X!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 424w, https://substackcdn.com/image/fetch/$s_!-03X!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 848w, https://substackcdn.com/image/fetch/$s_!-03X!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 1272w, https://substackcdn.com/image/fetch/$s_!-03X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd467a4c-c206-48df-bf09-88a2ea43cce2_1237x393.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>If we wanted to get more specific, we could do so as well. </p><p>That&#8217;s what the little letters up front are for. If we replace them with percentages, we can know exactly how much more of one direction we need than the other.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jCxv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jCxv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 424w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 848w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 1272w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jCxv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png" width="1456" height="488" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:488,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jCxv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 424w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 848w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 1272w, https://substackcdn.com/image/fetch/$s_!jCxv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F084c3404-1dbd-43bd-a7a4-e6c717ae8dbb_1536x515.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3><strong>Linear Combinations for Electrons</strong></h3><p>We can use the same idea for our electron&#8217;s energy states. Instead of considering our electron as one continuous release of energy, like a tennis ball, we can represent it as a combination of all the energy states it is likely to have.</p><p>Let&#8217;s call the total energy E and the energy states it can have E<sub>1</sub>,<sub> </sub>E<sub>2,</sub> and E<sub>3</sub>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!05bl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!05bl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 424w, https://substackcdn.com/image/fetch/$s_!05bl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 848w, https://substackcdn.com/image/fetch/$s_!05bl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 1272w, https://substackcdn.com/image/fetch/$s_!05bl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!05bl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png" width="1456" height="441" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:441,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!05bl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 424w, https://substackcdn.com/image/fetch/$s_!05bl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 848w, https://substackcdn.com/image/fetch/$s_!05bl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 1272w, https://substackcdn.com/image/fetch/$s_!05bl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8881a780-e435-4ddc-a34e-cda715cda751_1475x447.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Just like the compass!</figcaption></figure></div><p>To take care of the randomness problem, we can simply follow the same approach as we did for the compass. We put a little percentage up front that lets us know how likely each energy value is.</p><p>Since those are constants and we don&#8217;t know what they are yet, we can call them a<sub>1</sub>, a<sub>2</sub><em>,</em><sub> </sub>and<sub> </sub>a<sub>3</sub>. They are also called <em>Coefficients</em>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XLQQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XLQQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 424w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 848w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 1272w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XLQQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png" width="1456" height="365" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:365,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XLQQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 424w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 848w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 1272w, https://substackcdn.com/image/fetch/$s_!XLQQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca1758c-10eb-4880-a321-c6150878c643_1600x401.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Energy values with our coefficients</figcaption></figure></div><p>Finally, our electron needs to have discrete energy values. We need a mathematical tool that converts them into physical quantities, but allows us to count only specific numbers. </p><p>How about&#8230; Matrices?</p><p><a href="https://en.wikipedia.org/wiki/Matrix_(mathematics)">Matrices</a> are fancy tables that let us turn one set of numbers into another. They work to represent an electron&#8217;s energy states because only certain outcomes are allowed (which makes them discrete). </p><p>There&#8217;s a bit more to them, but that&#8217;s all you need for now.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sSfP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sSfP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 424w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 848w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 1272w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sSfP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png" width="1456" height="627" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:627,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sSfP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 424w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 848w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 1272w, https://substackcdn.com/image/fetch/$s_!sSfP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b31c13-fab7-427e-b8e8-f1475f28060b_1600x689.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Yes, this is really how it looks!</figcaption></figure></div><p>Put it all together, and what do we get? An accurate representation of an electron!</p><div><hr></div><h3><strong>The Best Part</strong></h3><p>Linear algebra is so important because it&#8217;s not just how we <em>do</em> quantum mechanics, but it <em>is</em> quantum mechanics.</p><p>What you might know as superposition is really just a linear combination of an electron&#8217;s energy states. </p><p>That&#8217;s also why it&#8217;s so important to learn the fundamentals of linear algebra if you want to dive into any of the subjects I mentioned at the beginning. </p><p>Machine learning, quantum mechanics, or computer science will become a lot easier once you know what they&#8217;re built on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qwnn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qwnn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 424w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 848w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 1272w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qwnn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png" width="1258" height="669" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:669,&quot;width&quot;:1258,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qwnn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 424w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 848w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 1272w, https://substackcdn.com/image/fetch/$s_!qwnn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5cd2d7e-216a-4f82-bf00-430a18b12bd4_1258x669.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">You, from now on!</figcaption></figure></div><p>That&#8217;s because, just like in life, the answer to your problems usually isn&#8217;t in what you&#8217;re looking at, but how you&#8217;re thinking about them.</p><p>Alright, that&#8217;s enough philosophy from me. I&#8217;ve got science to do.</p><p>See you next time!</p><div><hr></div><p>I want to thank Serena again for writing this valuable article! </p><p>Don&#8217;t forget to subscribe to <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;The Quantum Notebook&quot;,&quot;id&quot;:3931851,&quot;type&quot;:&quot;pub&quot;,&quot;url&quot;:&quot;https://open.substack.com/pub/serenakrejcipapa&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/836553d8-1589-4701-8bb4-3a6082ff25bf_418x418.png&quot;,&quot;uuid&quot;:&quot;cd0e87c5-97e0-4185-8b84-37099fcc030e&quot;}" data-component-name="MentionToDOM"></span> by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Science with Serena&quot;,&quot;id&quot;:313798683,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b6062aac-3380-420b-b7b8-799105102cb2_403x403.png&quot;,&quot;uuid&quot;:&quot;a04b3091-676a-4268-8524-72fdd634c8eb&quot;}" data-component-name="MentionToDOM"></span>.</p><div class="embedded-publication-wrap" data-attrs="{&quot;id&quot;:3931851,&quot;name&quot;:&quot;The Quantum Notebook&quot;,&quot;logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!U3bN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836553d8-1589-4701-8bb4-3a6082ff25bf_418x418.png&quot;,&quot;base_url&quot;:&quot;https://serenakrejcipapa.substack.com&quot;,&quot;hero_text&quot;:&quot;Covering interesting news, science topics, and a lot of quantum physics. &quot;,&quot;author_name&quot;:&quot;Science with Serena&quot;,&quot;show_subscribe&quot;:true,&quot;logo_bg_color&quot;:&quot;#fffbeb&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="EmbeddedPublicationToDOMWithSubscribe"><div class="embedded-publication show-subscribe"><a class="embedded-publication-link-part" native="true" href="https://serenakrejcipapa.substack.com?utm_source=substack&amp;utm_campaign=publication_embed&amp;utm_medium=web"><img class="embedded-publication-logo" src="https://substackcdn.com/image/fetch/$s_!U3bN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836553d8-1589-4701-8bb4-3a6082ff25bf_418x418.png" width="56" height="56" style="background-color: rgb(255, 251, 235);"><span class="embedded-publication-name">The Quantum Notebook</span><div class="embedded-publication-hero-text">Covering interesting news, science topics, and a lot of quantum physics. </div><div class="embedded-publication-author-name">By Science with Serena</div></a><form class="embedded-publication-subscribe" method="GET" action="https://serenakrejcipapa.substack.com/subscribe?"><input type="hidden" name="source" value="publication-embed"><input type="hidden" name="autoSubmit" value="true"><input type="email" class="email-input" name="email" placeholder="Type your email..."><input type="submit" class="button primary" value="Subscribe"></form></div></div><div><hr></div><p>Unlock access to every article on &#8216;Into Quantum&#8217; by becoming a paid subscriber:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoquantum.pub/subscribe&quot;,&quot;text&quot;:&quot;Join today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoquantum.pub/subscribe"><span>Join today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!h4Ac!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!h4Ac!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 424w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 848w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!h4Ac!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg" width="1344" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1344,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!h4Ac!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 424w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 848w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!h4Ac!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55175c3e-a4ed-46bf-93bc-fe54b8b38d91_1344x256.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[10% Extra Off - Just for You! 🍰]]></title><description><![CDATA[Hey there!]]></description><link>https://www.intoquantum.pub/p/10-extra-off-just-for-you</link><guid isPermaLink="false">https://www.intoquantum.pub/p/10-extra-off-just-for-you</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 29 Sep 2025 14:41:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZRck!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hey there! &#128075;&#127995;</p><p>Hope you&#8217;re doing well!</p><p>I&#8217;ve got some good news for you.</p><p>As you&#8217;re already part of my incredible community, I wanted to offer you an additional<strong> 10% discount</strong> on my <strong>Visual Tech bundle</strong>.</p><p>You know how learning technology can feel overwhelming sometimes?</p><p>Well, this bundle is designed to make it simple and visual, just the way your brain loves to learn.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZRck!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZRck!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 424w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 848w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 1272w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZRck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png" width="1456" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ZRck!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 424w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 848w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 1272w, https://substackcdn.com/image/fetch/$s_!ZRck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5c4ac-6948-4683-b015-90dd3b348d03_4752x1188.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>Here&#8217;s what you get:</strong></p><ul><li><p>4 Tech learning visual guides that actually make sense</p></li><li><p>Instant access to everything</p></li><li><p>Also, no PhD required (I promise!)</p></li></ul><p>Just head over to the following link and you&#8217;re done!</p><p><a href="https://track.gumroad.com/CL0/https:%2F%2Fbamaniaashish.gumroad.com%2Fl%2Fvisualtech%2FVISUALTECH10/1/010001998a13059c-28078aaf-9395-4b8c-ab0c-1e1da35346ca-000000/7yEMFMa0svfYmNtfhyZ3rTipkvrXpY3d1XiVTSLiARU=424">https://bamaniaashish.gumroad.com/l/visualtech/VISUALTECH10</a></p><p><strong>This extra discount is only available for the next 24 hours, so don&#8217;t miss out!</strong></p><p>Cheers,<br><em>Ashish</em></p>]]></content:encoded></item><item><title><![CDATA[Superdense Coding Explained Simply]]></title><description><![CDATA[Learn about Superdense Coding, a fascinating technique that makes it possible to send two classical bits of information using only one qubit.]]></description><link>https://www.intoquantum.pub/p/superdense-coding</link><guid isPermaLink="false">https://www.intoquantum.pub/p/superdense-coding</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 29 Sep 2025 14:18:46 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!s2OV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!s2OV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!s2OV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 424w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 848w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 1272w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!s2OV!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png" width="1200" height="654.5454545454545" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:768,&quot;width&quot;:1408,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!s2OV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 424w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 848w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 1272w, https://substackcdn.com/image/fetch/$s_!s2OV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32e02617-3ac4-40b3-b3c4-cc6ea56e1972_1408x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image generated with Google ImageFX</figcaption></figure></div><p><a href="https://en.wikipedia.org/wiki/Superdense_coding">Superdense coding</a> is a fascinating quantum communication protocol.</p><p>It involves transmitting two classical bits of information using only one qubit.</p><p>This is very different from classical computing, where if you want to send 2 bits of information, you will need to transmit 2 bits through a channel.</p>
      <p>
          <a href="https://www.intoquantum.pub/p/superdense-coding">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>