.. role:: hidden :class: hidden-section .. currentmodule:: torchquantum.operator S = .. autoclass:: S :show-inheritance: .. automethod:: __init__ .. rubric:: Methods .. automethod:: S.func .. rubric:: Attributes .. autoattribute:: S.eigvals .. autoattribute:: S.matrix .. autoattribute:: S.num_params .. autoattribute:: S.num_wires .. autoattribute:: S.op_name .. autoattribute:: S.training