def diagonalizing_gates(self):
    'Returns the list of operations such that they\n        diagonalize the observable in the computational basis.\n\n        Returns:\n            list(qml.Operation): A list of gates that diagonalize\n            the observable in the computational basis.\n        '
    raise NotImplementedError
Returns the list of operations such that they
diagonalize the observable in the computational basis.

Returns:
    list(qml.Operation): A list of gates that diagonalize
    the observable in the computational basis.
def diagonalizing_gates(self):
    'Returns the list of operations such that they\n        diagonalize the observable in the computational basis.\n\n        Returns:\n            list(qml.Operation): A list of gates that diagonalize\n            the observable in the computational basis.\n        '
    raise NotImplementedError