To specify the binary values to be measured (measurement result)
(0 or 1) for measured qubits, use the command:
M (bit labels,
);
* The ``bit labels'' is a string in the style of ``1-6'' (qubit 1
to qubit 6) and/or ``1 3 5'' (qubit 1, 3, and 5).
is the string of the binary values to be measured for
the qubits of ``bit labels''.
You may type like this:
M (1-8, 1 0 0 1 0 1 1 1);
The qubits that are not measured will properly transit to the state after the
measurement.
Example for the read-line mode:
> init 0 0;
> H(1); CN(1,2);
> showb;
0.707107|00> + 0.707107|11>
> M(1,0);
> showb;
1|00>