Multivalued logic
What Is Multivalued Logic?
Multivalued logic (MVL) is a branch of formal logic and digital circuit theory in which variables can take more than two discrete values, extending beyond the binary zero and one of classical Boolean algebra. In a q-valued logic system, each variable can hold any of q distinct states, with q equal to 2 for binary, 3 for ternary, and 4 for quaternary logic. The practical motivation for multivalued logic in digital electronics is the potential to encode more information per signal wire or memory element, which can reduce interconnect count, chip area, and power consumption compared to binary implementations of the same function. Multivalued logic draws from algebra, computer science, and semiconductor device physics.
The theoretical foundations of multivalued logic predate the digital computer, with three-valued systems proposed by Jan Łukasiewicz in 1920 to handle propositions that are neither definitively true nor false. The engineering interest in multivalued logic for integrated circuits grew substantially in the 1970s and 1980s alongside advances in CMOS technology.
Logic Functions in Multivalued Systems
In binary logic, there are exactly four distinct unary functions of one variable and sixteen distinct binary functions of two variables. The space of multivalued logic functions is considerably larger: for ternary logic with q equal to 3, there are 19,683 distinct two-input functions, giving designers access to a richer functional vocabulary. The IEEE Computer tutorial on multiple-valued logic describes how this expanded function space allows more compact representations of information than binary switching functions, since a single ternary variable encodes log2(3) bits of information rather than one. Key operations in multivalued logic include the Łukasiewicz operations (conjunction, disjunction, and negation redefined for more than two values), the truncated sum, and the modular sum, each with different algebraic properties and circuit implementations.
Ternary and Higher-Radix Systems
Ternary logic, which uses values conventionally labeled 0, 1, and 2, is the most extensively studied case beyond binary. A ternary digit, called a trit, can represent values from 0 to 2, and groups of trits encode integers more compactly than equivalent groups of bits. The CMOS ternary switch framework published in IEEE Transactions on Circuits and Systems provides a systematic approach to designing ternary logic functions using standard CMOS transistor structures augmented with threshold-setting bias voltages, demonstrating that ternary gates are implementable without exotic device technologies. Quaternary logic, with four levels, is relevant to certain memory technologies where four resistance or charge states can be reliably distinguished, and to quantum computing formalisms.
Circuit Implementation and Minimization
Implementing multivalued logic in physical circuits requires devices that can reliably distinguish more than two voltage or current levels. CMOS-based designs use multiple supply voltages or transistor threshold engineering to set the threshold between logic levels. Function minimization, which in binary logic relies on Karnaugh maps and the Quine-McCluskey algorithm, extends to multivalued algebra through spectral and sum-of-product techniques adapted for q-valued variables. Research on multiple-valued logic approaches to quantum circuit design has applied MVL techniques to quaternary and higher-radix quantum gates, where the computational basis naturally supports more than two states.
Applications
Multivalued logic has applications in a range of fields, including:
- VLSI memory design, where multi-level flash cells store multiple bits per cell using four or more charge levels
- Quantum computing, where qudit-based systems generalize the qubit to higher-dimensional quantum states
- Fuzzy logic systems, where intermediate truth values represent partial membership in a set
- Data compression and transmission, where higher-order modulation exploits multiple signal levels over a channel
- Fault-tolerant digital design, where an extra logic state represents an indeterminate or error condition