4 Analyze quantum states

 

This chapter covers

  • Using quantum measurements to extract information about quantum states
  • Implementing quantum measurements using Q# and Qiskit
  • Analyzing quantum measurement outcomes
  • Writing tests to validate information extracted using measurements

As we discussed in chapter 2, a typical quantum algorithm follows a standard sequence of steps (see figure 4.1): prepare the initial state of the quantum system, modify it as prescribed by the algorithm, and then extract the answer using measurements. In chapter 2, we learned to implement the first step, preparing the quantum system in the given state, and in chapter 3, we covered the second step, implementing the unitary transformations to modify the quantum state as required by the algorithm.

Figure 4.1 Any quantum algorithm can be broken down into several steps: prepare the initial state, evolve it following the algorithm, and measure the end state to get the result. In this chapter, we’ll learn to work with the final step, measuring the state of the system to extract information about it.
figure

In this chapter, we’ll focus on the final step of a quantum algorithm: extracting the information about the state of the system. We will learn to use quantum measurements — the only way to get information out of a quantum system.

One of the most prominent ways in which quantum computing differs from classical is the difference in how you read out information about the system. In the classical world:

4.1 Read out information from a quantum system

 
 

4.1.1 Math

 
 

4.1.2 Qiskit

 
 
 

4.1.3 Q#

 
 
 
 

4.2 Distinguish superposition states that consist of distinct basis states

 

4.2.1 Math

 
 
 

4.2.2 Qiskit

 

4.2.3 Q#

 
 
 

4.3 Distinguish superposition states that consist of overlapping basis states

 

4.3.1 Math

 
 

4.3.2 Qiskit

 
 
 

4.3.3 Q#

 
 
 

4.4 Distinguish non-orthogonal states with minimum error

 

4.4.1 Math

 
 

4.4.2 Qiskit

 
 
 

4.4.3 Q#

 
 
 

4.5 Reconstruct the state from multiple copies

 
 

4.5.3 Q#

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage