Complexity of Counting Output Patterns of Logic Circuits
نویسندگان
چکیده
Let C be a logic circuit consisting of s gates g1, g2, . . . , gs, then the output pattern of C for an input x ∈ {0, 1} is defined to be a vector (g1(x), g2(x), . . . , gs(x)) ∈ {0, 1} of the outputs of g1, g2, . . . , gs for x. For each f : {0, 1} → {0, 1}, we define an f -circuit as a logic circuit where every gate computes f , and investigate computational complexity of the following counting problem: Given an f -circuit C, how many output patterns arise in C? We then provide a dichotomy result on the counting problem: We prove that the problem is solvable in polynomial time if f is PARITY or any degenerate function, while the problem is #P-complete even for constant-depth f -circuits if f is one of the other functions, such as AND, OR, NAND and NOR.
منابع مشابه
On Counting Output Patterns of Logic Circuits
In this paper, we consider the problem of counting output patterns of a circuit with gates having fan-in 2. For the case where every gate computes the same Boolean function f , Uchizawa, Wang, Morizumi and Zhou (2013) proved that the problem is solvable in polynomial time if f is the parity function or any degenerate function, while this problem is #P-complete if f is one of the other functions...
متن کاملLow Delay Time All Optical NAND, XNOR and OR Logic Gates Based on 2D Photonic Crystal Structure
Background and Objectives: Recently, photonic crystals have been considered as the basic structures for the realization of various optical devices for high speed optical communication. Methods: In this research, two dimensional photonic crystals are used for designing all optical logic gates. A photonic crystal structure with a triangular lattice is proposed for making NAND, XNOR, and OR optica...
متن کاملOptimization of Quantum Cellular Automata Circuits by Genetic Algorithm
Quantum cellular automata (QCA) enables performing arithmetic and logic operations at the molecular scale. This nanotechnology promises high device density, low power consumption and high computational power. Unlike the CMOS technology where the ON and OFF states of the transistors represent binary information, in QCA, data is represented by the charge configuration. The primary and basic devic...
متن کاملEfficient Delay Characterization Method to Obtain the Output Waveform of Logic Gates Considering Glitches
Accurate delay calculation of circuit gates is very important in timing analysis of digital circuits. Waveform shapes on the input ports of logic gates should be considered, in the characterization phase of delay calculation, to obtain accurate gate delay values. Glitches and their temporal effect on circuit gate delays should be taken into account for this purpose. However, the explosive numbe...
متن کاملA New Highly Controllable and Accurate Algorithm for Defuzzifier Circuit Implementation
Defuzzifier circuit is one of the most important parts of fuzzy logic controllers that determine the output accuracy. The Center Of Gravity method (COG) is one of the most accurate methods that so far been presented for defuzzification. In this paper, a simple algorithm is presented to generate triangular output membership functions in the Mamdani method using the multiplier/divider circuit and...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013