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