5 Nonlocal games: Implementing a multi-qubit simulator

 

This chapter covers

  • Programming a simulator for multiple qubits using the QuTiP Python package and tensor products
  • Recognizing the proof that quantum mechanics is consistent with our observations of the universe by simulating experimental results

In the previous chapter, we learned about nonlocal games and how we can use them to validate our understanding of quantum mechanics. We also learned how to represent states of multiple qubits and what entanglement is.

In this chapter, we will dive into a new Python package called QuTiP that will allow us to program quantum systems faster and has some cool built-in features for simulating quantum mechanics. Then we’ll learn how to use QuTiP to program a simulator for multiple qubits and see how that changes (or doesn’t!) the three main tasks for our qubits: state preparations, operations, and measurement. This will let us finish the implementation of the CHSH game from chapter 4!

5.1 Quantum objects in QuTiP

 
 
 

5.1.1 Upgrading the simulator

 

5.1.2 Measuring up: How can we measure multiple qubits?

 

5.2 CHSH: Quantum strategy

 
 
 

Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest