Pauli matrices, rotation, etc.

* 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).
  1. Pauli matrices
    1. NOT (bit labels);
    2. X (bit labels);
    3. Y (bit labels);
    4. Z (bit labels);
  2. Hadamard gate
    1. H (bit labels);
  3. Rotation Here, ``angle'' is the angle in radian (e.g. 0.78539816). To specify it in degree, add ``deg'' to the decimal numbers (e.g. 45deg).
    1. Rx (bit labels, angle);
    2. Ry (bit labels, angle);
    3. Rz (bit labels, angle);


root
2004-11-07