For Boolean decision trees, the task is to compute the value of an
n-bit
Boolean function f: \{0,1\}^n \to \{0,1\} for an input x \in \{0,1\}^n. The queries correspond to reading a bit of the input, x_i, and the output is f(x). Each query may be dependent on previous queries. There are many types of computational models using decision trees that could be considered, admitting multiple complexity notions, called
complexity measures.
Deterministic decision tree If the output of a decision tree is f(x), for all x\in \{0,1\}^n, the decision tree is said to "compute" f. The depth of a tree is the maximum number of queries that can happen before a leaf is reached and a result obtained.
D(f), the
deterministic decision tree complexity of f is the smallest depth among all deterministic decision trees that compute f.
Randomized decision tree One way to define a
randomized decision tree is to add additional nodes to the tree, each controlled by a probability p_i. Another equivalent definition is to define it as a distribution over deterministic decision trees. Based on this second definition, the complexity of the randomized tree is defined as the largest depth among all the trees in the support of the underlying distribution.
R_2(f) is defined as the complexity of the lowest-depth randomized decision tree whose result is f(x) with probability at least 2/3 for all x\in \{0,1\}^n (i.e., with bounded 2-sided error).
R_2(f) is known as the
Monte Carlo randomized decision-tree complexity, because the result is allowed to be incorrect with bounded two-sided error. The
Las Vegas decision-tree complexity
R_0(f) measures the
expected depth of a decision tree that must be correct (i.e., has zero-error). There is also a one-sided bounded-error version which is denoted by
R_1(f).
Nondeterministic decision tree The nondeterministic decision tree complexity of a function is known more commonly as the
certificate complexity of that function. It measures the number of input bits that a
nondeterministic algorithm would need to look at in order to evaluate the function with certainty. Formally, the certificate complexity of f at x is the size of the smallest subset of indices S \subseteq [n] such that, for all y \in \{0,1\}^n, if y_i = x_i for all i \in S, then f(y) = f(x). The certificate complexity of f is the maximum certificate complexity over all x. The analogous notion where one only requires the verifier to be correct with 2/3 probability is denoted RC(f).
Quantum decision tree The quantum decision tree complexity
Q_2(f) is the depth of the lowest-depth quantum decision tree that gives the result f(x) with probability at least 2/3 for all x\in \{0,1\}^n . Another quantity,
Q_E(f), is defined as the depth of the lowest-depth quantum decision tree that gives the result f(x) with probability 1 in all cases (i.e. computes f exactly). Q_2(f) and Q_E(f) are more commonly known as
quantum query complexities, because the direct definition of a quantum decision tree is more complicated than in the classical case. Similar to the randomized case, we define Q_0(f) and Q_1(f). These notions are typically bounded by the notions of degree and approximate degree. The
degree of f, denoted \deg(f), is the smallest degree of any polynomial p satisfying f(x) = p(x) for all x \in \{0,1\}^n. The
approximate degree of f, denoted \widetilde{\deg}(f), is the smallest degree of any polynomial p satisfying p(x) \in [0,1/3] whenever f(x) = 0 and p(x) \in [2/3, 1] whenever f(x) = 1. Beals et al. established that Q_0(f) \geq \deg(f)/2 and Q_2(f) \geq \widetilde{\deg}(f)/2. ==Relationships between Boolean function complexity measures==