I created a Bloch rotation matrix in two different ways that should be equivalent, but they produce slightly different answers. I would like to know if there is a bug OR (more likely) something I don't understand. Please see attached notebook for a simple example.
Nikolay: Thanks, your suggestion indeed worked. And I found two other forms that work as well in the meantime..