23

The title more or less says it all, but I guess I could add a bit of background and some specific examples I'm interested in.

Descriptive complexity theorists, such as Immerman and Fagin, have characterized many of the most well-known complexity classes using logic. For example, NP can be characterized with second-order existential queries; P can be characterized with first-order queries with a least-fixed point operator added.

My question is: Have there been any attempts, especially successful ones, at coming up with such representations for quantum complexity classes, such as BQP or NQP? If not, why not?

Thank you.

Update(moderator): this question is completely answered by this post on mathoverflow.

  • 1
    see Kaveh's question on MO: http://mathoverflow.net/questions/35236/is-there-a-syntactic-characterization-for-bpp-bqp-or-qma – Alessandro Cosentino Dec 01 '10 at 19:54
  • 1
    close as duplicate ? – Suresh Venkat Dec 01 '10 at 20:42
  • Well, the post on MO does answer my question entirely. –  Dec 01 '10 at 21:12
  • Only problem is, it won't let me close my own question as "exact duplicate" with the URL given. –  Dec 01 '10 at 21:13
  • 3
    To those who wonder why this question has been closed as off-topic (like me): Ignore the close reason because it is meaningless (as long as this question is concerned). Closing a question requires one of the several reasons. “Exact duplicate” would be the suitable reason, but the system does not allow us to close a question as an exact duplicate of a question on MathOverflow. Therefore, I guess that Suresh selected one of the available reasons randomly. – Tsuyoshi Ito Dec 01 '10 at 22:20
  • @Suresh: I don't think we should close this just because it appears on MathOverflow. We should just add an answer which copies the answer on MathOverflow (with proper attribution) and tick that. It is relevant to this site and adding the answer here might help people searching for relevant keywords (from the answer). 2c. Sorry if this has been discussed on meta, I have been away from this site for a while. – Aryabhata Dec 02 '10 at 02:48
  • @Moron: Do closed topics get deleted, necessarily? If the topic is closed but still exists in the archive, with the linked answer added by the moderator, isn't that more or less equivalent? Either way, though. –  Dec 02 '10 at 03:52
  • @Philip: They could. In any case, the words in the answer will not go into the full text index... – Aryabhata Dec 02 '10 at 03:54
  • @Philip: Although I wrote the accepted answer on MO, I don't think that answers this question. I don't know if a semantic/syntactic characterization says something about a descriptive complexity characterization. For example BPP is a semantic class (just like BQP), but BPP does have a descriptive complexity characterization. – Robin Kothari Dec 02 '10 at 04:16
  • Oh...I am confused then. What is a syntactic characterization, and how does this differ from a descriptive complexity representation? –  Dec 02 '10 at 04:33
  • @Philip: Your first question is answered here: http://cstheory.stackexchange.com/questions/1233/. I don't know if there is a relation between this and a descriptive complexity characterization. – Robin Kothari Dec 02 '10 at 05:10
  • @Robin: If a language has a descriptive complexity characterization, it means that it is exactly the queries (i.e. formulas) in a specific language, which gives a syntactic definition for the class, am I missing something? – Kaveh Dec 02 '10 at 08:09
  • 1
    ps: I think it might be reasonable to consider these cases in a similar to cross posting and do not close them. Someone (e.g. the OP) post a CW answer based on (or just a link to) the answer on MO. – Kaveh Dec 02 '10 at 08:13
  • @Kaveh: I don't know much about descriptive complexity characterizations, but if it implies a syntactic characterization, then how does BPP have a descriptive complexity characterization? (BPP is characterized in Randomisation and Derandomisation in Descriptive Complexity Theory.) – Robin Kothari Dec 02 '10 at 15:49
  • @Moron, all. I only closed because @philip indicated that he would have closed it himself. I'm happy to reopen if people (especially philip and robin) feel this way – Suresh Venkat Dec 02 '10 at 17:55
  • I don't mind if it's re-opened. –  Dec 02 '10 at 18:07
  • @Robin: The problem is what we consider as a logic, quoting from the introduction part of the paper: the caveat is that the logic BPIFP+C does not have an effective syntax* and thus is not a “logic” according to Gurevich’s [9] definition underlying the question for a logic that captures P.* ps: this looks like an interesting paper, thanks for the link. – Kaveh Dec 02 '10 at 18:22
  • I think it is a little bit unusual to have a non-effective syntax for a logic. pps: it seems that @all does not work. – Kaveh Dec 02 '10 at 18:36
  • @Kaveh: I see. So it is possible that there is a descriptive complexity characterization of BQP using the relaxed definition of "logic" that they use in the BPP paper? I think there is something to be answered here that wasn't in the other question. If reopened, I would request Kaveh to post his explanation of the syntactic vs descriptive complexity characterization as an answer, especially with regard to what one calls a valid descriptive complexity characterization. I think this connection is not very obvious. (And it's better if it appears as an answer than in the comments thread.) – Robin Kothari Dec 02 '10 at 19:20
  • Yes I agree. I am very curious to learn more about this. I voted to re-open it. –  Dec 02 '10 at 19:25
  • 2
    I re-opened the question. – Ryan Williams Dec 03 '10 at 04:43

2 Answers2

7

I think Robins's answer to my question on MO also answers this one.

A descriptive complexity characterization of a complexity class $C$ gives a language whose queries (i.e. formulas) are exactly the functions computable in $C$. The syntax of the language is usually very simple, i.e. given a string $q$ it is easy to check if $q$ is a well-formed query of the language, at least it is expected to be decidable (but usually syntax checking cen be done in a small complexity class). This would entail effective enumerablity of the problems in the class $C$ and would give a syntactic characterization for $C$. (If the complexity of syntax checking is low it might also imply the existence of a complete problem for the class.)

In the comments above, Robin linked to Kord Eickmeyer and Martin Grohe's paper "Randomization and Derandomization in Descriptive Complexity Theory" which gives a "descriptive complexity" characterization of $BPP$. The authors themselves note in the introduction that this is different from what is usually meant by a descriptive complexity characterization:

We prove that $BPIFP+C$, the probabilistic version of fixed-point logic with counting, captures the complexity class $BPP$, even on unordered structures. For ordered structures, this result is a direct consequence of the Immerman-Vardi Theorem [7, 8], and for arbitrary structures it follows from the observation that we can define a random order with high probability in BPIFP+C. Still, the result is surprising at first sight because of its similarity with the open question of whether there is a logic capturing $P$, and because it is believed that $P = BPP$. The caveat is that the logic $BPIFP+C$ does not have an effective syntax and thus is not a “logic” according to Gurevich’s [9] definition underlying the question for a logic that captures $P$. Nevertheless, we believe that $BPIFP+C$ gives a completely adequate description of the complexity class $BPP$, because the definition of $BPP$ is inherently ineffective as well (as opposed to the definition of $P$ in terms of the decidable set of polynomially clocked Turing machines).

I am not an expert in finite model theory/descriptive complexity (and personally would like to hear more from experts), but my feeling is that there is a little bit cheating here in saying that this is a descriptive complexity characterization. The reason for my feeling is that if we are allowed to have non-effective syntax, we can use arbitrary semantical restrictions to restrict the class of well-formed queries and can give a "descriptive complexity" characterization for any complexity class. For example, consider $SO(TC)$ (which captures $PSpace$), and then take exactly those queries which are computable in $BQP$; or consider the language that has one function symbol for each machine in $BQP$. Both of these capture $BQP$ but don't have an effective syntax.

Kaveh
  • 21,577
  • 8
  • 82
  • 183
7

Gurevich in formulating the conjecture about a logic that could capture $\mathsf{P}$ requires the logic to be computable in two ways: (1) the set of sentences legally obtainable from the vocabulary $\sigma$ has to be computable, given $\sigma$; and (2) the satisfiability relation needs to be computable from $\sigma$, i.e., ordered pairs consisting of a finite structure $M$ and a sentence $\varphi$ such that all models isomorphic to $M$ satisfy $\varphi$. Also, significantly for comparison with this randomized logic result, the vocabulary $\sigma$ has to be finite. (A vocabulary is a set of constant symbols and relation symbols, for example, equals sign, less-than sign, $R_1,R_2,\ldots$) This is a paraphrase of Definition 1.14 of this paper by Gurevich, which is reference [9] in the quote Kaveh gave.

The paper about BPP and randomized logic presents a significantly different framework. It starts with a finite vocabulary $\sigma$, and then considers a probability space of all vocabularies that extend $\sigma$ with some disjoint vocabulary $\rho$. So a formula is satisfiable in the new randomized logic if it is satisfiable in "enough" logics based on extensions of $\sigma$ by different $\rho$. This is my butchering of Definition 1 in the Eickmeyer-Grohe paper linked to by Robin Kothari. In particular, the vocabulary is not finite (well, each vocabulary is, but we have to consider infinitely many distinct vocabularies), the set of sentences of this logic is undecidable, and the notion of satisfiability is different from the one put forth by Gurevich.

Aaron Sterling
  • 6,994
  • 6
  • 42
  • 74