<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dr. Hong-Ye Hu on Medium]]></title>
        <description><![CDATA[Stories by Dr. Hong-Ye Hu on Medium]]></description>
        <link>https://medium.com/@hongyehu.physics?source=rss-69adbf3254ba------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NWkTWBqd4Uj3rivhfKKRMg.png</url>
            <title>Stories by Dr. Hong-Ye Hu on Medium</title>
            <link>https://medium.com/@hongyehu.physics?source=rss-69adbf3254ba------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:42:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hongyehu.physics/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to use Julia quantum simulation packages in Python]]></title>
            <link>https://medium.com/@hongyehu.physics/how-to-use-julia-quantum-simulation-packages-in-python-c4fc0f5a543b?source=rss-69adbf3254ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4fc0f5a543b</guid>
            <category><![CDATA[julia]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[quantum-simulator]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Dr. Hong-Ye Hu]]></dc:creator>
            <pubDate>Wed, 24 May 2023 15:10:50 GMT</pubDate>
            <atom:updated>2023-05-24T15:33:01.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*vg1NVwDPXB2t5aRaFjQsAQ.png" /><figcaption>A generative AI envisions a quantum computer based on neural atom architecture, which leverages two different species of atoms, precisely entrapped by laser technology.</figcaption></figure><p><a href="https://queracomputing.github.io/Bloqade.jl/dev/#Benchmarks"><strong>Bloqade</strong></a> is a cutting-edge package, written in Julia, dedicated to the rapid dynamics simulation of neural atom systems, specifically the Rydberg atom system. This software was launched by <a href="https://www.quera.com/"><strong>QuEra Computing Inc.</strong></a> in the last year and has since garnered favorable reviews for its superior performance. It boasts the support of GPU acceleration, resulting in significantly faster calculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Kyf8L-XGYJ_Una-uiwlYw.png" /><figcaption>Benchmark of Bloqade (Julia) with popular quantum simulator QuTip (Python). Credit: Bloqade Manual</figcaption></figure><p>However, what if one wishes to utilize a <strong>Python-based optimizer</strong> to manage pulse control or if the user is more comfortable with Python? How can they harness the power of Bloqade? The answer is more straightforward than one might expect, thanks to the assistance of JuliaCall.</p><p>First things first: you need to make sure JuliaCall is set up and ready to go in your current Python environment. Also, you should have your project.toml handy in the current directory. All the packages you need for your project - as listed in the project.toml file - should be installed and up-to-date. And, of course, we need to double-check that Bloqade is installed.</p><p>Let’s see how to use JuliaCall:</p><pre>from juliacall import Main as jl<br>import numpy as np<br>from juliacall import convert as jlconvert<br>import matplotlib.pyplot as plt</pre><p>First, we want to activate the Julia environment in the <em>project.toml</em></p><pre>jl.Pkg.activate(&quot;.&quot;)</pre><p>To import Julia packages, one can use jl.seval(&quot;String&quot;) function.</p><pre>jl.seval(&quot;using Bloqade&quot;)<br>jl.seval(&quot;using Yao&quot;)</pre><p>Julia supports a variety of data types. To facilitate interaction between Python and Julia, it’s necessary to appropriately convert Python data to Julia data types. This can be efficiently accomplished using juliaconvert. For example, we can transfer numpy arrays to julia arrays:</p><pre>jlconvert(jl.Array, np.array([1,2,3]))</pre><pre>3-element Vector{Int64}:<br> 1<br> 2<br> 3</pre><pre>jlconvert(jl.Array, np.array([[1,2,3],[3.4,5.6,7.8]]))</pre><pre>2×3 Matrix{Float64}:<br> 1.0  2.0  3.0<br> 3.4  5.6  7.8</pre><pre>jlconvert(jl.Array, np.array([[1j,2,3],[3.4,5.6,7.8]]))</pre><pre>2×3 Matrix{ComplexF64}:<br> 0.0+1.0im  2.0+0.0im  3.0+0.0im<br> 3.4+0.0im  5.6+0.0im  7.8+0.0im</pre><pre>jlconvert(jl.Symbol,&quot;a&quot;)</pre><pre>:a</pre><p>Alright, with the necessary preparations in place, we are now equipped to delve into the use of Bloqade. As an illustrative example, we will use a scenario detailed in the manual: the adiabatic preparation of the Z2-ordered state in a one-dimensional atom chain.</p><pre>nsites = 9<br>atoms = jl.Bloqade.generate_sites(jl.Bloqade.ChainLattice(), nsites, scale = 5.72)</pre><p>We can see that we generated a chain of nine atoms:</p><pre>atoms</pre><figure><img alt="png" src="https://cdn-images-1.medium.com/proxy/1*2fU01APLLwnDb3dZYdfeeQ.png" /><figcaption>The configuration of 9 atoms</figcaption></figure><p>Now let’s use a piecewise linear function to schedule the pulse of Rabi frenquency $\Omega$ and detuning $\Delta$:</p><pre>total_time = 3.0<br>Ω_max = 2*np.pi * 4<br>clocks = jlconvert(jl.Array, np.array([0.0, 0.1, 2.1, 2.2, total_time]))<br>values = jlconvert(jl.Array, np.array([0.0, Ω_max, Ω_max, 0, 0]))<br>Ω = jl.Bloqade.piecewise_linear(clocks = clocks, values = values)</pre><pre>Ω</pre><pre>⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Waveform{_, Float64}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ <br>                    ┌────────────────────────────────────────┐ <br>                  5 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⣀⣀⣀⢀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>   value / 2π (MHz) │⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⡜⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                  0 │⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀│ <br>                    └────────────────────────────────────────┘ <br>                    ⠀0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀clock (μs)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀3⠀</pre><pre>U1 = -2*np.pi * 10<br>U2 = 2*np.pi * 10<br>clocks = jlconvert(jl.Array, np.array([0.0, 0.6, 2.1, total_time]))<br>values = jlconvert(jl.Array, np.array([U1, U1, U2, U2]))<br>Δ = jl.Bloqade.piecewise_linear(clocks = clocks, values = values)</pre><pre>Δ</pre><pre>⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Waveform{_, Float64}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ <br>                    ┌────────────────────────────────────────┐ <br>                 20 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠖⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>   value / 2π (MHz) │⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢤⡤⠾⠥⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠖⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠒⠒⠒⠒⠒⠒⠒⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                -20 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ <br>                    └────────────────────────────────────────┘ <br>                    ⠀0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀clock (μs)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀3⠀</pre><p>The time-dependent Hamiltonian is generated by:</p><pre>h = jl.Bloqade.rydberg_h(atoms,Δ=Δ, Ω=Ω)</pre><pre>reg = jl.Bloqade.zero_state(9)<br>prob = jl.Bloqade.SchrodingerProblem(reg, total_time, h)</pre><pre>integrator = jl.Bloqade.init(prob, jl.Bloqade.Vern8())</pre><p>Now, we can calculate some expectation values. For example, we want to get the Pauli Z expectation value of the first atom. To achieve this, we need to use some functions provided by Yao, since Bloqade is a package based on Yao, and the wavefunction register is defined by Yao:</p><p>(comment: In Yao, the operators are defined with YaoBlocks, and it is usually easy to write with Julia.Pair. However, we believe there is a bug in JuliaCall that will generate a tuple instead of Julia.Pair, so we use the following solution)</p><pre>obs_Z = jl.Yao.PutBlock(9, jl.Yao.Z,(1,))</pre><pre>obsZ_lists = []<br>for _ in jl.Bloqade.TimeChoiceIterator(integrator,jl.LinRange(0,total_time,100)):<br>    obsZ = jl.Yao.expect(obs_Z, reg)<br>    obsZ_lists.append(obsZ)</pre><pre>plt.plot(np.linspace(0,total_time,100),obsZ_lists)</pre><figure><img alt="png" src="https://cdn-images-1.medium.com/proxy/1*q79JUgaLcaCe6szn0LkqkQ.png" /><figcaption>The expectation of Pauli Z of the first qubit as a function of time.</figcaption></figure><p>Now let’s get the Rydberg density of all the atoms during the evolution:</p><pre>reg = jl.Bloqade.zero_state(9)<br>prob = jl.Bloqade.SchrodingerProblem(reg, total_time, h)<br>integrator = jl.Bloqade.init(prob, jl.Bloqade.Vern8())<br>densities = []<br>for _ in jl.Bloqade.TimeChoiceIterator(integrator, jl.LinRange(0,total_time,100)):<br>    densities.append(jl.Bloqade.rydberg_density(reg))</pre><pre>densities = np.array(densities)</pre><pre>fig, ax = plt.subplots(figsize = (10, 4))<br>shw = ax.imshow(np.transpose(densities), interpolation = &quot;nearest&quot;, aspect = &quot;auto&quot;, extent = [0, total_time, 0.5, nsites + 0.5])<br>ax.set_xlabel(&quot;time (μs)&quot;)<br>ax.set_ylabel(&quot;site&quot;)<br>ax.set_xticks(np.linspace(0,total_time,10))<br>ax.set_yticks(np.arange(nsites)+1)<br>bar = fig.colorbar(shw)</pre><figure><img alt="png" src="https://cdn-images-1.medium.com/proxy/1*__1SnQa_0mejyzFp1udAQA.png" /><figcaption>Rydberg density of 9 atoms as a function of time.</figcaption></figure><p>Now, we have successfully reproduced the figure of the density adiabatic evolution of 9 atoms!</p><p><strong>Acknowledgment</strong>: We thank the authors of Bloqade, especially Dr. Chen Zhao, for their assistance in preparing this tutorial.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4fc0f5a543b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum state tomography for general people]]></title>
            <link>https://medium.com/@hongyehu.physics/quantum-state-tomography-for-general-people-1e1b9612e7c2?source=rss-69adbf3254ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e1b9612e7c2</guid>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[quantum-mechanics]]></category>
            <category><![CDATA[quantum-state-tomography]]></category>
            <category><![CDATA[quantum-technologies]]></category>
            <dc:creator><![CDATA[Dr. Hong-Ye Hu]]></dc:creator>
            <pubDate>Sun, 26 Feb 2023 06:34:29 GMT</pubDate>
            <atom:updated>2023-02-26T06:34:29.266Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Quantum state tomography</strong> is an essential <strong>quantum technology</strong> underlying the characterization of quantum devices and the discrimination of quantum states. It aims to reconstruct the density matrix from repeated measurements of identically prepared copies of a quantum system. Okay, what do those words mean?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSx1SHTlBskzIvOavJdaAw.png" /><figcaption>Image credit: PhD Comics</figcaption></figure><p>The quantum system is like the black box in the cartoon. It can be some quantum device/computer we build or some weird quantum mechanical systems that Nature prepares for us. Humans are curious creatures, so we want to know what is inside this quantum black box. Usually, we would like to open the box and see what is going on. However, this method fails here. And interestingly, the reason why it fails is fundamentally related to how Nature stores quantum information. And you will see while classical bits do not have privacy, quantum bits, aka qubits, do have <strong>privacy</strong>.</p><p>If you want to look into their private life, they will not yield! The weirdness of quantum life comes from two points:</p><ol><li>The qubits can live a superposition life</li><li>You cannot look at every aspect of their life</li></ol><h3>Things can live a superposition life</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RoZVhTJUycFFMm1_BQM1gw.png" /><figcaption>Schodinger’s cat and state collapse due to measurement</figcaption></figure><p>You may already hear there is a famous cat in physics history called Schodinger’s cat. This cat risks its life to demonstrate the quantum superposition. As you can see, the quantum bits visualized as spin-up(1), and spin-down(0), can be in superposition. Loosely speaking, it can be simultaneously 0 and 1. If you think this is not weird, map spin-up(1) as a living cat, and spin-down(0) as a dead cat. Then, inside this quantum black box, the cat is living and dead simultaneously. This is the actual quantum state of that cat, and that is what we want to see inside the black box!</p><p>However, as we discussed, the quantum cat has its privacy. Any measurement of a quantum system is destructive. If you want to look inside the quantum black box, you need as least flash some light, then the photon will hit those delicate quantum objects, and it changes the system from its original state. That is one reason. And more fundamentally, the destructiveness of measurement is related to axioms of quantum mechanics and quantum system can be in superposition states. In other words, once you make measurements to see the cat inside the box, it will be either living or dead. It will not reveal its original quantum state to you! As an analogy (<em>maybe not a very good analogy, because living cells fundamentally cannot live a superposition life unless it is entangled to a quantum system</em>), you can think if we want to use laser light to measure some quantities of a living cell, the laser will create stress for the cell, and what you see will deviate from the original state of the cell.</p><h3>Things cannot be simultaneously measured</h3><p>Things can have different aspects. For example, a cake can have color and shape. Like the cake, a quantum object can also have different aspects, for example, spin information in z-direction or in x-direction. The fundamental difference is that for a cake, you can learn its color and shape simultaneously, while it is forbidden for the quantum system if those two aspects do not commute (some mathematical definition of two observables that cannot be measured simultaneously). For example, suppose we have a quantum cake inside a holy box, and its shape can be square or round, color can be red or blue. There is an honest elf that guards the quantum cake. We can ask the elf what is the color of the cake or what is the shape of the cake. But if we ask the elf what is the color <strong>AND</strong> the shape of the cake, the elf wouldn’t tell us. Instead, this answer is fundamentally forbidden.</p><p>You may think, “Okay, if that is the case, I can ask for the shape and color sequentially, then I can get the full information!” Once again, you are tricked by quantum magic. The following scenario can happen: First, you ask for the color. The elf tells you it is red. Then you ask for the shape, and the elf tells you it’s round. Before you leave, you want to check again for the answer. So you ask the elf what the color is once again. And the elf tells you it is blue! How could this happen? The elf is forbidden to lie! While this is quantum magic, it also has something to do with superposition. I think this fairytale can give you some taste of how weird the quantum world can be and how hard to understand what is inside the quantum black box fully.</p><h3>Why should we care about quantum state tomography?</h3><p>Even though the quantum world is weird, scientists can design experiments to fully unveil the quantum black box and understand the cat is living and dead simultaneously in the quantum box. This procedure is called <strong>Quantum state tomography (QST)</strong>. QST is very important. Scientifically, we would like to understand Nature prepared quantum systems. For example, quantum materials, such as superconductors, exhibit weird and beautiful behaviors. Once we understand those properties, we can utilize their properties to benefit society.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1p_ZTa0oYcYAKghedNjVQ.png" /><figcaption>Bit string and Qubit string</figcaption></figure><p>On the other hand, the scale that humans can control and manipulate marks the level of our engineering ability. We want to build and manipulate quantum information just like we build computers and manipulate classical information. In the era of classical computing, we store everything on a string of bits, such as 0s and 1s, and we build a classical machine to manipulate them. We code programs to do calculations so that we can buy things online, which saves us during the pandemic. If we can build a quantum machine, such as a quantum computer, it will operate on the string of quantum bits, like the second row of the cartoon. We want to read those quantum memories, and QST may help. If in the near future, a quantum machine can be built, and we can manipulate quantum information, that will be a new era.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e1b9612e7c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>