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