Wednesday, September 10, 2014

Logic: Classical, Quantum, Modal



In class last week, one of the professors brought up the notion of different types of logic. I saw the words binary, quantum, and modal written on the board so I tried to find out a bit more about them. Here is a quick summary of what I found.
Classical logic forms its basis on the principle of bivalence. Basically, every declarative can either be true or false. This type of logic is also referred to as Boolean logic in the STEM world (0 for false, 1 for true.) In this type of logic, only the maximum (1) and minimum (0) values are allowed. Nothing in-between exists in this logic world. Classical logic also introduced many properties of logic that are used today, such as the law of the excluded middle, commutativity of conjunction, and the De Morgan duality. A brief example of classical logic statements are as follows; All Ps are Q, Some Ps are Q, No Ps are Q, and Some Ps are not Q

Quantum logic was developed in 1936 by Garrett Birkhoff and John von Neumann, who had several problems with using classical logic in the quantum era. Basically, the introduction of complementary variables in quantum mechanics, which are variables that cannot be measured accurately at the same time (think electron position and momentum), made classical logic inconsistent. In quantum logic, values can range in between the maximum and minimum values. For example, one variable may range from 0 to 1, while another ranges from 1 to 3 and yet another 0 to 1/6.

Modal logic was formally developed in the 1960’s. The basic goal of modal logic was to extend classical (binary logic) to include modality operators. These qualifiers come in several different forms, including alethic, temporal, denotic, epistemic, or doxastic. With modal logic, we turn statements like “the electron is here” to “the electron is usually here”. In Alethic logic (aka classical modal logic), a proposition can be possible, necessary, or contingent, instead of just the true and false values denoted by binary logic. On the other hand, temporal logic uses statements qualified by time like “I am always hungry”, “I will eventually be hungry” or “I will be hungry until I eat something.”
To me, the paradigm shift between classical and quantum logic was straightforward. Scientists realized that there was not a yes or no answer to every question they were asked, especially when some sort of distributive logic was used. For example, if asked about an electrons momentum and velocity, only probabilities exist. You simply cannot know both parts of this complementary pair. On the other hand, it seemed like modal logic was just an extension of quantum logic that was easier to apply to non-science matters. Spin numbers on an electron ranging between 0 and some small fraction may make sense to scientists, but qualifiers such as “sometimes” and “probably” relate to a broader audience.

I also thought these links from Stanford were interesting and at times easier to read than Wikipedia/other sources:

3 comments:

  1. Looks like I HTML formatted on accident and can not fix it! Here is the text that is white on the post.

    “All Ps are Q, Some Ps are Q, No Ps are Q, and Some Ps are not Q“

    ReplyDelete
  2. Great summary Kyle. One question about quantum vs. binary logic is efficiency. Even if all problems can be solved in binary logic, can they be solved more efficiently with the quantum approach. We know of at least two algorithms where that is true, the most famous being Shor's algorithm, used to factor large numbers. Since this is the basis of many encryption schemes, it's a relevant example. Shor's algorithm shows an exponential speedup for quantum over binary logic approaches. This is one of the main motivators for the whole international program of creating a quantum computer. Generally characterizations of efficiency issues in logic (speaking loosely here) are called computational complexity classes. So this topic connects back to complexity: https://en.wikipedia.org/wiki/Complexity_class . See also quantum Turing machine: https://en.wikipedia.org/wiki/Quantum_Turing_machine .

    ReplyDelete
  3. Fascinating. This is going to be very useful in making arguments in the soft sciences. For example, people are constantly trying to stuff various questions related to human nature into a binary framework - people are violent by nature or peaceful by nature - when reality seems to correspond much more to Alethic logic.

    ReplyDelete

Note: Only a member of this blog may post a comment.