Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL
Q |
---|
Qiskit: setup | |||
---|---|---|---|
This entry continues from installation of QuTiP.
Qiskit comes with a super-quick introduction to Python and Jupyter notebooks. Visual Studio Code is a popular alternative to a web browser for hosting Jupyter notebooks, but to minimise the number of software components that can go wrong, we shall stick with a web browser (for which Mozilla Firefox is recommended). | |||
Quantum bit error rate (QBER) | ||||
---|---|---|---|---|
The quantum bit error rate (QBER) is the error rate affecting two bitstrings obtained as a result of the same quantum measurement performed on two different sets of quantum systems [Gra21, p. xvi]. See BB84 to put this definition in context. References
| ||||
Quantum supremacy | ||
---|---|---|
Qubit: physical realisation | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Creating a low voltage to represent a logical “0” and a high voltage to represent a logical “1” is straightforward. 🤷♂️ Creating a superposition of low and high voltages however is not. A quantum computer is commonly envisioned to be a machine that exploits the full complexity of a many-particle quantum wavefunction to solve computational problems [LJL+10].
For the construction of quantum computers, laser serves as an inspiration because it is quantum mechanics that enables laser waves to be generated in phase [LJL+10]. Just as there are many possible materials for lasers (e.g., crystals, organic dye molecules, semiconductors, free electrons), there are many materials under consideration for quantum computers; see [LJL+10] and [MM12, Ch. 6]. Quantum bits are often imagined to be constructed from the smallest form of matter, e.g., an isolated atom, through ion traps and optical lattices, but they can also be made in components far larger than consumer electronics, e.g., a superconducting system [LJL+10]. Below we discuss three main technologies [LLSK22, Sec. 6]: 1️⃣ trapped ions, 2️⃣ photonics, and 3️⃣ superconducting qubits. Trapped ions: Main idea is to use the two different internal states of a trapped atomic ion as a two-level system (i.e., qubit) [LLSK22, Sec. 6.2]. An ion trap uses electromagnetic fields and laser cooling to control the spatial position of an ion in vacuum and reduce the temperature of the ion [LLSK22, Sec. 6.2; BCSH21, Sec. 2]. Watch an introduction to the ion trap: Lasers or microwaves are used to control the internal states of an ion [BCSH21, Figure 1]. The internal control plus the Coulomb repulsion between ions combine to form conditional logic gates [BCSH21, Figure 1]. 👍: State preparation, qubit measurement, single-qubit and two-qubit gates can be performed with fidelities (> 99%) higher than what is required for quantum error correction [LLSK22, Sec. 6.2]. 👎: A large array of bulk optical components are necessary and these are difficult to address and measure, challenging scalability [LLSK22, Sec. 6.2]. Trapped-ion quantum computers (e.g., IonQ) are enjoying a reasonable level of commercial success [LLSK22, Sec. 6.2]. Photonics: Photonics has always been a prominent candidate for realising qubits [LLSK22]. For generating qubits, photonics offers the following advantages [SP19, PAB+20, LLSK22]:
Superconducting qubits: They are currently the leading contenders in the race for large-scale quantum computing [LLSK22]. Superconducting qubits are the technology big-tech companies like Google and IBM have been focusing on. In 2019, a large research team consisting of Google and multiple American and European universities demonstrated “quantum supremacy” on a programmable superconducting quantum processor called “Sycamore”, which consists of a two-dimensional array of 54 transmon qubits [AAB+19]:
References
| ||||||||||||||||||
QuTiP (Quantum Toolbox in Python): setup | |||
---|---|---|---|
There is no shortage of quantum computing frameworks/toolkits, including Google’s Cirq, Rigetti’s Forest SDK (including pyQuil), Microsoft’s Q#-based Quantum Development Kit, IBM’s Qiskit, Quipper, QuTiP, ETHZ’s Silq, Cambridge Quantum Computing’s tket. We shall use Qiskit because 1️⃣ it is among the most well-established (see Google Trends), and 2️⃣ it comes with rich learning resources.
We shall also use QuTiP, because while Qiskit is popular for quantum computing, QuTiP offers more features for quantum-dynamical simulations.
Watch an introduction to QuTiP: Using Qiskit and QuTiP means we are using Python but there are so many resources for learning Python it should not be an issue for a Bachelor/Master student to pick it up along the way. Even though the relevant computer pools will provide you with the required software, you need to install the software on your own computer(s) anyway, because you will not be able to finish any of the practicals within the allocated time. The allocated time is only for you to get enough supervision so that you can complete the remainder of the practical on your own. Our strategy here is to first install QuTiP, then Qiskit. The operating system of choice for many computer scientists and cryptograhers is Linux, but the setup guide here is only applicable to Windows, because UniSA computer pools have only Windows. Follow the instructions below (derived from the official instructions) to set up QuTiP:
Above, the backtick (`) is the line continuation character in PowerShell. Among the packages just installed, Official Conda documentation discourages using pip and conda together, but we need pip for Qiskit later. | |||