Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flips the result measurement display #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 7, 2021

  1. Flips the result measurement display

    When ran, Bob's received message was printing flipped (i.e. it printed "01" when it received "10"). The issue wasn't in the measurement, because when printing "res.measurements" it correctly assigned the values to the qubits from the message as expected.
    
    This correction flips the bitstring display so it prints the message correctly.
    
    The error might come from a change in how cirq saves measurements from simulators, but I'm not sure.
    roosado committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    79dc2ca View commit details
    Browse the repository at this point in the history