Practical Quantum Computing for Developers: Programming Quantum Rigs in the Cloud using Python, Quantum Assembly Language and 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.  
 
 

商品描述(中文翻譯)

撰寫量子計算領域的演算法並進行程式設計。本書涵蓋了量子計算的主要主題,如量子計算機的物理組件:量子位元、纏結、邏輯閘、電路,以及它們與傳統計算機的區別。此外,《實用量子計算指南》還介紹了使用IBM Q Experience在雲端進行量子計算的相關內容,包括:作曲家、量子分數、實驗、電路、模擬器、真實量子裝置等。您將能夠在雲端上運行實驗,並使用真實的量子裝置。

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

在學習的過程中,您還將涵蓋與魔術方塊相關的博弈論,這是量子偽超能力的一個例子,其中共享纏結狀態的各方之間可以觀察到某種通信。在這個遊戲中,愛麗絲和鮑勃與裁判對戰。量子力學使得愛麗絲和鮑勃總是能贏!

通過閱讀本書,您將了解這項新興技術如何提供大規模並行性和顯著的計算速度優勢,並準備好在數據中心中使用量子計算機取代傳統計算機。

您將學到什麼:
- 使用Q Experience Composer,這是一個首創的網頁控制台,可創建視覺化程式/實驗並將其提交到雲端上的量子模擬器或真實裝置
- 使用Q Experience REST API 遠程運行程式
- 編寫優於傳統對應程式的演算法
- 構建一個Node.js REST客戶端,用於驗證、列出遠程裝置、查詢有關量子處理器的信息,以及在雲端上列出或遠程運行實驗
- 創建一個量子數字生成器:具有量子變化的典型硬幣翻轉
- 探索量子傳輸:該演算法演示了如何在傳送者和接收者之間使用經典通信和量子纏結傳輸量子位元(量子信息)的確切狀態
- 透過具有量子變化的經典遊戲戰艦來了解單個量子位元操作
- 解決偽造硬幣問題:這是一個經典的謎題,其中在八個硬幣中的兩次翻轉中找到一個偽造硬幣

本書適合對這個新興計算領域感興趣的開發人員和程式設計師。

最後瀏覽商品 (1)