The instruction measure_z
will measure a qubit in the z-basis.
The instruction measure
can be used as a shorthand notation for measure_z
(default measurement is always in the z-basis).
- 00000
- 00001
- 00010
- 00011
- 00100
- 00101
- 00110
- 00111
- 01000
- 01001
- 01010
- 01011
- 01100
- 01101
- 01110
- 01111
- 10000
- 10001
- 10010
- 10011
- 10100
- 10101
- 10110
- 10111
1.0
0.8
0.6
0.4
0.2
0.0