sf.physics.gaussian.rotation_symplectic

mrmustard.physics.gaussian.rotation_symplectic(angle)[source]

Symplectic matrix of a rotation gate.

The dimension depends on the dimension of the angle.

Parameters:

angle (scalar or vector) – rotation angles

Returns:

symplectic matrix of a rotation gate

Return type:

Tensor