def METHOD_NAME(self) -> Resources:
    r"""Compute the resources required for this operation.
    Returns:
        Resources: The resources required by this operation.
    **Examples**
    >>> class CustomOp(ResourcesOperation):
    ...     num_wires = 2
    ...     def resources(self):
    ...         return Resources(num_wires=self.num_wires, num_gates=3, depth=2)
    ...
    >>> op = CustomOp(wires=[0, 1])
    >>> print(op.resources())
    wires: 2
    gates: 3
    depth: 2
    shots: Shots(total=None)
    gate_types:
    {}
    gate_sizes:
    {}
    """