SwapGate ======== .. currentmodule:: bqskit.ir.gates .. autoclass:: SwapGate() :show-inheritance: .. automethod:: __init__ .. rubric:: Attributes .. autosummary:: :toctree: ~SwapGate.dim ~SwapGate.name ~SwapGate.num_params ~SwapGate.num_qudits ~SwapGate.qasm_name ~SwapGate.radixes .. rubric:: Methods .. autosummary:: :toctree: ~SwapGate.check_env_matrix ~SwapGate.check_parameters ~SwapGate.get_grad ~SwapGate.get_inverse ~SwapGate.get_inverse_params ~SwapGate.get_qasm ~SwapGate.get_qasm_gate_def ~SwapGate.get_unitary ~SwapGate.get_unitary_and_grad ~SwapGate.is_constant ~SwapGate.is_parameterized ~SwapGate.is_qubit_only ~SwapGate.is_qudit_only ~SwapGate.is_qutrit_only ~SwapGate.is_self_inverse ~SwapGate.optimize ~SwapGate.with_all_frozen_params ~SwapGate.with_frozen_params