Errata

Programming Quantum Computers

Errata for Programming Quantum Computers

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
ePub
Page In section titled 'Hands-on: Quantum Spy Hunter'
3rd paragraph after note box

She sets it to 'value' -> She sets it to 'send_val'.

Also, in Figure 2.19, according to code of Example 2-4, the middle qubit should be named 'fiber' rather than 'connection' (or the variable name in the code of Example 2-4 should be changed to 'connection').

Note from the Author or Editor:
Confirmed.
Page 35: Spy Hunter
> **Incorrect**: "She sets it to `value`, ..."
> **Corrected**: "She sets it to `send_val`, ..."

Example 2-4 (all instances)
> **Incorrect**: "fiber"
> **Corrected**: "connection"

Moez AbdelGawad  Oct 22, 2019 
Printed
Page 147 151 152
Figures

Given that Fig. 7-5 on Page 129 defines the QFT structure and Fig. 7-21 on p. 143 its inverse counterpart, Fig. 7-25 then shows the initial QFT with the image caption stating it to be the invQFT. This continues in Figs. 7-31 and 7-31, which both show the QFT circuit, yet state to display invQFT operations.This also continues up to Fig. 7-33.

Note from the Author or Editor:
Fig 7-21 and Fig 7-25 do show slightly different circuit arrangements, but in the end perform an equivalent (inverse QFT) operation on the qubits.

A future revision to the book should include an additional sentence. Specifically, the text appearing directly after Fig 7-25 on Pg 147 should read (the other authors may wish to edit this):

"Although this looks very similar to the QFT circuit, crucially the phases are different. Also note that Fig 7-25 differs from our first encounter with the inverse QFT in Fig 7-21. The two figures are, however, entirely equivalent. To see this, carefully keep track of the correspondence of the four qubits in each figure given the different positions of the two exchange operations. Though Fig 7-21 is a more conventional representation of the inverse QFT, Fig 7-25 is in a form that makes our following explanation a little easier"

Rupert Schauer  Feb 16, 2021