Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Mariia Mykhailova

Rating No ratings yet

Go beyond the basics with this in-depth guide to quantum programming. Here’s something you already know: quantum computing is a deep subject. Quantum Programming in Depth takes you beyond quantum basics and shows you how to take on practical quantum problem solving and programming using Q# and Qiskit. Author Mariia Mykhailova, a principal quantum applications software developer at PsiQuantum, guides you every step of the way. In Quantum Programming in Depth you’ll explore • Algorithms to solve challenging quantum computing problems • Writing quantum programs with Q# and Qiskit • Testing quantum programs with simulators and specialized tools • Evaluating performance of quantum programs on future fault-tolerant quantum computers Quantum Programming in Depth shows you how to do quantum computing outside the lab or classroom, presenting problems of quantum programming and demonstrating how they’re solved. You’ll learn to write quantum programs using Qiskit and Q#—and even how to test your quantum code using common testing tools like pytest. You’ll learn to prepare quantum states and implement operations, extract information from quantum states and operations, evaluate classical functions on a quantum computer, solve search problems, and more.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 Go beyond the basics with this in-depth guide to quantum programming. Here’s something you already know: quantum com… 【Book Arc】 - **Opening (~0%–12%)**: Here’s something you already know: quantum computing is a deep subject.; lem solved is available in both Qiskit and Q#. - **Early (~12%–35%)**: model, which is similar to analog classical computers.; n suitable for running on the target hardware. - **Middle (~35%–65%)**: ing bit strings into integers: Big-endian vs.; Unit tests verify the behavior of a single small component, such as our state preparation routine. - **Late (~65%–88%)**: 2 Apply the controlled-on-zero variant of operation A with the most significant qubit as control.; ode, they should pass as a result of executing this code. - **Ending (~88%–100%)**: After this, a measurement in the computational basis will let us figure out which of the states we started with, 〉 or 〉.; c 4 , and each of the states has a 0.5 probability of being identified correctly, giving us a 50% probability of the overall success. 【Key Takeaways】 - **Here’s something you a…** (Opening): Here’s something you already know: quantum computing is a deep subject. - **lem solved is availabl…** (Opening): lem solved is available in both Qiskit and Q#. - **l readers and between…** (Opening): l readers and between readers and the author can take place. - **model, which is simila…** (Early): model, which is similar to analog classical computers. - **n suitable for running…** (Early): n suitable for running on the target hardware. - **Governments and compan…** (Early): Governments and companies worldwide are paying increasing attention to quantum computing and investing in its continued development. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Page 6
uantum computing? 12 1.5 Learning quantum computing through quantum programming 13 1.6 Further reading 14 Part 1 Building your own library .....................
View in text
Excerpt 2
n suitable for running on the target hardware. Depending on the platform, various components of this layer can be responsible for optimizing the application...
View in text
Excerpt 3
port QuantumCircuit alpha, beta = 0.6, 0.8 Defines an empty circuit with one qubit circ = QuantumCircuit(1) theta = 2 * atan2(beta, alpha) Calculates the par...
View in text
Excerpt 4
e of the program to verify that it matches our expectations. We’ll see examples of the second approach later in the book, in chapter 8, when we look at using...
View in text
Excerpt 5
lting matrix can be retrieved using the method get_unitary. Listing 3.3 shows you how to modify listing 3.1 to get an instance of the simulator to use and ge...
View in text
Excerpt 6
import cossin def apply_arbitrary_unitary(n, u): if n == 1: return apply_one_qubit(u) circ = QuantumCircuit(n) left, cs, right = cossin(u, p=len(u) / 2, q=le...
View in text
Excerpt 7
t basis states is present in exactly two of the Bell states. In this scenario, the states can still be orthogonal (and you can check that Bell states are), b...
View in text
Excerpt 8
g the project should be a passing test. 4.7 Further reading Here is a short list of references that are good starting points if you want to learn more about...
View in text
Tags
AI categories
AI
Publish Year: 2025
Language: English
Pages: 290
File Format: PDF
File Size: 22.3 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…