def qubit_satisfier(op, level):
    """
    check if a given operation acts on a certain number of qubits
    Parameters
    ----------
    op:
        the cirq operation
    level:
        the number of qubits in question

    Returns
    -------
    bool:
        whether or not the number of qubits in op is equal to level
    """
    oplen = len(op.qubits)
    return oplen == level