Reader small image

You're reading from  Quantum Computing Algorithms

Product typeBook
Published inSep 2023
PublisherPackt
ISBN-139781804617373
Edition1st Edition
Right arrow
Author (1)
Barry Burd
Barry Burd
author image
Barry Burd

Barry Burd received a master's degree in computer science at Rutgers University and a Ph.D. in mathematics at the University of Illinois. As a teaching assistant in Champaign–Urbana, Illinois, he was elected five times to the university-wide List of Teachers Ranked as Excellent by Their Students. Since 1980, Dr. Burd has been a professor in the department of mathematics and computer science at Drew University in Madison, New Jersey. He has spoken at conferences in the United States, Europe, Australia, and Asia. In 2020, he was honored to be named a Java Champion. Dr. Burd lives in Madison, New Jersey, USA, where he spends most of his waking hours in front of a computer screen.
Read more about Barry Burd

Right arrow

Chapter 4, Qubit Conspiracy Theories

    1. q1 is 1, q0 is 0.
    2. You can demonstrate that writing in the form open parentheses table row cell a subscript 0 end cell row cell a subscript 1 end cell end table close parentheses space circled times space open parentheses table row cell b subscript 0 end cell row cell b subscript 1 end cell end table close parentheses space is impossible. Here’s how:

    Assume (to the contrary) that open parentheses table row 1 row 0 row 0 row 1 end table close parentheses space equals space open parentheses table row cell a subscript 0 end cell row cell a subscript 1 end cell end table close parentheses space circled times space open parentheses table row cell b subscript 0 end cell row cell b subscript 1 end cell end table close parentheses space. Then, open parentheses table row 1 row 0 row 0 row 1 end table close parentheses space equals space open parentheses table row cell a subscript 0 b subscript 0 end cell row cell a subscript 0 b subscript 1 end cell row cell a subscript 2 b subscript 0 end cell row cell a subscript 1 b subscript 1 end cell end table close parentheses space.

    But since a subscript 0 b subscript 1 space equals space 0, either a subscript 0 space equals space 0 or b subscript 1 space equals space 0 .

    In the first case, a subscript 0 b subscript 0 must be 0 instead of 1. In the second case, a subscript 1 b subscript 1 must be 0 instead of 1. Either way, things don’t work out.

      1. from qiskit import QuantumCircuit
        circ = QuantumCircuit(2)
        circ.h(0)
        circ.cnot(0, 1)
        circ.x(1)
        circ.z(1)
        display(circ.draw('latex', initial_state=True))

      The resulting sphere looks like this:

      The |01 qubit’s phase is straight pi, and the |10 qubit’s phase is 0.

      1. There are eight ways to assign up-or-down arrows to the three measuring directions on the left. For the six ways that resemble the scenario in Figure 4.35, the probability of disagreement is 5 over 9. For the remaining two ways, the probability of disagreement is 1 (see...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Quantum Computing Algorithms
Published in: Sep 2023Publisher: PacktISBN-13: 9781804617373

Author (1)

author image
Barry Burd

Barry Burd received a master's degree in computer science at Rutgers University and a Ph.D. in mathematics at the University of Illinois. As a teaching assistant in Champaign–Urbana, Illinois, he was elected five times to the university-wide List of Teachers Ranked as Excellent by Their Students. Since 1980, Dr. Burd has been a professor in the department of mathematics and computer science at Drew University in Madison, New Jersey. He has spoken at conferences in the United States, Europe, Australia, and Asia. In 2020, he was honored to be named a Java Champion. Dr. Burd lives in Madison, New Jersey, USA, where he spends most of his waking hours in front of a computer screen.
Read more about Barry Burd