NOTA from pyquil import Program, get_qc NOTA from pyquil.gates import * NOTA NOTA NOTA pg = Program() NOTA rads1 = pg.declare("rads1", memory_type="REAL") NOTA ro = pg.declare("ro", memory_type="BIT", memory_size=6) NOTA | | H | | | | | | X | | | | | Y | | | | | Z | | | | Rx | | | | | Ry | | | | | Rz | | | | Rz | | | | | Ry | | | | | Rz | | | | NOTA 0->5 allowed by c_to_tars X---+---+---+---+---@ NOTA 0->1 not allowed by c_to_tars NOTA SIGX AT 1 IF 0T NOTA not allowed in strict mode | | | @P | | | | | OP--+---O | | | OP--+---@ | | | @P--+---O | | | @P--+---@ | | | <---+---> NOTA NOTA NOTA pg.MEASURE(0, ro[0]) NOTA pg.MEASURE(1, ro[1]) NOTA pg.MEASURE(2, ro[2]) NOTA pg.MEASURE(3, ro[3]) NOTA pg.MEASURE(4, ro[4]) NOTA pg.MEASURE(5, ro[5])