Practical Quantum Computing for Developers: Programming Quantum Rigs in the Cloud using Python, Quantum Assembly Language and IBM QExperience
暫譯: 開發者的實用量子計算:使用 Python、量子組合語言和 IBM QExperience 在雲端編程量子設備

Vladimir Silva

買這商品的人也買了...

相關主題

商品描述

Write algorithms and program in the new field of quantum computing. This book covers major topics such as the physical components of a quantum computer: qubits, entanglement, logic gates, circuits, and how they differ from a traditional computer. Also, Practical Quantum Computing for Developers discusses quantum computing in the cloud using IBM Q Experience including: the composer, quantum scores, experiments, circuits, simulators, real quantum devices, and more. You’ll be able to run experiments in the cloud on a real quantum device.
 
Furthermore, this book shows you how to do quantum programming using the QISKit (Quantum Information Software Kit), Python SDK, and other APIs such as QASM (Quantum Assembly). You’ll learn to write code using these languages and execute it against simulators (local or remote) or a real quantum computer provided by IBM’s Q Experience. Finally, you’ll learn the current quantum algorithms for entanglement, random number generation, linear search, integer factorization, and others. You’ll peak inside the inner workings of the Bell states for entanglement, Grover’s algorithm for linear search, Shor’s algorithm for integer factorization, and other algorithms in the fields of optimization, and more.
 
Along the way you’ll also cover game theory with the Magic Square, an example of quantum pseudo-telepathy where parties sharing entangled states can be observed to have some kind of communication between them. In this game Alice and Bob play against a referee. Quantum mechanics allows Alice and Bob to always win!
 
By the end of this book, you will understand how this emerging technology provides massive parallelism and significant computational speedups over classical computers, and will be prepared to program quantum computers which are expected to replace traditional computers in the data center.
 
What You Will Learn
  • Use the Q Experience Composer, the first-of-its-kind web console to create visual programs/experiments and submit them to a quantum simulator or real device on the cloud
  • Run programs remotely using the Q Experience REST API 
  • Write algorithms that provide superior performance over their classical counterparts
  • Build a Node.js REST client for authenticating, listing remote devices, querying information about quantum processors, and listing or running experiments remotely in the cloud
  • Create a quantum number generator: The quintessential coin flip with a quantum twist
  • Discover quantum teleportation: This algorithm demonstrates how the exact state of a qubit (quantum information) can be transmitted from one location to another, with the help of classical communication and quantum entanglement between the sender and receiver
  • Peek into single qubit operations with the classic game of Battleships with a quantum twist
  • Handle the counterfeit coin problem: a classic puzzle that consists of finding a counterfeit coin in a beam balance among eight coins in only two turns
 
Who This Book Is For
 
Developers and programmers interested in this new field of computing.  
 
 

商品描述(中文翻譯)

撰寫演算法並在量子計算的新領域中編程。本書涵蓋了量子電腦的主要主題,例如:量子位(qubits)、糾纏(entanglement)、邏輯閘(logic gates)、電路(circuits),以及它們與傳統電腦的不同之處。此外,實用量子計算開發者指南還討論了使用 IBM Q Experience 的雲端量子計算,包括:作曲器(composer)、量子分數(quantum scores)、實驗(experiments)、電路、模擬器(simulators)、真實量子設備(real quantum devices)等。您將能夠在雲端上運行真實量子設備的實驗。

此外,本書還展示了如何使用 QISKit(量子資訊軟體套件)、Python SDK 及其他 API(如 QASM(量子組合語言))進行量子編程。您將學會使用這些語言編寫代碼,並在模擬器(本地或遠端)或 IBM 的 Q Experience 提供的真實量子電腦上執行它。最後,您將學習當前的量子演算法,包括糾纏、隨機數生成、線性搜索、整數因式分解等。您將深入了解 Bell 狀態的內部運作、Grover 演算法的線性搜索、Shor 演算法的整數因式分解,以及其他優化領域的演算法。

在此過程中,您還將涵蓋與魔方(Magic Square)相關的博弈論,這是一個量子偽心靈感應的例子,其中共享糾纏狀態的各方可以觀察到彼此之間的某種通信。在這個遊戲中,愛麗絲(Alice)和鮑勃(Bob)對抗裁判。量子力學使愛麗絲和鮑勃總是能夠獲勝!

到本書結束時,您將了解這項新興技術如何提供巨大的平行處理能力和顯著的計算速度提升,超越傳統電腦,並將準備好編程量子電腦,這些電腦預計將取代數據中心中的傳統電腦。

您將學到什麼


  • 使用 Q Experience Composer,這是首個網頁控制台,用於創建可視化程序/實驗並將其提交給雲端的量子模擬器或真實設備

  • 使用 Q Experience REST API 遠程運行程序

  • 編寫提供優於其傳統對應物的演算法

  • 構建一個 Node.js REST 客戶端,用於身份驗證、列出遠端設備、查詢量子處理器的信息,以及在雲端遠程列出或運行實驗

  • 創建一個量子隨機數生成器:具有量子扭轉的經典擲幣

  • 發現量子傳送:這個演算法演示了如何在發送者和接收者之間,通過經典通信和量子糾纏的幫助,將量子位(量子信息)的確切狀態從一個位置傳輸到另一個位置

  • 透視單量子位操作,使用經典的戰艦遊戲(Battleships)進行量子扭轉

  • 處理偽幣問題:這是一個經典謎題,要求在八枚硬幣中僅用兩次稱重找到一枚偽幣

本書適合誰

開發者和程序員,對這個新興的計算領域感興趣。