prescribed_rotation#
- pulserver.protocol.prescribed_rotation()[source]#
Return the
(3, 3)rotation from logical to physical axes protocol values carry.An absent entry is the identity’s. The matrix is returned as the nearest orthonormal one, with its determinant’s sign, so a reflection stays one.
- Raises:
ValueError – If the entries are not orthonormal to the six significant digits the protocol carries.