Abstract
Optimization problems in machine-learning (ML) applications can be computationally challenging for classical methods, particularly when they involve large, unstructured search spaces. Quantum computing offers a promising approach to combinatorial optimization by utilizing quantum superposition and amplitude amplification. This paper presents a new methodology using logic-based quantum machine learning (QML) as a complete framework for employing a multi-solution ternary Grover’s algorithm to minimize incomplete binary functions represented by Pseudo-Kronecker Reed–Muller (PKRO) expansions, consistent with Occam’s razor principle. Unlike previous quantum approaches based on Kronecker Reed–Muller (KRO) or fixed-polarity Reed–Muller (FPRM) representations, our work introduces the first Grover-based optimization framework for PKRO forms. This framework formulates logic minimization as a quantum search problem to identify minimum-cost AND-XOR representations with the fewest nonzero coefficients. A hybrid binary–ternary quantum architecture is developed to explore the enlarged PKRO search space, enabling optimization of both completely and incompletely specified binary functions. Owing to the greater flexibility of PKRO expansions, our framework produces more compact AND–XOR representations than KRO- and FPRM-based approaches. Across all 256 3-variable binary functions, PKRO provides less nonzero coefficients for 4.688% of functions compared with KRO and for 37.5% compared with FPRM, with average reductions of 0.047 and 0.484 nonzero coefficients, respectively. Our multi-solution ternary Grover search reduces the number of Grover iterations by more than 91% compared with the single-solution approach.
Keywords:
quantum machine learning; multi-solution hybrid binary–ternary Grover’s algorithm; hybrid quantum–classical framework; Pseudo-Kronecker Reed–Muller (PKRO) form; Kronecker Reed–Muller (KRO) form; fixed-polarity Reed–Muller (FPRM) form; butterfly diagram; AND–XOR representation; Occam’s razor; logic minimization 1. Introduction
Quantum machine learning (QML) integrates quantum computing principles with machine learning (ML) to address computationally challenging learning and optimization problems [1]. Classical logic-based machine learning has evolved through interpretable representations, including decision rules, decision trees, Boolean expressions, and symbolic models. Early inductive learning approaches [2] established rule-based learning from examples, followed by the Classification Induction (CN2) algorithm [3], Iterative Dichotomiser 3 (ID3) and its successor, C4.5 decision tree algorithms [4,5], First Order Inductive Learner (FOIL) [6], and Repeated Incremental Pruning to Produce Error Reduction (RIPPER) [7] for symbolic classification and rule extraction. In parallel, Binary Decision Diagrams (BDDs) [8] and logic synthesis techniques based on Sum-of-Products (SOP), Exclusive-Sum-of-Products (ESOP) [9], and Boolean function minimization [10] provided efficient representations and optimization methods for binary functions. Functional decomposition approaches, including Ashenhurst–Curtis decomposition [11], and spectral techniques based on Reed–Muller (RM) representations [12], further enhanced the analysis and optimization of binary functions. These classical methods establish the foundation for interpretable machine learning, symbolic reasoning, and logic optimization.
Recent advances have explored the reformulation of Boolean optimization and symbolic learning problems as quantum search and optimization problems. Quantum logic synthesis and binary function optimization approaches have demonstrated the feasibility of mapping classical logic-minimization problems into reversible quantum circuits [13,14]. Grover’s quantum search algorithm [15,16] provides a quadratic reduction in oracle query complexity for unstructured search by amplifying the probability amplitudes of target states [17,18]. In Grover-based optimization, a quantum oracle is implemented as a reversible operator that evaluates candidate solutions and marks target states (solutions) through phase inversion. Multi-solution extensions of Grover’s algorithm further reduce the required amplitude amplification iterations when multiple valid solutions exist [19,20]. In addition, the Quantum Approximate Optimization Algorithm (QAOA) [21] and its variants [22] have been widely applied to approximately solve combinatorial optimization problems by optimizing parameterized quantum circuits. These developments motivate the application of quantum search techniques to logic-minimization and symbolic machine-learning optimization problems.
Efficient representation of machine-learning classifier functions is critical for reducing computational complexity during training and inference. Many logic-based learning problems can be formulated as identifying compact Boolean expressions in AND–XOR form, consistent with Occam’s razor [23,24,25], which favors simpler models while maintaining classification accuracy. In an AND–XOR representation, binary functions are expressed as XOR combinations of product terms associated with nonzero coefficients, providing a spectral-domain alternative to conventional truth-table and logic-expression representations. The complexity of these representations is commonly evaluated by the number of nonzero product terms and the resulting circuit implementation cost [18]. Their regular structures also enable efficient logic synthesis and hardware implementation [19]. The most general AND–XOR representation is the Exclusive-or Sum-of-Products (ESOP) form. However, unlike canonical spectral representations such as fixed-polarity Reed–Muller (FPRM), Kronecker Reed–Muller (KRO), and Pseudo-Kronecker Reed–Muller (PKRO) [26,27,28,29], ESOP does not provide a unique spectral representation, making exact minimization computationally challenging. Since exact ESOP minimization is NP-hard and becomes impractical for large binary functions, heuristic methods, including simulated annealing, genetic algorithms, and evolutionary optimization, are commonly employed to obtain near-optimal ESOP and RM representations [30,31,32,33,34,35]. To balance representation flexibility and optimization complexity, structured AND–XOR forms such as FPRM, KRO, and PKRO have been developed. These spectral representations provide regular decomposition structures that can be efficiently implemented using transform-based butterfly networks. In RM spectral logic, the polarity specifies the expansion type applied at each step of the recursive decomposition. Among these canonical approaches, PKRO provides the greatest flexibility by allowing different polarities at individual decomposition nodes, enabling more compact AND–XOR expressions with fewer nonzero coefficients than more restricted forms such as FPRM and KRO. However, this flexibility significantly enlarges the optimization space, making exhaustive minimization increasingly challenging as the number of variables grows. To overcome this challenge, we propose a quantum-assisted search framework. In addition, it extends PKRO minimization to incompletely specified binary functions, enabling its application to logic-based quantum machine learning.
Machine-learning methods learn input–output relationships from observed training data and generalize these relationships to unseen instances. In logic-based machine learning, incomplete knowledge about unobserved input combinations can be represented similarly to unspecified conditions in logic synthesis, where “don’t-care” assignments provide flexibility for function optimization. From this perspective, learning can be formulated as the selection of a binary function that satisfies observed input–output constraints while minimizing representation complexity according to Occam’s razor. Therefore, the learning objective can be mapped to finding compact AND–XOR representations with a minimum number of nonzero coefficients (product terms). Recent studies have investigated the application of quantum computing to machine learning by implementing existing algorithms on quantum platforms or reformulating learning and optimization problems as quantum search and optimization tasks. Representative developments in quantum machine-learning algorithms include [17,26,27,36]. These studies demonstrate the feasibility of formulating logic-based learning problems as quantum optimization problems, providing a foundation for our proposed PKRO-based quantum machine-learning framework.
Our work proposes a quantum machine-learning approach using spectral transformations to search for minimum-term PKRO representations. An optimal PKRO solution is defined as the representation with the minimum number of product terms (nonzero coefficients). An n-variable binary function is represented by a minterm vector, where each variable appears once in complemented or uncomplemented form within each minterm. For incompletely specified training data, undefined entries (“−”) are treated as don’t-care conditions and assigned binary values (0 and 1) to generate completely specified functions. PKRO expansions transform these functions into spectral-domain AND–XOR representations, and the spectral coefficient vector with the minimum number of nonzero coefficients is selected. The proposed Grover-based quantum search explores the enlarged PKRO solution space through amplitude amplification, achieving a quadratic reduction in oracle evaluations and providing an efficient optimization framework for logic-based quantum machine-learning applications.
A major task in our research is the construction of a hybrid binary–ternary quantum oracle for Grover’s algorithm. The reversible PKRO processor transforms a minterm vector into an AND–XOR spectral coefficient vector based on the selected variable ordering and PKRO polarity assignment. The oracle evaluates the cost function, defined as the number of nonzero spectral coefficients, and determines whether the candidate PKRO representation satisfies a given threshold T. Since Grover’s algorithm performs search rather than direct optimization, PKRO minimization is formulated as a sequence of threshold-based decision problems. A classical controller updates T according to the oracle results until the minimum-cost representation is identified. The oracle is implemented as a reversible hybrid quantum circuit using both qubit and qutrit registers. Qubit registers store minterm data, intermediate states, and AND-XOR coefficient information, while qutrit registers encode the three PKRO polarity choices. After a successful Grover search, measurement of the qutrit registers reveals the optimal ternary expansion configuration. This hybrid architecture enables quantum exploration of the PKRO solution space while retaining classical control for threshold optimization.
Applications of our above-proposed quantum machine-learning framework based on incomplete binary functions can be extended to recommender systems [37], knowledge graph completion [38], multi-label learning [39], crowdsourcing [40], drug–target prediction [41], and other machine-learning tasks.
The main contributions of this research are summarized as follows:
- A hybrid quantum–classical framework for logic minimization and logic-based quantum machine learning. The proposed framework supports both completely specified and incompletely specified binary functions with “don’t-care” conditions. For machine-learning problems with unspecified input combinations, the corresponding output assignments can be treated as flexible, analogous to logic-synthesis “don’t-care” conditions.
- A unified butterfly-based representation for PKRO expansions. A general butterfly transformation framework is developed to represent all PKRO expansion structures. By leveraging quantum superposition, the proposed approach enables parallel exploration of PKRO configurations and demonstrates the greater flexibility of PKRO compared with FPRM and KRO representations [23].
- A hybrid binary–ternary Grover’s algorithm for PKRO optimization. Our proposed algorithm identifies the minimum-cost PKRO representation, where the cost is defined by the number of nonzero coefficients (product terms). The corresponding butterfly structure is implemented as a reversible binary–ternary quantum circuit.
- A quantum-assisted optimization method for incomplete binary learning problems. Our method addresses incomplete input–output specifications and introduces post-processing and post-selection methods to improve Grover search success probability.
- Simulation-based analysis and robotic demonstration of our proposed quantum optimization framework. The results evaluate the effectiveness of our multi-solution ternary Grover algorithm by reducing the required number of Grover iterations compared with single-solution approaches, which is consistent with multi-solution amplitude amplification theory.
2. Related Work
2.1. Comparison of Different Reed–Muller Forms for Binary Functions
This paper presents a spectral-logic framework for logic minimization and logic-based quantum machine learning. AND–XOR minimization has been widely studied in classical logic synthesis to reduce circuit complexity and is well suited for quantum circuit design because reversible gates, such as CNOT and Toffoli gates, naturally implement XOR operations. Compact AND–XOR representations can, therefore, enable more efficient reversible and quantum circuits. Both logic synthesis and logic-based machine learning can be formulated as binary function optimization problems: logic synthesis derives compact Boolean representations from specifications, while machine learning infers simple binary functions from input–output data according to Occam’s razor.
A binary function can be represented as an OR combination of minterms, where each minterm is an AND combination of literals [32]. An n-variable binary function can be expressed as follows (1):
where is the binary coefficient indicating whether the ith minterm is present or not, and is the ith minterm product term formulated in (2):
where is the jth bit of the binary representation of the minterm index .
For example, a 3-variable binary function is expressed in (3)
Because all base functions in (1) are disjoint, OR operators can be transformed into XOR operators using RM expansions. Let denote the negative cofactor of , where is replaced by 0 in ; let denote the positive cofactor of , where is replaced by 1 in ; and let . Based on these definitions, three fundamental expansions shown in (4)–(6) generalize the RM expansion framework [42].
For an n-variable binary function in AND–XOR representation, the general formular is expressed in (7):
where = XOR (mod-2 addition), is the binary coefficient indicating whether the product term is included or not, and is the AND product term. The product term is formulated in (8):
where representation generalizes to allow each literal to appear as uncomplemented: , complemented: , and absent: 1.
For example, RM forms of three variables can be expressed in AND–XOR representations in (9).
where denotes a literal that may appear in either complemented or uncomplemented form for all .
Throughout this paper, ternary polarity values 0, 1, and 2 are used to represent the positive Davio (pD), negative Davio (nD), and Shannon (Sh) expansions, respectively. Each polarity assignment produces different AND–XOR expressions, and the resulting spectral coefficient distribution determines the number of product terms and the implementation complexity. Our approach is based on the theory of canonical AND-XOR forms as well as spectral methods [10,25,26,31,43]. For an n-variable binary function (n ≥ 2), FPRM form allows each variable to use either pD or nD expansion, resulting in possible polarity assignments. KRO form further allows each variable level to use one of three expansion types (pD, nD, or Sh), producing possible assignments. However, the expansion type of a variable remains fixed throughout the decomposition tree for KRO. PKRO further relaxes this restriction by permitting different expansion types at individual decomposition nodes, resulting in more compact logic representations and improved optimization opportunities. Since exact minimization of ESOP and RM expressions is NP-hard, practical synthesis relies on restricted representations such as PKRO, together with efficient optimization algorithms that balance logic quality and computational complexity. Figure 1a illustrates the three RM expansion rules used in our work. Figure 1b shows an example of the 4-variable PKRO decomposition tree.
Figure 1.
(a) Illustration of three expansion types: positive Davio (pD), negative Davio (nD) and Shannon (Sh); and (b) an example of a 4-variable PKRO expansion tree structure.
Theorem 1.
For an -variable binary function, the total number R of PKRO expansion forms is expressed in (10),
where the factor represents the number of possible variable expansion sequences, and represents the number of possible node-level assignments of positive Davio (pD), negative Davio (nD) and Shannon (Sh) expansions in the PKRO decomposition tree, where n ≥ 2.
Proof of Theorem 1.
A PKRO representation is uniquely determined by three components: (i) the binary function ; (ii) the variable expansion sequence , which specifies the order of variable decomposition; and (iii) the expansion-type assignment , which specifies the expansion type selected at a node of the decomposition tree. Therefore, a PKRO construction can be represented in (11),
where denotes the recursive construction of the PKRO expansion from the function, the variable ordering, and the expansion-type assignment.
For each fixed variable expansion sequence, as shown in Figure 1b, the number of expansion nodes at each level forms a geometric series with a ratio of 2. Therefore, a complete binary decomposition tree of an n-variable binary function contains nodes. is the set of expansion choices assigned to PKRO expansion tree nodes, as stated in (12):
For nodes in a fixed variable expansion sequence, the number of PKRO expansion assignments R1 is expressed in (13):
We need to prove that the recursive decomposition depends on the selected expansion variable at each level. Suppose and , where The first decomposition under is where denotes the selected Sh, pD or nD decomposition. Similarly, Since the variable sequences and are distinct. For a general binary function, cofactors with respect to different expansion variables are generally different, resulting in different intermediate subfunctions and recursive decomposition trees. Consequently, , even when the same expansion-type assignment is used. Please note that although certain symmetric or degenerate binary functions may yield equivalent decompositions under different variable orderings, the complete PKRO search space must consider all n! variable orderings for general cases. Therefore, when the variable ordering is included, the complete PKRO search space contains candidate representations, as given in (14), which is equivalent to (10).
□
For an n-variable binary function, the PKRO search space is substantially larger than those of KRO and FPRM, providing greater flexibility for logic optimization. This expanded search space increases the likelihood of finding representations with fewer product terms [44,45] while also motivating the use of quantum search to identify minimum-cost PKRO forms efficiently.
A PKRO expansion can be formulated as a spectral transformation that maps a binary function between the input domain and the spectral domain. This transformation is recursively constructed through tensor products of a fundamental transformation matrix, referred to as the “kernel”. The kernel represents the elementary expansion operators that are selected at each node of the decomposition tree, as illustrated in Figure 2a–c. Effective implementation of this transformation can be achieved using constructive transform schemes represented by butterfly signal-flow graphs [26,27,46], which are analogous to the fast transform structures widely used in spectral analysis [47]. Figure 2d presents a butterfly structure for a 3-variable binary function. In this structure, , , , , , , and denote polarity-selection variables associated with variables , , and , where corresponds to , and correspond to , and – correspond to . These polarity variables determine the expansion configuration of each decomposition node, and their interactions with the corresponding coefficients generate the final AND–XOR representation through recursive logical operations.
Figure 2.
(a) Butterfly diagrams: (a) a kernel for nD expansion; (b) a kernel for pD expansion; (c) a kernel for Sh expansion; and (d) PKRO butterfly diagram for an example with the minterm vector 0100101.
The PKRO transformation process is conceptually related to classical spectral transforms, such as the Walsh transform and the Fast Fourier Transform (FFT), in that different transformation configurations produce different spectral representations. In classical implementations, every combination of variable ordering and polarity assignment must be evaluated individually, resulting in sequential exploration of the complete PKRO search space. In contrast, the proposed quantum framework represents multiple PKRO configurations simultaneously through quantum superposition. Based on this principle, a unified hybrid binary–ternary quantum circuit is developed to implement butterfly transformations for all PKRO configurations within a single computational framework. This approach eliminates the need for explicit sequential evaluation of individual PKRO candidates and enables efficient exploration of the exponentially large PKRO search space. Consequently, our proposed framework identifies the globally optimal PKRO representation with the minimum number of product terms (spectral nonzero coefficients).
Classical optimization of Reed–Muller (RM) representations has been extensively studied using exact algorithms, heuristic methods, and evolutionary optimization techniques [8,35,48,49,50]. Conventional optimization of FPRM and KRO representations determines polarity configurations and expansion structures using exhaustive search, branch-and-bound, dynamic programming, or heuristic methods, depending on the problem size [8,16,17]. Due to its much larger search space, PKRO optimization has primarily relied on genetic algorithms and other metaheuristic techniques to optimize variable ordering and local expansion assignments [35,49]. In parallel, exact and heuristic ESOP minimization algorithms, together with logic synthesis methods based on BDDs, And-Inverter Graphs (AIGs), Boolean rewriting, and related optimization techniques have achieved effective optimization of XOR-intensive logic circuits [9,10,50]. However, these methods either target different logic representations or rely on heuristic search and, therefore, do not perform exact optimization over the complete PKRO search space.
Our proposed framework formulates PKRO minimization as a quantum search problem over the complete PKRO solution space. Compared with classical ESOP and PKRO optimization methods based on exact, heuristic, or evolutionary search [8,31,33,35], as well as the previously reported quantum ESOP minimization algorithm [36], our proposed method guarantees the globally optimal PKRO form with respect to the optimization criterion adopted in our work, namely the minimum number of nonzero spectral coefficients. Since ESOP is more general than PKRO, a heuristically optimized ESOP expression may still contain fewer product terms than an optimal PKRO representation. To the best of our knowledge, our work is the first quantum algorithm capable of obtaining exact minimum PKRO representations for all 3-variable binary functions, whereas the quantum ESOP method in [36] was demonstrated primarily for 2-variable functions.
For an n-variable binary function, considering both variable ordering and node-level expansion assignments produces R candidate PKRO representations (see (10)). The proposed multi-solution ternary Grover search explores this space using quantum amplitude amplification. Unlike classical exhaustive search, which evaluates candidates sequentially, the proposed framework achieves Grover’s quadratic reduction in search iterations while preserving exact optimization. Although current quantum hardware limits exact optimization to relatively small problem instances, the framework provides a hybrid quantum–classical approach with potential scalability as quantum hardware advances.
2.2. Multi-Solution Ternary Grover’s Algorithm for Quantum Machine Learning
Most variants of Grover’s algorithm are formulated for binary computational spaces using qubits, while ternary quantum search has been less explored. In this work, qutrits (three-level quantum systems) are employed because they naturally represent the three PKRO expansion types: pD, nD, and Sh. Each qutrit, therefore, encodes the expansion type (polarity) at one node of the PKRO decomposition tree. The Dirac notation of a qutrit state is given by (15):
The , , and coefficients satisfy the normalization condition stated in (16):
The complex values , , and are probability amplitudes, and their squared magnitudes , , and represent the likelihood of observing each corresponding basis state upon measurement. For a search-based system composed of m qutrits, the overall state is typically a superposition of basis states formed from the fundamental qutrit vectors , , and , resulting in a composite quantum state spanning the -dimensional Hilbert space, where m ≥ 2. Since quantum computation produces probabilistic measurement outcomes, quantum search algorithms are designed to increase the probability of observing the desired solutions. Grover’s algorithm achieves this through amplitude amplification, increasing the probability of measuring target states and enabling efficient identification of optimal PKRO representations [15,16].
When the multi-solution ternary Grover’s algorithm is applied to PKRO forms of an n-variable binary function, the total number of candidate states for a specific PKRO expansion variable sequence (e.g., x1 → x2 → x3) is . The simulation in our research evaluates all n! permutations of expansion variable sequences separately. For each expansion variable sequence, the candidate states are encoded using qutrits. Among these N states, let M states satisfy a specified condition C, where C requires that the number of AND–XOR nonzero coefficients does not exceed a predefined threshold T.
For Grover’s algorithm, the binary–ternary oracle must be a unitary operator acting on a binary–ternary Hilbert space. Let the polarity assignment be encoded in the quantum register where each represents one expansion choice at node . Let denote the number of AND–XOR nonzero coefficients for polarity assignment . This requires us to mark all polarity assignments whose cost does not exceed the current threshold . According to the phase kickback principle, the desired output of this oracle is expressed in (17) for the polarity assignment vector .
The qutrit register serves as the control variable for the ternary-controlled reversible gates to decide PKRO polarity assignments. After the butterfly-based PKRO transformation generates the AND–XOR spectral coefficients, a reversible comparator evaluates the threshold condition and stores the result in a binary flag qubit: . The phase inversion required by Grover’s oracle is not applied directly to the qutrit polarity register. Instead, the flag qubit is converted into a phase marker through phase kickback. By preparing an ancilla qubit in the state and applying a controlled-NOT operation from the flag qubit to the ancilla, the states satisfying f(P) = 1 acquire a negative phase. The qutrit polarity states remain unchanged; only their amplitudes are modified, i.e., Thus, the computed value of f(P) is transferred from the ancilla flag qubit into the local phase, producing the required Boolean-decision oracle while preserving the polarity register. After phase marking, all ancilla registers are uncomputed (mirrored) by applying the inverse reversible computation, which restores ancilla registers to their initial states . This reversible binary–ternary oracle construction preserves quantum properties and satisfies the requirements of Grover’s amplitude amplification. The oracle outputs phase-marked target states (solutions) for candidate PKRO representations satisfying the optimization constraint and leaves non-satisfying states (nonsolution) unchanged.
For satisfying PKRO expansion polarity assignments, the binary–ternary oracle is stated in (18):
For a multi-solution Grover’s search algorithm including the diffusion operator D, the resulting binary–ternary oracle can also be expressed in (19) [51], and (20) states the diffusion operator D.
where is the Hermitian conjugate of , denotes the set of target basis states satisfying the PKRO optimization constraint, and I represents the identity matrix. The summation term represents the projector onto the marked subspace, causing the amplitudes of all target states to be multiplied by −1 while leaving non-solution states unchanged. This operator form is mathematically equivalent to the phase oracle defined by the binary decision function f(P) and provides a convenient representation for the multi-solution ternary Grover framework proposed in our work.
As illustrated in Figure 3a–c, the operation of Grover’s algorithm can be interpreted geometrically as a rotation by an angle θ within a two-dimensional subspace spanned by the equal-superposition state and the target state subspace represented by . If we denote the orthogonal non-solution component as , then the superposition state can be expressed in (21):
Figure 3.
Grover’s algorithm illustration: (a) amplitudes of the superposed input qutrit states ; (b) inversion of the amplitudes of the selected target states by the oracle (); and (c) inversion about the new mean performed by a Grover diffusion operator (D). Note that (b,c) together constitute one Grover iteration (Grover loop).
Please observe that each Grover iteration rotates the quantum state vector toward the target solution subspace by an angle θ, thereby increasing the probability amplitude of the target solution states [36]. The rotation angle θ depends on the number of target solution states M and the total number of superimposed states N, as given in (22) [51].
When is relatively small, the θ can be estimated in (23).
As shown in Figure 3 and (23), each Grover iteration increases the amplitude of the target solution states by approximately . Consequently, repeated applications of Grover iterations progressively rotate the quantum state vector toward the target solution subspace. After r iterations, the state vector approaches an angle of relative to its initial position, maximizing the probability of measuring a target solution state. The required number of iterations r is given by (24):
The parameter r denotes the number of Grover iterations for a fixed variable ordering and threshold T. Since an n-variable function has n! possible variable orderings, the search is repeated for each ordering. The computational advantage is based on the conventional Grover oracle, which reduces the oracle query complexity from O() for exhaustive classical search to approximately O() in our proposed framework.
The main contribution of our work is the formulation of PKRO optimization as a multi-solution quantum search problem using a threshold-based oracle and a hybrid binary–ternary reversible architecture, rather than the development of a new amplitude amplification algorithm. Practical implementation on quantum hardware depends on circuit synthesis, oracle construction, qudit fidelity, and error correction, which will be investigated in our future work [52,53,54,55,56,57,58].
3. Materials and Methods
3.1. PKRO Processor Design for Quantum Oracle Construction
The three PKRO expansion expressions are canonical forms connected via linear transformations. The corresponding PKRO transformation matrix is constructed using tensor product operations, where each expansion is represented by a kernel matrix associated with a selected polarity, as given in (25)–(27):
where denotes the tensor product; , and represent the kernel matrices corresponding to pD, nD, and Sh expansions at the ith expansion node; and and denote the resulting pD, nD, and Sh transformation matrices obtained after applying m expansions in parallel.
We use qutrits as the control units to encode the three PKRO expansion types, represented by polarity values 0, 1, and 2 (see Figure 4). The symbols above the gates indicate the activating value of the control qutrit . When , the first controlled-XOR gate is activated for nD expansion; when , the second controlled-XOR gate is activated for pD expansion; and when , neither gate is activated, corresponding to the Sh expansion. We refer to this hybrid ternary-controlled binary XOR operation as the binary–ternary Toffoli gate C2C3X, where C2 denotes one binary control qubit, C3 denotes one ternary control qutrit, and X denotes the target XOR operation. In future work, this gate will be generalized to , where n and m are the numbers of binary control qubits and ternary control qutrits, respectively, and T represents an arbitrary binary or ternary target operation. Table 1 summarizes C2C3X gate outputs for each value of the control qutrit P.
Figure 4.
C2C3X gate using a qutrit as the control input where .
Table 1.
C2C3X gate outputs and based on P control values (Inputs and ).
A butterfly diagram can be constructed for any numbers of ternary polarity assignments; however, the primary challenge is determining the optimum polarity configuration that yields the minimum number of AND–XOR nonzero coefficients within a single reconfigurable butterfly structure. Figure 5 illustrates a 3-variable example of the proposed PKRO processor, derived from the butterfly flow diagrams in Figure 2a–c and the PKRO Toffoli control gates C2C3X shown in Figure 4.
Figure 5.
Architecture of a 3-variable PKRO processor for AND–XOR expression minimization, where Pa0Pb0Pb1Pc0Pc1Pc2Pc3 are ternary control inputs, – are binary minterm vector, and – are binary AND-XOR spectrum coefficients.
The PKRO processor in Figure 5 is implemented as a hybrid ternary–binary quantum circuit, where the polarity variables Pa0, Pb0, Pb1, Pc0, Pc1, Pc2, and Pc3 are represented using ternary encoding, while the minterm vector – and the AND–XOR coefficients – are represented in binary form. This hybrid representation enables compact, flexible, and reconfigurable PKRO processor implementation. Please note that our proposed algorithm is quantum technology independent. The oracle is described using generalized ternary-controlled C2C3X gates as a high-level logical model. In a future physical implementation, each C2C3X gate may be decomposed into elementary operations supported by the target hardware, such as single-qutrit gates together with hybrid qutrit–qubit controlled interactions. Consequently, the physical quantum cost depends on the available gate library and hardware technology.
In this work, a PKRO-based quantum machine-learning simulator employing Grover’s algorithm is implemented to generate optimal PKRO polarity assignments for a given incompletely specified binary function. Based on Figure 4 and Table 1, the matrix representations , , and are derived from (25)–(27) and presented in (28) for the pD, nD, and Sh expansions, respectively. These matrices serve as the fundamental building blocks of the PKRO processor, where the input vector and the output coefficient vector are represented in state-vector form: , , , and corresponding to , , and states, respectively.
For an -variable function, the simulator recursively applies tensor product operations to construct the PKRO transformation matrix corresponding to a given polarity assignment according to the PKRO butterfly diagram and expansion tree structure. For each variable, the polarity assignment determines one of three expansion types (i.e., pD, nD, or Sh) at each node of the expansion tree. The corresponding kernel matrices are recursively combined through tensor product operations to form the complete PKRO transformation matrix. The resulting transformation matrix is then multiplied by the input minterm vector to obtain the corresponding AND–XOR spectral coefficients. By evaluating the number of nonzero spectral coefficients associated with different polarity assignments, the simulator constructs the complete PKRO ternary search space that would be explored by Grover’s algorithm. This search space forms the basis for identifying an optimal PKRO representation during the search process.
3.2. Cost Counter and Comparator for Quantum Oracle Construction
The cost counter and comparator module is designed and implemented in this research following the design methodology in [26]. The reversible Hamming-weight counter is implemented using hierarchical compressor-tree architecture. The first stage employs reversible 8:4 compressors to generate partial population counts, which are then combined by a reversible adder tree to obtain the final Hamming weight. This organization follows the general compressor-tree methodology widely used in multi-operand addition and reversible arithmetic [59,60]. Each 8:4 compressor computes the population count of eight PKRO coefficients. The 8:4 compressor is implemented using a tree of half adders (HA) and full adders (FA). The quantum implementation of the half adder and full adder is shown in Figure 6a,b. The 8-input population counter based on a tree of full adders and half adders is shown in Figure 6c [26]. Please note this counter design has two levels with the first level consisting of two full adders and one half-adder, which add two 3-bit values and one 2-bit value parallel that form three 2-bit numbers. The second level is an adder tree that compresses the 6-bit values from the first level into a 4-bit number, denoted as . Please note that, in Figure 6c, and are intermediate sum outputs, and , , and are intermediate carry outputs.
Figure 6.
Schematic diagram of (a) half adder (HA); (b) full adder (FA); and (c) 8:4 compressor.
When , reversible 8:4 compressors first partially compute the population counts of groups of eight AND–XOR coefficients, and a reversible adder tree then combines these partial counts to obtain the total Hamming weight of the AND–XOR coefficient vector which represents the total number of PKRO nonzero coefficients, as defined in (29),
For the comparator, the binary function is designed to compare two unsigned 4-bit numbers: and the threshold . The comparison begins with the Most Significant Bit (MSB). When and differ, i.e., , the comparison result can be determined immediately: if , then ; otherwise, . If and are equal , then the comparison proceeds to . The same procedure continues sequentially until the Least Significant Bit (LSB) is evaluated. The comparator condition is expressed in (30). This is a highly optimized hierarchical AND–XOR comparator form because each stage only activates if all higher bits are equal, redundant product terms are eliminated, and the structure scales naturally to an -bit comparator.
where , , , and Please note that means the two bits are equal where i .
Figure 7 shows the reversible quantum circuit for the cost counter and comparator. The circuit is constructed by replacing each irreversible Boolean gate with its reversible counterpart. XOR operations are implemented using CNOT gates, AND operations using Toffoli gates, and multi-input binary functions are synthesized as reversible Toffoli networks. The counter accumulates the coefficient bits into bit registers that store the Hamming weight (i.e., the number of AND-XOR nonzero coefficients).
Figure 7.
Three-variable PKRO quantum circuit for AND–XOR coefficient cost counter and comparator.
3.3. Quantum Oracle Circuit Architecture
Figure 8 illustrates the proposed binary–ternary oracle architecture for identifying the minimum PKRO representation of a 3-variable binary function using Grover’s algorithm. The oracle consists of four main blocks: the PKRO processor, cost counter and comparator, and their corresponding inverse circuits, which uncompute and restore all ancilla registers after evaluation. As shown in Figure 8 and Table 2, four registers are used in the oracle architecture. The PKRO oracle requires ancilla/work registers for PKRO evaluation, counting, comparison, and phase marking. The estimated ancilla and working register requirements in Table 2 depend on the specific circuit implementation.
Figure 8.
Our proposed binary–ternary oracle architecture that searches for the minimum 3-variable binary PKRO form.
Table 2.
Binary and ternary registers used in the binary–ternary oracle architecture.
As shown in Figure 8, the PKRO processor takes the minterm vector – and a polarity vector for Pa0Pb0Pb1Pc0Pc1Pc2Pc3 as inputs and produces the corresponding AND–XOR spectral coefficients for PKRO forms. Before entering the PKRO processor, the polarity qutrit register is transformed into an equal superposition of all polarity assignments using ternary superposition gates. This is equivalent to using Hadamard gates in binary quantum computing domain. gate is a special case of Muthukrishnan–Stroud (MS) gate [51] that prepares ternary superposition, as given in (31).
Accordingly, the oracle acts on the composite Hilbert space given in (32):
where , and are Hilbert space for polarity register, minterm register, AND-XOR coefficient register, and ancilla/work register, respectively. Their dimensions are given by and . The polarity register participates in Grover’s algorithm by identifying the optimal ternary polarity assignment for the minimum PKRO form. Once the optimal polarity assignment is obtained, a classical computer computes the corresponding PKRO spectral coefficients and directly synthesizes the optimal PKRO logic equation, which is then converted to a classical circuit or reversible quantum circuit. Therefore, our proposed hybrid quantum–classical framework uses Grover’s algorithm to optimize the PKRO representation, while the resulting logic circuit serves as an interpretable binary classifier for logic-based machine learning. Accordingly, our entire method converts “don’t-care” conditions (–) to “care” (0 or 1) conditions, as standard logic-based classifiers. The PKRO circuit is a completely specified function-based hardware that can be synthesized into any technology.
After the phase inversion has been applied to the target polarity states shown in Figure 3, all reversible computations are uncomputed by executing parts of the oracle circuit in reverse order. Specifically, the comparator, Hamming-weight counter, and PKRO processor are each inversed to restore the intermediate computation states. As a result, all ancilla qubits return to their initial state, all intermediate spectral coefficients are lost, and only the amplitudes applied to (solutions) remain. This uncomputation is required before applying the Grover diffusion operator, by preserving quantum properties across successive Grover iterations. The inverse circuits ensure that the oracle is a valid unitary transformation by restoring all ancilla registers while leaving the desired decision information encoded for the ternary polarity register P.
To the best of our knowledge, contemporary Grover oracle designs are based primarily on either binary quantum systems (qubits) or d-valued quantum systems (qudits, d ≥ 3) [51,61]. Our work introduces the first hybrid binary–ternary PKRO oracle architecture, in which qutrit registers encode PKRO polarities, while binary registers perform reversible spectral coefficient generation, counting, and cost comparison.
3.4. Grover Diffusion Operator Design
The quantum gate-level representation of diffusion operator, which operates on qutrits to manage PKRO forms of an -variable function, is expressed in (33) [51,62,63,64,65].
where n ≥ 2, represents the tensor product of the single-qutrit gate applied () times, denotes the conjugate transpose of , and represents multi-controlled ternary gate to invert the phase around is expressed in (34). For simplicity, zero-valued matrix elements for are omitted. Please observe that the Z gate is a binary phase gate, while the gate is a ternary phase gate.
Please note that is a matrix corresponding to qutrits for PKRO expansions of an -variable binary function. The direct implementation of the gate requires sign inversion across multiple states due to multiple −1 entries in the matrix representation shown in (34). To reduce circuit complexity, the multi-controlled gate design is optimized by implementing , as defined in (35). The additional global negative sign does not affect quantum measurement outcomes as measurements depend on probabilities derived from squared magnitudes of probability amplitudes rather than their signs. The gate only flips the phase of the state, thereby simplifying circuit implementation, reducing the number of required controlled operations, and improving overall computational efficiency and scalability.
The three types of ternary gates shown in Figure 9 and used in our proposed multi-controlled gate circuit design are given by (36).
where the gate shifts basis states by , the gate shifts basis states by , and the gate applies a phase inversion to [51]. The and are well-known shift ternary successor (increment, −2) and predecessor (decrement, −1) gates, respectively, from the literature, which are used in many different notations. Our proposed multi-controlled gate quantum circuit is shown in Figure 9. First, the circuit applies the gate to each qutrit, transforming to . Consequently, the target phase inversion is applied to . Next, the gate is used to invert the phase of . Finally, the gate is applied to each qutrit, shifting back to before the next Grover iteration or the final measurement. Please note that the phase inversion is implemented in , following the ternary phase-gate convention in [51], where the phase gate applies a −1 phase specifically to . Our proposed multi-controlled ternary phase gate, therefore, naturally targets . The and cyclic shifts map the desired state to and from , allowing the same phase-inversion construction to be used. In this work, ancilla/work registers are required for implementation.
Figure 9.
Multi-controlled gate quantum circuit design for ternary Grover diffusion operator.
To provide the required input for Grover’s algorithm, an initial cost threshold is first determined. Random PKRO polarities are assigned to all decomposition nodes in Figure 1, and the resulting number of AND-XOR nonzero coefficients, denoted by , is used as the initial threshold, . Because this random polarity assignment produces a valid PKRO representation of the binary function, provides a feasible upper bound on the minimum cost. The threshold is then reduced to , and Grover’s algorithm is executed to search for a solution satisfying . If a valid solution is found, the threshold is reduced by one and the search is repeated. This process continues until no solution satisfies the current threshold, indicating that the previous threshold is the minimum PKRO cost. An adaptive threshold initialization based on measurement histograms is also possible. Similar to histogram analysis in Qiskit [66], the measured probability distribution can also identify promising threshold values, which are then verified using the PKRO cost function. In this work, the random-polarity initialization method is adopted because of its simplicity and compatibility with the proposed quantum circuit implementation.
Our simulation flowchart for determining the minimum-cost PKRO form is shown in Figure 10. The flowchart begins with search-space initialization, threshold selection, and oracle construction, followed by iterative Grover’s algorithm consisting of repeated oracle and diffusion operations. After the required number of Grover iterations, PKRO ternary polarity register P is measured. The simulation is repeated for n! variable expansion orderings to explore entire PKRO search space to get the exact minimum-cost PKRO form.
Figure 10.
Our simulation software flowchart of the multi-solution ternary Grover’s algorithm.
The schematic of our proposed Grover’s algorithm for fixed variable expansion ordering is illustrated in Figure 11. The circuit begins with a sequence of S3 gates that prepares the ternary polarity register in an equal superposition of all possible ternary polarity assignments. Repeated Grover iterations amplify the amplitudes of polarity assignments satisfying the minimization criterion. After the required number of iterations, the ternary polarity register is measured, collapsing the superposition to a single ternary basis state and yielding a candidate minimum-cost PKRO polarity assignment.
Figure 11.
Our proposed schematic of multi-solution ternary Grover’s algorithm.
3.5. Post-Processing and Post-Selection to Increase Grover’s Algorithm Success Probability
Several studies have proposed post-processing and post-selection techniques to improve the success probability of Grover’s algorithm by combining repeated quantum measurements with classical analysis [67]. In our work, Grover’s algorithm is executed multiple times, and the resulting candidate solutions are evaluated on a standard classical computer. Let denote the cost of the PKRO polarity assignment obtained from the kth execution of Grover’s algorithm. The minimum cost among all k executions, denoted by , is defined by (37):
The minimum-cost polarity assignment, , is selected from the candidate set corresponding to . The proposed post-processing is entirely classical. Each execution of Grover’s algorithm ends with a measurement that produces a classical polarity vector. The candidates measured from multiple independent executions are then evaluated classically, and the one with the minimum PKRO cost is selected. Our proposed post-processing procedure is illustrated in Figure 12.
Figure 12.
Illustration of our proposed post-processing and post-selection method to increase the success probability of Grover’s algorithm by selecting the minimum-cost solution from multiple executions of Grover’s algorithm.
Let denote the probability of obtaining a target solution in a single independent execution of Grover’s algorithm. Assuming that each execution is statistically independent and identically distributed, the probability of failure in one execution is . Therefore, the probability that all independent executions fail to produce a correct solution is . Consequently, the overall success probability , defined as the probability of obtaining at least one successful outcome in executions, is given by (38):
Repeated executions increase the probability of obtaining the correct solution. In our work, each execution uses the same threshold schedule and stopping criterion, with differences arising only from the probabilistic measurement outcomes. A possible improvement is to use the best solution from one execution to initialize the threshold for subsequent executions, which can reduce the total number of Grover iterations. The adaptive threshold updating across k executions is our promising future optimization approach.
Since the number of target solutions depends on the threshold T, it can be expressed as . As the threshold changes, the number of target solutions changes accordingly. In our simulation, the number of target solutions corresponding to the current threshold is computed classically for the PKRO search space. In a practical quantum implementation, can be estimated using quantum counting or adaptive Grover’s algorithm [68,69]. For a desired overall success probability , the required number of repeated Grover’s algorithm executions is denoted by k. The minimum k is given by (39), where denotes the ceiling operation, and is the success probability of a single Grover execution for a search space of N with M(T) target solutions:
Overall, repeated executions of Grover’s algorithm produce a set of candidate polarity assignments and their associated cost values. These candidates are subsequently evaluated during a classical post-processing stage, and the polarity assignment corresponding to the minimum cost is selected through post-selection as the final logic-optimization and machine-learning solution. The post-selection is entirely classical computation, operating on measurement outcomes after each independent Grover’s algorithm execution. By aggregating the outcomes of multiple independent executions, the overall success probability is increased to reach a specified target probability .
3.6. Quantum Computation Cost Analysis for the Proposed System Design
The total quantum computation cost equals the per-iteration oracle cost multiplied by the total number of Grover iterations. This cost is compared with the computation cost of classical exhaustive search, where the oracle cost is multiplied by the total number of classical function evaluations. To estimate the quantum computation cost, we first determine the per-iteration oracle gate count, which is the total number of reversible quantum operations required by one Grover oracle execution. The circuit depth, which represents the critical execution path, is evaluated separately. Following the standard practice in quantum algorithm evaluation, our work reports quantum computation cost, gate count and circuit depth separately.
Theorem 2.
The per-iteration oracle gate count of a reversible PKRO is given in (40):
where denotes the total gate count of the Grover oracle, is the gate count of computing the PKRO spectral coefficients using the reversible butterfly network, denotes the gate count of the reversible circuit that counts the number of PKRO nonzero coefficients; is the gate count of the reversible comparator that checks whether the coefficient count satisfies the threshold criterion; represents the gate count of the phase-marking operation that marks candidate solutions satisfying the oracle condition; and is the gate count of reversing the PKRO processor, counter, and comparator to restore all ancillae to their initial | states.
Likewise, the oracle circuit depth is expressed in (41):
where each denotes the critical-path depth after maximal parallelization for each key component. They follow the same definition of each critical component from (40).
Proof of Theorem 2.
The reversible PKRO oracle consists of five stages: (i) the butterfly-based PKRO processor, (ii) the Hamming-weight counter, (iii) the threshold comparator, (iv) the phase-marking operation, and (v) the inverse computation (uncomputation).
- PKRO processor:
The butterfly processor computes all PKRO spectral coefficients through recursive expansion stages. Assuming each butterfly coefficient update is implemented by reversible Toffoli ternary control and binary input gate C2C3X, each stage processes all coefficients once. Therefore, where the Big- notation ignores constant factors and lower-order terms, focusing only on the dominant term. describes the asymptotic upper bound on the growth rate of the gate counts as the input size increases.
Since all butterflies within the same stage operate on independent data, they can be executed concurrently. Consequently, only the sequential stages determine the critical path, giving
- 2.
- Hamming-weight counter:
The counter scans the -bit coefficient vector once to compute the number of nonzero coefficients. Hence,
Using a balanced reversible adder tree, the additions are performed in parallel, resulting in
- 3.
- Threshold comparator:
The reversible comparator evaluates whether the computed Hamming weight satisfies . Since the counter output contains bits, and
- 4.
- Phase marking:
After comparison, a controlled phase gate marks the valid target solutions. This requires constant gate cost and constant depth,
- 5.
- Uncomputation:
To restore all ancillae to their initial | states, the oracle applies its inverse circuit . Since the inverse executes the butterfly processor, counter, and comparator in reverse order, and .
Substituting these expressions into (40) and (41) yields
and
□
After applying Theorem 2 and substituting each item in (40) with their values, we can get the following (42) because dominates the remaining terms:
Similarly, we get the stated in (43):
Because qubit and qutrit systems have different computational dimensions and native gate libraries, their quantum computation costs cannot be compared directly without a hardware-specific gate decomposition. Therefore, this work reports computation costs separately for binary and ternary logical operations. In the proposed circuit model, the binary–ternary Toffoli gate C2C3X used in the butterfly network is treated as a high-level elementary operation. When implemented using native qubit and qutrit gates, C2C3X must be decomposed into hardware-supported operations, making its cost technology dependent. For illustrative cost estimation, we assume that one C2C3X gate is equivalent to approximately 5–6 elementary qubit gates and 5–10 elementary qutrit gates, consistent with reported decompositions of multi-controlled and ternary quantum gates [65,70,71,72,73]. The exact cost depends on the target hardware and native gate set. Resource overheads associated with qubit–qutrit interactions are not considered in this work and will be investigated in our future research.
The quantum gate libraries and their cost estimates are summarized in Table 3. Ternary gates use a native qutrit gate library, whereas binary gates use the standard qubit gate library.
Table 3.
Quantum Gate Library used in PKRO oracle and Grover diffusion operator ( denotes the floor function).
Table 4 lists quantum binary and ternary gate count for n-variable PKRO oracle and Grover diffusion operator. These gate counts are provided as reference values to indicate how the number of elementary binary and ternary gates varies with the number of variables. The actual quantum gate count requirements and physical implementation costs will depend on the specific circuit decomposition, hardware architecture, gate set, and optimization techniques used for implementation [72]. Therefore, the gate counts in Table 4 should be regarded as analytical estimates rather than definitive physical resource costs.
Table 4.
Quantum binary and ternary gate count for PKRO oracle and Grover diffusion operator.
The quantum gate count of the Grover diffusion operator is estimated as , based the gate count in Table 4. From (42), the PKRO oracle has a quantum gate count estimation of , which grows faster with the number of input variables compared with the diffusion operator. Consequently, the oracle dominates the overall quantum gate count in Grover’s algorithm circuit design. Therefore, following the standard resource analysis of Grover’s algorithm [74], only the oracle quantum computation cost is reported in this research. If threshold values are evaluated during PKRO minimization for a specific input minterm vector under the jth variable expansion ordering, C2C3X gate quantum computation cost estimation is denoted as , then its oracle quantum computation cost is given by (44), derived from (42):
Since an n-variable binary function has n! possible variable expansion orderings and Grover’s algorithm is repeated k times for post-processing and post-selection, the total quantum computation cost is given by (45). Please note, O(k) classical post-processing and post-selection computation cost is not included in (45):
(45) represents the estimated total computation cost of our proposed hybrid quantum–classical optimization framework. In our experimental simulation, is determined exactly by classical evaluation of the PKRO search space and used to set the Grover iteration count. For , (44) and (45) quantify the quantum search cost conditional on known , excluding this classical preprocessing cost. In contrast, the conservative assumption can be used to allow (44) and (45) to be evaluated without knowing the exact . For a fairer quantum–classical comparison, we evaluate both the exact and conservative cases to determine the iteration count, although generally requires more Grover iterations than using the exact . Under the assumption of M = 1, the oracle needs to be modified to consistently amplify the same target solution state in each Grover iteration (e.g., by always amplifying the target solution with the maximum index of the minterm vectors). This assumption also allows the search to proceed when ; if no feasible solution is observed after repeated Grover executions, the likelihood that is infeasible increases with the number of Grover executions. Conversely, observing a feasible solution establishes that is feasible. Thus, repeated Grover executions can identify the minimum feasible threshold with high confidence. Our future work will investigate quantum counting and adaptive Grover strategies for handling unknown and incorporate their additional oracle-query costs into a more comprehensive framework resource comparison.
The exhaustive classical search evaluates all N candidate PKRO representations for each of the n! possible variable orderings. Assuming the same PKRO evaluation circuit is used, its computation cost estimation is given by (46).
Grover’s algorithm reduces the search query complexity from to . Note that Grover’s algorithm reduces the exponent by taking a square root that is still double exponential. Therefore, Grover’s algorithm does not change the asymptotic class of the search space. The only thing changed is the number of Grover iterations relative to the number of classical exhaustive search evaluations
The primary objective of this work is to develop a quantum search framework for exact PKRO optimization. Accordingly, the evaluation focuses on (i) the improvement of PKRO over KRO and FPRM representations and (ii) the reduction in Grover iterations achieved by the proposed multi-solution search strategy. Classical exhaustive search (46) serves as the optimal baseline for verifying the correctness of the proposed framework. Although the proposed framework guarantees globally optimal PKRO solutions, its search space still grows rapidly with the number of variables . Classical heuristic ESOP and Reed–Muller optimization methods [30,31,32,33,34,35] improve scalability but generally do not guarantee global optimality, while the quantum ESOP optimization method in [36] was demonstrated primarily for 2-variable functions. By exploring the complete PKRO search space, our proposed framework preserves exact optimality while achieving Grover’s quadratic reduction in oracle queries compared with classical exhaustive search.
3.7. Software-Simulation Validation and Robotic Demonstration
Logic-based machine learning represents predictive models using explicit logical rules rather than numerical parameters, enabling compact and interpretable classifiers suitable for hardware implementation. Classical approaches include ESOP minimization for machine learning and knowledge discovery [75], as well as rule-learning systems such as the Attributional Calculus (AQ) algorithm, which constructs discriminative rules from training examples while optimizing criteria such as rule complexity and classification accuracy [76,77]. The CN2 algorithm is another well-known classical rule-induction method for learning classification rules from data [3]. In parallel, classical logic synthesis and circuit design have employed heuristic optimization, functional decomposition, and evolutionary synthesis to optimize logic implementations [78,79]. However, these classical approaches rely on heuristic search and do not provide quantum search over the complete PKRO representation space.
In our proposed framework, logic-based quantum machine learning is formulated as an exact PKRO minimization problem for incompletely specified binary data. As a subcategory of ESOP representations, PKRO provides greater expansion flexibility, while the proposed hybrid quantum–classical Grover-based framework enables exact minimum-cost synthesis through quantum search rather than relying solely on classical heuristic ESOP optimization.
Let denote the input space of an -variable binary function. Each training sample is with binary label The training dataset is where . Input combinations not included are treated as “don’t-care” conditions and may be assigned either binary value during PKRO optimization. Thus, the optimization preserves the labels of all training samples while selecting assignments for the unspecified inputs that minimize the PKRO representation. Assuming h is any PKRO representation for mapping all minterm cares to their outputs and also converting all “don’t-care” to their corresponding mapped outputs 0 and 1, is the number of AND-XOR nonzero coefficients of h. We also assume the labels are preserved for all . The hypothesis class is defined independently of T and consists of all that preserve the labels of the training samples. The learning objective is formulated in (47):
Here, T is a prescribed coefficient threshold rather than a bound incorporated into the hypothesis class . The initial threshold is progressively decreased until its smallest feasible value is identified. Our proposed method learns the optimal PKRO classifier that is consistent with the training data, following the principle of selecting the simplest consistent hypothesis.
In conventional logic synthesis, unspecified truth-table entries are treated as “don’t-care” conditions and may be assigned either logic value (0 or 1) to simplify the circuit. In our proposed framework, these unspecified entries are treated as “don’t-care” conditions and may be assigned either logic value to facilitate PKRO minimization. The objective goal is to learn a compact PKRO logic function consistent with the observed training data while assigning outputs to unseen inputs, following Occam’s razor principle. This framework focuses on symbolic logic learning and compact Boolean hypothesis synthesis rather than statistical generalization approach.
For the robotic case study, the training accuracy is 100% because the synthesized PKRO classifier is exactly consistent with all specified training samples. Since the primary goal of this work is to develop and confirm the proposed quantum-assisted learning algorithm, no independent test dataset is used. Accordingly, the reported 100% classification accuracy should be interpreted as a measure of consistency with the training specifications rather than as an indication of generalization performance metric [78]. Evaluating predictive performance on benchmark symbolic learning datasets and comparing with classical symbolic learning methods, such as decision trees and rule-learning algorithms, will be investigated in our future work. The proposed logic-based quantum machine-learning framework learns Boolean hypotheses by searching the PKRO hypothesis space using a hybrid binary–ternary Grover’s algorithm. By combining symbolic logic learning with quantum search, the framework effectively synthesizes compact and interpretable logic classifiers for robotic decision-making using the multi-solution Grover-based technique.
In [80], a quantum-controlled Braitenberg vehicle uses two front sensors and two rear motors, with its behavior being determined by the sensor readings. Following this concept, we use a vehicle with three binary sensor readings (, , and ), and train it using five sensor patterns represented as 3-variable minterms. For illustration, these training examples are shown in a Karnaugh map [81] in Figure 13, where 0 represents turning left and 1 represents moving forward. The remaining three unspecified cases are treated as “don’t-care” conditions and assigned binary values to minimize the number of nonzero PKRO AND–XOR coefficients. Our proposed framework then learns a compact PKRO-based AND–XOR classifier consistent with the training data. The resulting assignments preserve the specified sensor–action mappings while using unspecified inputs to minimize the PKRO representation. This demonstrates how the framework handles incomplete training data to obtain simpler Boolean logic representations.
Figure 13.
Illustration of our quantum machine-learning process based on PKRO minimization as applied to a 3-variable robotic demonstration.
The experimental setup (see Figure 14) consists of a Hiwonder intelligent-vision robot equipped with a Raspberry Pi 5 (4 GB memory) running Python 3, and an Intel Core i7 laptop with a 13th Gen Intel® Core™ i7 processor and 16 GB memory for classically simulating our proposed quantum machine-learning framework. The robot is equipped with a high-definition (HD) camera and an ultrasonic distance sensor, providing complementary visual and distance information for robotic perception. This multi-sensor platform supports real-time data acquisition and robotic decision-making [82,83,84].
Figure 14.
Experimental setup to demonstrate our proposed quantum machine-learning framework.
The HD camera captures real-time images, which are processed to extract features such as object presence and navigation cues. The images are preprocessed using normalization and feature extraction before being converted into binary variables [85]. In this case study, blue and green blocks in the images are used as target objects for detection.
The ultrasonic sensor simultaneously measures the distance to nearby obstacles. Its readings are converted into binary values, where 1 indicates no obstacle within 30 cm and 0 indicates that an obstacle is detected. Ultrasonic sensing complements the camera by providing reliable distance measurements under varying lighting conditions [86].
Sensor fusion is performed on the Raspberry Pi 5 by combining the camera and ultrasonic features into a unified Boolean representation [87]. The variable represents obstacle detection from the ultrasonic sensor, while and indicate the presence of blue and green blocks, respectively. This quantum machine-learning framework is simulated on the laptop to learn the PKRO-based decision function for robotic navigation. The input variables and output labels of the classifier are summarized in Table 5.
Table 5.
Input/output concepts of our quantum machine-learning experiment.
The proposed framework is evaluated using our Python 3-based quantum simulator and a Hiwonder robotic platform. The simulator verifies the oracle, diffusion operator, and multi-solution search, while the robotic experiment demonstrates the real-time navigation using the optimized PKRO decision function. The robot executes the synthesized logic function (Figure 14), with quantum computations performed in software simulation. The proposed quantum approach is compared with a classical exhaustive PKRO search over the complete representation space, with both methods identifying the minimum-cost PKRO representation. The comparison focuses on the computational cost.
The pseudocode of the software simulation is outlined in Algorithm 1.
| Algorithm 1: Software simulation of logic-based PKRO minimization |
| Inputs: Training dataset Dtraining and target success probability ptarget Outputs: Optimal PKRO representation Pmin and minimized AND–XOR classifier 1: Construct the minterm vector from the labeled training dataset Dtraining 2: BestSolution ← NULL 3: For each variable expansion order V (all n! permutations) do //---------- Classical Preprocessing ---------- 4: Generate an initial feasible PKRO expansion by randomly assigning one polarity to each expansion tree node 5: Compute the corresponding PKRO spectral coefficients 6: Count the number of nonzero spectral coefficients Tinitial 7: CandidateSet ← initial feasible candidate for Tinitial 8: Set the initial threshold: T ← Tinitial −1 9: While (better solution exists) do //---------- First Grover Execution ---------- 10: Prepare a uniform superposition of all PKRO expansion assignments 11: Determine the number of target solutions M (If M is unknown, M = 1) 12: Compute the Grover iteration number: r = round () 13: Execute Grover search once using r iterations 14: Measure the quantum registers 15: Estimate the single-execution success probability psuccess //---------- Determine Repeated Executions ---------- 16: Calculate required number of Grover executions k using ptarget and psuccess 17: Add the candidate from this Grover execution to CandidateSet //---------- Additional Grover Executions ---------- 18: For (execution = 2 to k) do 19: Initialize the quantum registers 20: Execute Grover search using r iterations 21: Measure and decode the candidate PKRO form 22: Add the candidate to CandidateSet 23: End For //---------- Classical Post-Processing and Post-Selection ---------- 24: Classically verify all candidates in CandidateSet 25: Select candidate with minimum number of nonzero spectral coefficients 26: If Count (BestCandidate) ≤ T then 27: BestSolution ← BestCandidate 28: T ← Count (BestCandidate) − 1 29: Else 30: Terminate threshold search 31: End If 32: End While 33: End For 34: Select overall best PKRO representation Pmin among all variable expansion orders 35: Construct the minimized AND–XOR classifier 36: Validate the classifier using Dtraining 37: Return Pmin and the minimized AND–XOR classifier |
Figure 15 illustrates our complete system workflow, in which the training data are processed by our framework simulator to synthesize the minimum PKRO decision function, which is then communicated to Raspberry Pi 5 controller for robotic decision-making.
Figure 15.
Flow diagram of the proposed quantum machine-learning framework.
4. Results and Discussion
4.1. Comparison of PKRO, KRO, and FPRM Form Minimization Results
PKRO, KRO, and FPRM minimizations are evaluated using the number of nonzero AND–XOR coefficients as the cost function. Table 6 summarizes the results for all 3-variable binary functions. PKRO reduces the number of nonzero coefficients by 0 or 1 compared with KRO, and by 0, 1, or 2 compared with FPRM. Overall, PKRO improves upon KRO for 4.688% of the functions, and upon FPRM for 37.5%, with average reductions of 0.047 and 0.484 nonzero coefficients, respectively. This improvement results from PKRO’s flexibility to independently select Sh, pD, and nD expansions at each node, providing a larger search space and more compact AND–XOR representations. As shown in Table 7, PKRO can generate up to 20% fewer nonzero coefficients than KRO for certain minterm vectors. Previous heuristic studies have also reported PKRO improvements over KRO, including an average 12.3% reduction in decision-diagram node ratio for larger input/output benchmarks and up to 25% improvement for some benchmark circuits [45].
Table 6.
PKRO, KRO, and FPRM minimization—comparing results for all 3-variable binary functions.
Table 7.
Comparison of PKRO and KRO results for 3-variable minterm examples.
4.2. Simulation Analysis of Single-Solution Grover’s Algorithm
This research simulates the single-solution case for Grover’s algorithm with (M = 1). Figure 16 shows the measurement probability versus the number of Grover iterations for 3-variable PKRO minimization. According to (24), the optimal number of iterations is approximately ≈ 37 times. The probability of measuring the optimal solution increases with the number of iterations and approaches 100% at approximately 37 iterations. Further iterations reduce the success probability, which then oscillates periodically. This behavior results from the amplitude-amplification process, in which each Grover iteration rotates the quantum state toward the target state. After the optimal point, further rotations move the state away from the target , reducing the success probability. The single-solution case () is a special case of the multi-solution Grover’s search algorithm and exhibits the same amplitude-amplification behavior. Therefore, selecting an appropriate number of Grover iterations is essential for finding the optimal PKRO representation.
Figure 16.
Probability of measuring the target state versus the number of Grover iterations, illustrating the periodic behavior of Grover’s algorithm.
Moreover, Grover’s algorithm provides a quadratic reduction in the number of Grover iterations. As shown in Table 8, the proposed approach reduces the required number of iterations by more than 98% compared with classical exhaustive search. This reduction quantifies the decrease in Grover iterations for the problem sizes evaluated in this study and should not be interpreted as direct experimental evidence of scalability to larger values of n. Because the PKRO search space grows exponentially with the number of variables n, the reduction in the required number of Grover iterations is expected to become increasingly significant as the search space grows. However, a reduction in the number of Grover iterations does not, by itself, imply a corresponding reduction in the total execution time. Practical scalability also depends on the resource requirements of the oracle design and implementation, including gate count, circuit depth, ancilla qubits or qutrits, and the overheads associated with implementing multi-controlled gates, just to name a few. The scalability of our proposed framework is further examined later in the paper using n-variable analytical resource estimates.
Table 8.
Quadratic number of Grover iteration reduction for the single-solution case ().
4.3. Multi-Solution Grover’s Algorithm Simulation Analysis
Figure 17 shows a multi-solution Grover’s search for the minterm vector 01001011. The measured state represents one of 144 optimal PKRO polarity assignments. This ternary state corresponds to decimal index 646. Each target state has a measurement probability of approximately 0.653%, giving a total success probability of 94.032% across all 144 target states in one Grover execution. Because the 144 optimal polarity assignments are equivalent solutions, measuring any one of these target states constitutes a successful outcome. Thus, the high aggregate success probability results from the combined probability of all 144 optimal states rather than from the probability of measuring a particular state. This multi-solution behavior is a key advantage of the proposed multi-solution Grover-based search, as it allows any optimal PKRO polarity assignment to be accepted as a valid solution.
Figure 17.
Multi-solution Grover’s algorithm measurement-probability distribution for the minterm vector 01001011.
Table 9 shows simulation results demonstrating that the proposed multi-solution Grover’s algorithm reduces the required number of iterations by more than 91% compared with the single-solution Grover’s algorithm. As the number of target solutions M increases, fewer iterations are needed, consistent with the O complexity of the multi-solution Grover search. These results demonstrate that our proposed binary–ternary multi-solution Grover’s algorithm can efficiently amplify multiple optimal PKRO polarity assignments while reducing the overall search cost.
Table 9.
Multi-solution Grover’s algorithm for 3-variable PKRO form minimization. For comparison, the single-solution case requires Grover iterations for all 3-variable PKRO forms.
The quantum simulator analyzes all 256 possible minterm vectors for 3-variable PKRO minimization and classifies them into four categories—Category-144, Category-288, Category-432, and Category-648—according to the number of target solutions. Figure 18 shows the percentage distribution of these categories across all 3-variable minterm vectors.
Figure 18.
Percentage distribution of target solution count-based categories for multi-solution Grover’s algorithm in 3-variable PKRO minimization across all minterms.
In addition, the proposed post-processing method is evaluated through simulation to improve the success probability of Grover’s algorithm. For example, if the target success probability is set to 99.9% for the minterm vector 01001011, the required number of Grover executions is , according to (39). After three executions, the post-processing method selects the PKRO polarity assignment with the fewest nonzero coefficients, achieving a success probability of 99.979%, as calculated by (38) and shown in Table 10.
Table 10.
Example of multiple executions of Grover’s algorithm to achieve a target success probability of 99.9% for the minterm vector 01001011.
Table 11 shows that, for the minterm vector 01001011, the proposed strategy achieves target success probabilities with only a small number of repeated Grover executions. Consequently, the method provides a practical balance between computational efficiency and solution quality while significantly increasing the probability of identifying optimal PKRO representations for logic-minimization and machine-learning tasks.
Table 11.
Example of required Grover executions k to achieve different target success probability for the minterm vector 01001011.
Table 12 lists the number of Grover executions required to achieve the target success probability using the proposed post-processing and post-selection method for different multi-solution count M categories. For all M categories in Table 12, only 2–3 executions are required, demonstrating the rapid increase in overall success probability achieved by our proposed method.
Table 12.
Required number of multi-solution Grover’s algorithm executions to achieve an overall success probability of for 3-variable PKRO optimizations.
Figure 19 shows that the proposed method exponentially increases the success probability toward 100% across different multi-solution categories—Count-144, Count-288, Count-432, and Count-648—by combining multiple independent executions of Grover’s algorithm, thereby enhancing the reliability and robustness of our proposed quantum machine-learning framework. Please note that the success probability does not necessarily increase monotonically with the number of solutions M. For example, the Count-144 category achieves a higher success probability than the Count-288 category because the required number of Grover iterations is rounded to the nearest integer, and this rounding can result in different success probabilities for different solution counts M. Therefore, there is no exact monotonic trend in which a higher M count always leads to a higher success probability.
Figure 19.
PKRO Grover’s post-processing and post-selection success probability trend as a function of multiple executions for 3-variable minterm vectors to handle different Grover’s algorithm multi-solution count categories. The Figure illustrates the improvement in overall success probability through repeated Grover executions combined with post-processing and post-selection.
4.4. Quantum Computation-Cost-Simulation-Result Analysis
Table 13 presents the estimated quantum computation cost for one Grover iteration based on (42), assuming each gate has binary and ternary quantum costs of approximately 6 and 10, respectively. Please note the exact cost number depends on the actual target hardware and the chosen gate decomposition.
Table 13.
Estimated quantum computation cost for one iteration of PKRO-processor evaluation for an n-variable binary function PKRO minimization, assuming binary and ternary quantum cost of approximately 6 and 10, respectively, for gate.
Figure 20 shows an example of PKRO form minimization execution initial-to-minimal threshold-difference distribution for all 3-variable binary function minterm vectors. In this example, each PKRO decomposition is assigned with pD expansion at every decomposition node to determine the initial threshold Tinitial. In Figure 20, larger threshold differences indicate a greater PKRO AND-XOR nonzero coefficient reduction being achieved by the PKRO optimization process while a higher number of Grover iterations needs to be executed to achieve that.
Figure 20.
Threshold reduction from PKRO minimization for all 256 3-variable binary functions. Each decomposition uses pD expansion to determine the initial threshold . The horizontal axis shows the function index (0–255) and the vertical axis shows the reduction in .
Figure 21 shows an example of the total number of oracle evaluations required to reduce the AND–XOR nonzero coefficient threshold from its initial value obtained using pD expansions to the minimum in 3-variable PKRO minimization. The calculation includes all Grover iterations used to minimize the threshold across n! variable expansion orderings, as well as k repeated Grover executions for post-processing to increase the success probability to the target level .
Figure 21.
Example of the total number of oracle evaluations to reduce AND–XOR threshold from its initial value to the minimum and perform post-processing for all 3-variable PKRO minimizations.
Table 14 presents the estimated PKRO processor quantum computation cost distribution for the complete 3-variable binary function PKRO minimization process using the proposed framework, including the statistic in addition to case. The initial threshold is determined by assuming pD expansions at all PKRO decomposition nodes. The gate cost is estimated separately for binary and ternary gates. These values are intended for cost estimation only; the actual implementation cost depends on the underlying hardware technology and gate-decomposition method. The results, therefore, provide a hardware-independent basis for analyzing the relative cost of our proposed quantum machine-learning framework.
Table 14.
Estimated PKRO processor evaluation quantum computation gate cost distribution including threshold decreasing from the initial value to the minimal value, and post-processing k executions for all 3-variable function PKRO minimization executions, assuming binary and ternary quantum cost of approximately 6 and 10, respectively, for gate.
Table 15 compares the proposed Grover-based PKRO processor with classical exhaustive search using the same PKRO processor under a uniform per-iteration cost assumption. Assuming that the gate has the same estimated quantum computation cost, Grover’s algorithm reduces the computation cost, compared with classical exhaustive search, by an average of 97.95% and up to 98.31% for M > 1, and by an average of 95.24% and up to 98.31% for M = 1.
Table 15.
Comparison of Grover oracle query PKRO processor computation cost between Grover’s algorithm (GA) and classical exhaustive (CE) search for PKRO minimization of all 3-variable binary functions (CE total cost: 1,889,568 for binary gate cost and 3,149,280 for ternary gate cost).
4.5. Software Simulation and Robotic Demonstration of the Proposed Quantum Machine-Learning Framework
Table 16 shows that our proposed Grover-based quantum machine-learning framework can handle multiple “don’t-care” conditions. During learning, “don’t-care” entries are treated as variables within the PKRO search space. These variables are assigned with 0 and 1 binary values. The multi-solution binary–ternary Grover’s algorithm searches these assignments to identify optimal PKRO solutions with the minimum number of AND–XOR nonzero coefficients. The results demonstrate that our logic-based quantum machine-learning framework can handle different training datasets while maintaining compact solutions and computational efficiency.
Table 16.
Examples of logic-based quantum machine-learning solutions when handling multiple “don’t-care” conditions.
Furthermore, our quantum machine-learning framework is evaluated using a robotic motion-control case study. As shown in Table 17 and Figure 22, the PKRO-based learning process identifies an optimal prediction function, , which provides a compact representation consistent with Occam’s razor (see Figure 22b). Figure 22c illustrates an alternative prediction function that is not selected because it contains a larger number of AND–XOR nonzero coefficients. When multiple solutions have the same minimum cost, the simulator randomly selects one of the optimal solutions and transmits it to the robot via Wi-Fi. The robot then uses the selected function to make motion decisions based on real-time sensor inputs. Experimental results show correct behavior for all tested sensor readings, demonstrating that the proposed framework can generate compact logic-based prediction functions for robotic decision-making. This case study illustrates the practical use of the learned minimum-cost logic representation for hardware-based robotic decision-making.
Table 17.
Example of PKRO-based quantum-assisted machine learning for robotic motion control with multiple “don’t-care” conditions.
Figure 22.
Robot-motion case-study illustration: (a) Karnaugh map shows input minterms with “don’t-care” conditions; (b) the minterm vector 01001011 is selected due to minimum number of ones for AND–XOR coefficients: ; and (c) the minterm vector 11011010 is not selected due to more ones for AND–XOR coefficients: .
The framework simulator uses approximately 6.4 GB of memory due to large matrix operations, with each Grover iteration taking about 5 milliseconds on our laptop. This memory requirement limits simulation scalability for larger numbers of variables. Future work will investigate implementation of the proposed framework on real quantum hardware. To further assess scalability, we evaluate classical PKRO enumeration for . Each completely specified 4-variable binary function has approximately candidate polarity assignments from Table 8, resulting in approximately PKRO expansion combinations across all binary functions. At the measured rate of 0.4659 milliseconds per PKRO polarity combination, exhaustive enumeration would require approximately 333 years of sequential computation. Thus, computational time becomes the primary scalability limitation for , requiring further software optimization, parallel computing, and more powerful hardware to feasibly explore larger PKRO expansion spaces classically. This computational limitation further motivates the proposed quantum-based framework as a potential approach for PKRO expansion minimization in the hybrid quantum–classical domain.
5. Directions of Future Work
Several directions remain for future research. First, the current work is primarily simulation-based. Future studies will focus on implementing the proposed approach on real quantum hardware. Current quantum computers remain constrained in the numbers of available qubits and qutrits because of noise, connectivity, decoherence, and error-correction constraints. As quantum hardware advances, larger-scale binary–ternary Grover-based machine-learning systems may become feasible.
Second, future research will investigate error-tolerant machine learning, where slightly less accurate but simpler AND–XOR representations may improve generalization while reducing circuit complexity. Noise-based quantum simulation [88] can also be used to evaluate the robustness of the proposed hybrid binary–ternary quantum–classical framework. Systematic studies of noise and decoherence will assess their effects on solution quality and circuit performance.
Third, reducing the number of qutrits required to represent PKRO polarity configurations is an important research direction. Ternary Decision Diagrams (TDD) and RM expansions may provide opportunities to reduce the number of active qutrits and gate counts in quantum oracle synthesis [89]. In general, reducing the size and complexity of the quantum oracle remains a key challenge. Future work will also examine scalability to larger numbers of variables and the associated qubit/qutrit, gate, and circuit-depth requirements. Beyond the exact optimization studied in this paper, future research will investigate classical exhaustive and heuristic methods using common benchmarks to quantify representation cost, computational effort, and scalability, while accounting for differences in optimization objectives and optimality guarantees. These comparisons will help identify the practical trade-offs and application regimes of the respective approaches. Approximate optimization strategies will also be investigated to potentially trade representation quality for lower computational and quantum resource requirements.
Finally, more compact solutions may theoretically be obtained using generalized Reed–Muller (GRM) forms [35,44]. GRM provides greater representation flexibility because the polarity of each variable can vary across individual product terms, but this also results in a substantially larger search space. Since GRM forms are canonical, exact minimization can be formulated by evaluating a finite set of transformation matrices, providing a possible basis for quantum oracle construction. However, existing approaches are generally limited to a fixed number of variables and do not provide a recursive structure that can be extended to arbitrary n. Developing a recursive GRM butterfly structure for arbitrary n, therefore, remains an open theoretical problem. Recent work on classical GRM and generalized pseudo-mixed-polarity Reed–Muller (GPMPRM) methods [90,91,92] provides a potential starting point for developing future quantum search algorithms for more general AND–XOR representations and logic-based classifiers.
6. Conclusions
This paper presents a quantum-assisted framework for logic-based machine learning based on logic minimization using a multi-solution binary–ternary Grover’s algorithm and Pseudo-Kronecker Reed–Muller (PKRO) minimization. The proposed approach formulates logic-based machine learning as a search for minimum-cost AND–XOR representations that are consistent with the training data and guided by Occam’s razor. To the best of our knowledge, based on our review of the recent literature, this work is the first to apply a binary–ternary Grover’s algorithm to the minimization of AND–XOR representations within a quantum machine-learning framework. Our framework employs ternary controls and binary targets, providing general architecture with potential applications beyond the specific minimization problem considered here. Furthermore, the use of multiple butterfly structures in quantum superposition provides a potential pathway for extending classical butterfly-based algorithms to the quantum domain and, ultimately, to arbitrary multi-valued logic with both multi-valued controls and targets.
To explore the expanded PKRO solution space, our proposed method uses hybrid ternary–binary reversible circuits, where qutrits encode the three PKRO expansion types using values 0, 1, and 2, while binary registers perform PKRO computation and cost evaluation. The framework also supports incomplete training data containing “don’t-care” conditions for logic minimization. Simulation results demonstrate the proposed quantum circuit operations and the ability to identify minimum-cost PKRO forms. Across all 256 three-variable binary functions, PKRO provides fewer AND-XOR nonzero coefficients than KRO for 4.688% of functions and fewer than FPRM for 37.5% of functions, with average reductions of 0.047 and 0.484 nonzero coefficients, respectively. The multi-solution Grover’s algorithm reduces the number of iterations by more than 91% compared with the corresponding single-solution search, consistent with the standard complexity of multi-solution Grover’s algorithm.
The threshold-based post-processing and post-selection procedure is introduced to promote convergence toward the desired solution. A robotic navigation case study demonstrates how the resulting PKRO function can be synthesized as a hardware classifier for decision-making. Although the demonstration uses classical simulation, it illustrates the application of the proposed minimum-cost logical model-selection framework to hardware-implementable machine learning. No held-out evaluation or quantitative comparison with classical rule-learning methods is performed. Beyond the three-variable evaluation, the n-variable resource and scalability analysis characterizes the growth of the PKRO search space, oracle resources, and Grover search requirements. Practical evaluation of larger instances remains limited by classical simulation resources and quantum hardware constraints, including available qubits and qutrits, connectivity, gate fidelity, and error correction. When native (supported) ternary gates are not available, qutrit operations can be encoded using multiple qubits, at the cost of additional resources. IBM’s projected systems, targeting over 10,000 qubits by the early 2030s [93], provide one indication of the potential long-term hardware-scaling direction.
Author Contributions
Conceptualization, S.L. and M.P.; methodology, S.L. and M.P.; software, S.L.; validation, S.L., A.A.-B. and M.P.; formal analysis, S.L., A.A.-B. and M.P.; data curation, S.L.; writing—original draft preparation, S.L.; writing—review and editing, S.L., A.A.-B. and M.P.; visualization, S.L.; and supervision, M.P. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in our study are included in this article; further inquiries can be directed to the corresponding author (S.L.).
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AIG | And-inverter graph |
| AQ | Attributional calculus |
| BDD | Binary decision diagram |
| CN2 | Classification induction |
| DNF | Disjunctive normal form |
| ESOP | Exclusive-or Sum-Of-Products |
| FA | Full adder |
| FFT | Fast Fourier transform |
| FOIL | First order inductive learner |
| FPRM | fixed-polarity Reed–Muller |
| GPMPRM | Generalized pseudo-mixed-polarity Reed–Muller |
| GRM | Generalized Reed–Muller |
| HA | Half adder |
| HD | High definition |
| ID3 | Iterative dichotomiser 3 |
| KRO | Kronecker Reed–Muller |
| LSB | Least significant bit |
| ML | Machine learning |
| MS | Muthukrishnan–Stroud |
| MSB | Most significant bit |
| nD | Negative Davio |
| pD | Positive Davio |
| PKRO | Pseudo-Kronecker Reed–Muller |
| QAOA | Quantum approximate optimization algorithm |
| QML | Quantum machine learning |
| RIPPER | Repeated incremental pruning to produce error reduction |
| RM | Reed–Muller |
| Sh | Shannon |
| SOP | Sum-Of-Products |
| TDD | Ternary decision diagram |
References
- Yoo, S.; Bang, J.; Lee, C.; Lee, J. Quantum speedup in machine learning: Finding an N-bit Boolean function for a classification. New J. Phys. 2014, 16, 103014. [Google Scholar] [CrossRef] [Scilit]
- Michalski, R.S. Pattern recognition as rule-guided inductive inference. IEEE Trans. Pattern Anal. Mach. Intell. 1980, 2, 349–361. [Google Scholar] [CrossRef] [Scilit]
- Clark, P.; Niblett, T. The CN2 induction algorithm. Mach. Learn. 1989, 3, 261–283. [Google Scholar] [CrossRef] [Scilit]
- Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef] [Scilit]
- Quinlan, J.R. C4.5: Programs for Machine Learning; Morgan Kaufmann: San Mateo, CA, USA, 1993. [Google Scholar]
- Quinlan, J.R. Learning logical definitions from relations. Mach. Learn. 1990, 5, 239–266. [Google Scholar] [CrossRef] [Scilit]
- Cohen, W.W. Fast effective rule induction. In Proceedings of the 12th International Conference on Machine Learning (ICML), Tahoe City, CA, USA, 9–12 July 1995; pp. 115–123. [Google Scholar]
- Sasao, T. Logic Synthesis and Optimization; Kluwer Academic Publishers: Boston, MA, USA, 1993. [Google Scholar]
- Bryant, R.E. Graph-based algorithms for Boolean function manipulation. IEEE Trans. Comput. 1986, 35, 677–691. [Google Scholar] [CrossRef] [Scilit]
- Brayton, R.K.; Hachtel, G.D.; McMullen, C.T.; Sangiovanni-Vincentelli, A.L. Logic Minimization Algorithms for VLSI Synthesis; Kluwer Academic Publishers: Boston, MA, USA, 1984. [Google Scholar]
- Ashenhurst, R.L. The decomposition of switching functions. In Proceedings of the International Symposium on the Theory of Switching; Harvard University: Cambridge, MA, USA, 1957; pp. 74–116. [Google Scholar]
- Reed, I.S. A class of multiple-error-correcting codes and the decoding scheme. IRE Trans. Inf. Theory 1954, 4, 38–49. [Google Scholar] [CrossRef] [Scilit]
- Soeken, M.; Miller, D.M.; Drechsler, R. Quantum circuits for Boolean function minimization. In Proceedings of the IEEE International Symposium on Multiple-Valued Logic (ISMVL); IEEE Computer Society Digital Library: Washington, DC, USA, 2016; pp. 67–72. [Google Scholar]
- Maslov, D.; Dueck, G.W.; Miller, D.M. Techniques for the synthesis of reversible Toffoli circuits. ACM Trans. Des. Autom. Electron. Syst. 2008, 13, 42. [Google Scholar] [CrossRef] [Scilit]
- Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC), Philadelphia, PA, USA, 22–24 May 1996; pp. 212–219. [Google Scholar]
- Al-Bayaty, A.; Perkowski, M. A concept of controlling Grover diffusion operator: A new approach to solve arbitrary Boolean-based problems. Sci. Rep. 2024, 14, 23570. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Tsai, E.; Perkowski, M.A.; Song, X. Grover-based Ashenhurst–Curtis decomposition using the quantum language Quipper. Quantum Inf. Comput. 2018, 19, 35–66. [Google Scholar] [CrossRef] [Scilit]
- Pradhan, S.N.; Kumar, M.T.; Chattopadhyay, S. AND–XOR network synthesis with area-power trade-off. J. Circuits Syst. Comput. 2011, 20, 1019–1035. [Google Scholar] [CrossRef] [Scilit]
- Lee, S.; Nam, S.Y. Finding all solutions with Grover’s algorithm by integrating estimation and discovery. Electronics 2024, 13, 4830. [Google Scholar] [CrossRef] [Scilit]
- Park, G.; Zhang, K.; Yu, K.; Korepin, V. Quantum multi-programming for Grover’s search. Quantum Inf. Process. 2023, 22, 54. [Google Scholar] [CrossRef] [Scilit]
- Farhi, E.; Goldstone, J.; Gutmann, S. A quantum approximate optimization algorithm. arXiv 2014, arXiv:1411.4028. [Google Scholar]
- Al-Bayaty, A.; Perkowski, M. BHT-QAOA: The generalization of quantum approximate optimization algorithm to solve arbitrary Boolean problems as Hamiltonians. Entropy 2024, 26, 843. [Google Scholar] [CrossRef] [Scilit]
- Blumer, A.; Ehrenfeucht, A.; Haussler, D.; Warmuth, M.K. Occam’s razor. Inf. Process. Lett. 1987, 24, 377–380. [Google Scholar] [CrossRef] [Scilit]
- Rissanen, J. Modeling by shortest data description. Automatica 1978, 14, 465–471. [Google Scholar] [CrossRef] [Scilit]
- MacKay, D.J.C. Information Theory, Inference, and Learning Algorithms; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Li, L.; Thornton, M.; Perkowski, M. A quantum CAD accelerator based on Grover’s algorithm for finding the minimum fixed-polarity Reed–Muller form. In Proceedings of the 36th International Symposium on Multiple-Valued Logic, Singapore, 17–20 May 2006. [Google Scholar]
- Lee, B.; Perkowski, M. Quantum machine learning based on minimizing Kronecker Reed–Muller forms and algorithm with hybrid oracles. In Proceedings of the 19th Euromicro Conference on Digital System Design (DSD), Limassol, Cyprus, 31 August–2 September 2016. [Google Scholar]
- Finder, A.; Drechsler, R. An evolutionary algorithm for optimization of pseudo-Kronecker expressions. In Proceedings of the 40th International Symposium on Multiple-Valued Logic (ISMVL), Barcelona, Spain, 26–28 May 2010. [Google Scholar]
- Drechsler, R. Pseudo-Kronecker expressions for symmetric functions. IEEE Trans. Comput. 1999, 48, 987–990. [Google Scholar] [CrossRef] [Scilit]
- Drechsler, R.; Finder, A.; Wille, R. Improving ESOP-based synthesis of reversible logic using evolutionary algorithms. In Applications of Evolutionary Computation; Di Chio, C., Brabazon, A., Di Caro, G.A., Drechsler, R., Farooq, M., Grahl, J., Greenfield, G., Prins, C., Romero, J., Squillero, G., et al., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2011; Volume 6625, pp. 151–161. [Google Scholar] [CrossRef] [Scilit]
- Kozlowski, T.; Dagless, E.; Saul, J. An enhanced algorithm for the minimization of exclusive-OR sum-of-products for incompletely specified functions. In Proceedings of the International Conference on Computer Design, Austin, TX, USA, 2–4 October 1995. [Google Scholar]
- Sasao, T. EXMIN2: A simplification algorithm for exclusive-OR-sum-of-products expressions for multiple-valued-input two-valued-output functions. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 1993, 12, 621–632. [Google Scholar] [CrossRef] [Scilit]
- Mishchenko, A.; Perkowski, M. Fast heuristic minimization of exclusive-sums-of-products. In Proceedings of the 5th International Workshop on Applications of the Reed–Muller Expansion in Circuit Design (RM’2001); Mississippi State University: Starkville, MS, USA, 2001; pp. 242–250. [Google Scholar]
- Youssef, H.; Sait, S.M.; Adiche, H. Evolutionary algorithms, simulated annealing and tabu search: A comparative study. Eng. Appl. Artif. Intell. 2001, 14, 167–181. [Google Scholar] [CrossRef] [Scilit]
- Sasao, T.; Butler, J.T.; Matsuura, M. Baldwinian learning utilizing genetic and heuristic algorithms for logic synthesis and minimization of incompletely specified data with generalized Reed–Muller (AND–EXOR) forms. J. Syst. Archit. 2001, 47, 477–489. [Google Scholar] [CrossRef] [Scilit]
- Ketineni, H.; Perkowski, M. Quantum algorithm for ESOP minimization. Quantum Inf. Comput. 2023, 23, 195–222. [Google Scholar] [CrossRef] [Scilit]
- Koren, Y.; Bell, R.; Volinsky, C. Matrix factorization techniques for recommender systems. Computer 2009, 42, 30–37. [Google Scholar] [CrossRef] [Scilit]
- Nickel, M.; Murphy, K.; Tresp, V.; Gabrilovich, E. A review of relational machine learning for knowledge graphs. Proc. IEEE 2016, 104, 11–33. [Google Scholar] [CrossRef] [Scilit]
- Zhang, M.-L.; Zhou, Z.-H. A review on multi-label learning algorithms. IEEE Trans. Knowl. Data Eng. 2014, 26, 1819–1837. [Google Scholar] [CrossRef] [Scilit]
- Raykar, V.C.; Yu, S.; Zhao, L.H. Learning from crowds. J. Mach. Learn. Res. 2010, 11, 1297–1322. [Google Scholar]
- Cheng, F.; Li, W.; Liu, G.; Tang, Y. Prediction of drug–target interactions and drug repositioning via network-based inference. Bioinformatics 2012, 28, 2385–2392. [Google Scholar]
- Davio, M.; Deschamps, J.; Thayse, A. Discrete and Switching Functions; McGraw-Hill: New York, NY, USA, 1978. [Google Scholar]
- Ye, Y.; Roy, K. Efficient synthesis of AND/XOR networks. In Proceedings of the ASP-DAC’97: Asia and South Pacific Design Automation Conference, Chiba, Japan, 28–31 January 1997; IEEE: New York, NY, USA, 1997; pp. 539–544. [Google Scholar]
- Perkowski, M.A.; Jozwiak, L.; Drechsler, R. A canonical AND/EXOR form that includes both the generalized Reed–Muller forms and Kronecker forms. In Proceedings of the 3rd International Workshop on Applications of the Reed–Muller Expansion in Circuit Design (Reed–Muller ’97), Oxford, UK, 10–12 September 1997. [Google Scholar]
- Sasao, T.; Butler, J.T. A design method for look-up table type FPGA by pseudo-Kronecker expansion. In Proceedings of the 24th International Symposium on Multiple-Valued Logic (ISMVL); IEEE Computer Society: Washington, DC, USA, 1994; pp. 97–106. [Google Scholar] [CrossRef] [Scilit]
- Lindgren, P.; Drechsler, R.; Becker, B. Improved minimization methods of pseudo-Kronecker expressions for multiple output functions. In Proceedings of the 1998 IEEE International Symposium on Circuits and Systems (ISCAS ’98), Monterey, CA, USA, 31 May–3 June 1998; IEEE: Piscataway, NJ, USA, 1998; Volume 6, pp. 187–190. [Google Scholar] [CrossRef] [Scilit]
- Asaka, R.; Sakai, K.; Yahagi, R. Quantum circuit for the fast Fourier transform. Quantum Inf. Process. 2020, 19, 277. [Google Scholar] [CrossRef] [Scilit]
- Drechsler, R.; Becker, B. Binary Decision Diagrams: Theory and Implementation; Kluwer Academic Publishers: Boston, MA, USA, 1998. [Google Scholar]
- Sasao, T. AND-EXOR expressions and their optimization. In Logic Synthesis and Optimization; Sasao, T., Ed.; Kluwer Academic Publishers: Boston, MA, USA, 1993; pp. 287–312. [Google Scholar]
- Mishchenko, A.; Chatterjee, S.; Brayton, R. DAG-aware AIG rewriting: A fresh look at combinational logic synthesis. In Proceedings of the 43rd Design Automation Conference (DAC), San Francisco, CA, USA, 24–28 July 2006; pp. 532–535. [Google Scholar] [CrossRef]
- Mandal, S.; Chakrabarti, A.; Sur-Kolay, S. Synthesis of ternary Grover’s algorithm. In Proceedings of the 44th International Symposium on Multiple-Valued Logic (ISMVL), Bremen, Germany, 19–21 May 2014. [Google Scholar]
- Moraga, C. On some basic aspects of ternary reversible and quantum computing. In Proceedings of the 44th IEEE International Symposium on Multiple-Valued Logic (ISMVL), Bremen, Germany, 19–21 May 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 178–183. [Google Scholar]
- Goss, N.; Morvan, A.; Marinelli, B.; Mitchell, B.K.; Nguyen, L.B.; Naik, R.K.; Chen, L.; Jünger, C.; Kreikebaum, J.M.; Santiago, D.I.; et al. High-fidelity qutrit entangling gates for superconducting circuits. Nat. Commun. 2022, 13, 7481. [Google Scholar] [CrossRef] [Scilit]
- Bocharov, A.; Cui, S.X.; Roetteler, M.; Svore, K.M. Improved quantum ternary arithmetics. arXiv 2015, arXiv:1512.03824. [Google Scholar]
- Bocharov, A. A note on optimality of quantum circuits over the metaplectic basis. Quantum Inf. Comput. 2018, 18, 1–17. [Google Scholar] [CrossRef] [Scilit]
- Smith, K.N.; LaFave, T.P., Jr.; MacFarlane, D.L.; Thornton, M.A. Higher-radix Chrestenson gates for photonic quantum computation. J. Appl. Log. 2018, 5, 1781–1798. [Google Scholar]
- Fischer, L.E.; Chiesa, A.; Tacchino, F.; Egger, D.J.; Carretta, S.; Tavernelli, I. Universal qudit gate synthesis for transmons. PRX Quantum 2023, 4, 030327. [Google Scholar] [CrossRef] [Scilit]
- Brock, B.L.; Singh, S.; Eickbusch, A.; Sivak, V.V.; Ding, A.Z.; Frunzio, L.; Girvin, S.M.; Devoret, M.H. Quantum error correction of qudits beyond break-even. Nature 2025, 641, 612–618. [Google Scholar] [CrossRef] [Scilit]
- Thapliyal, H.; Srinivas, M.B. Novel reversible TSG gate and its application for designing components of primitive reversible/quantum ALU. In Proceedings of the 5th International Conference on Information, Communications and Signal Processing (ICICS), Bangkok, Thailand, 5–8 December 2005; IEEE: Piscataway, NJ, USA, 2005; pp. 1425–1429. [Google Scholar]
- Matsunaga, T.; Kimura, S.; Matsunaga, Y. An exact approach for GPC-based compressor tree synthesis. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2013, 96, 2553–2560. [Google Scholar] [CrossRef] [Scilit]
- Chatterjee, T.; Das, A.; Bala, S.K.; Saha, A.; Chattopadhyay, A.; Chakrabarti, A. QuDiet: A classical simulation platform for qubit–qudit hybrid quantum systems. IET Quantum Commun. 2023, 4, 167–180. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y. A generalization of the Deutsch–Jozsa algorithm to multi-valued quantum logic. In Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL), Osaka, Japan, 14–17 May 2007. [Google Scholar]
- Wang, Y.; Hu, Z.; Sanders, B.C.; Kais, S. Qudits and high-dimensional quantum computing. Front. Phys. 2020, 8, 589504. [Google Scholar] [CrossRef] [Scilit]
- Ivanov, S.S.; Tonchev, H.S.; Vitanov, N.V. Time-efficient implementation of quantum search with qudits. Phys. Rev. A 2012, 85, 062321. [Google Scholar] [CrossRef] [Scilit]
- Al-Bayaty, A. A conceptual technology-dependent framework of ternary quantum gates. arXiv 2026, arXiv:2604.23242. [Google Scholar]
- Cross, A.W.; Bishop, L.S.; Smolin, J.A.; Gambetta, J.M. Open Quantum Assembly Language. arXiv 2017, arXiv:1707.03429. [Google Scholar]
- Brassard, G.; Høyer, P.; Mosca, M.; Tapp, A. Quantum amplitude amplification and estimation. Contemp. Math. 2002, 305, 53–74. [Google Scholar] [CrossRef] [Scilit]
- Brassard, G.; Høyer, P.; Tapp, A. Quantum counting. In Proceedings of the 25th International Colloquium on Automata, Languages and Programming (ICALP ’98), Aalborg, Denmark, 13–17 July 1998; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1998; Volume 1443, pp. 820–831. [Google Scholar] [CrossRef] [Scilit]
- Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight bounds on quantum searching. Fortschr. Phys. 1998, 46, 493–505. [Google Scholar] [CrossRef]
- Tian, Y.; Feng, T.; Luo, M.; Zheng, S.; Zhong, X. Experimental demonstration of quantum finite automaton. EPJ Quantum Technol. 2023, 10, 8. [Google Scholar]
- Taheri Monfared, A.; Ciriani, V.; Kettunen, L.; Haghparast, M. Novel qutrit circuit design for multiplexer, de-multiplexer, and decoder. Quantum Inf. Process. 2023, 22, 12. [Google Scholar] [CrossRef] [Scilit]
- Bleiler, S.; Chen, S.; O’Neil, E.L.; Reich, J.E.; Rezvani, J.; Whitham-Powell, E.; Al-Bayaty, A.; Jegier, J.; Yang, S.; Perkowski, M. Visualizing the state space and transformations of higher order quantum logics via toric geometry. arXiv 2025, arXiv:2510.01455. [Google Scholar]
- Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information, 10th Anniversary ed.; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
- Lamata, L.; Quadrelli, M.B.; de Silva, C.W.; Kumar, P.; Kanter, G.S.; Ghazinejad, M.; Khoshnoud, F. Quantum mechatronics. Electronics 2021, 10, 2483. [Google Scholar] [CrossRef] [Scilit]
- Perkowski, M.A.; Ross, T.; Gadd, D.; Goldman, J.A.; Song, N. Application of ESOP minimization in machine learning and knowledge discovery. In Proceedings of the Second Workshop on Applications of Reed–Muller Expansion in Circuit Design, Chiba, Japan, 27–29 August 1995; pp. 102–109. [Google Scholar]
- Michalski, R.S. A theory and methodology of inductive learning. In Machine Learning: An Artificial Intelligence Approach; Michalski, R.S., Carbonell, J.G., Mitchell, T.M., Eds.; Morgan Kaufmann: San Francisco, CA, USA, 1983; pp. 83–134. [Google Scholar]
- Michalski, R.S.; Larson, J.B. Selection of most specific descriptive generalizations and decision rules in the AQ algorithm. In Proceedings of the 3rd International Joint Conference on Artificial Intelligence (IJCAI-73), Stanford, CA, USA, 20–23 August 1973; pp. 133–138. [Google Scholar]
- Al-Askaar, S.; Perkowski, M. A new approach to machine learning based on functional decomposition of multi-valued functions. In Proceedings of the 2021 IEEE 51st International Symposium on Multiple-Valued Logic (ISMVL), Nur-Sultan, Kazakhstan, 25–27 May 2021; pp. 128–135. [Google Scholar] [CrossRef] [Scilit]
- Rawski, M. Evolutionary algorithms in decomposition-based logic synthesis. In Evolutionary Algorithms; Kita, E., Ed.; IntechOpen: Rijeka, Croatia, 2011; pp. 343–362. [Google Scholar] [CrossRef] [Scilit]
- Raghuvanshi, A.; Fan, Y.; Woyke, M.; Perkowski, M. Quantum robots for teenagers. In Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL), Oslo, Norway, 13–16 May 2007; IEEE: Piscataway, NJ, USA, 2007; p. 18. [Google Scholar] [CrossRef] [Scilit]
- Roth, C.H., Jr.; Kinney, L.L. Fundamentals of Logic Design, 8th ed.; Cengage Learning: Boston, MA, USA, 2020. [Google Scholar]
- Kober, J.; Bagnell, J.A.; Peters, J. Reinforcement learning in robotics: A survey. Int. J. Robot. Res. 2013, 32, 1238–1274. [Google Scholar] [CrossRef] [Scilit]
- Khoshnoud, F.; Quadrelli, M.B.; Esat, I.I.; Robinson, D. Quantum cooperative robotics and autonomy. arXiv 2020, arXiv:2008.12230. [Google Scholar]
- Thrun, S.; Burgard, W.; Fox, D. Probabilistic Robotics; MIT Press: Cambridge, MA, USA, 2005. [Google Scholar]
- Szeliski, R. Computer Vision: Algorithms and Applications; Springer: London, UK, 2010. [Google Scholar]
- Borenstein, J.; Koren, Y. Obstacle avoidance with ultrasonic sensors. IEEE J. Robot. Autom. 1988, 4, 213–218. [Google Scholar] [CrossRef] [Scilit]
- Durrant-Whyte, H.; Bailey, T. Simultaneous localization and mapping: Part I. IEEE Robot. Autom. Mag. 2006, 13, 99–110. [Google Scholar] [CrossRef] [Scilit]
- Callison, A.; Chancellor, N. Hybrid quantum-classical algorithms in the noisy intermediate-scale quantum era and beyond. Phys. Rev. A 2022, 106, 010101. [Google Scholar] [CrossRef] [Scilit]
- Khan, M.H.A. Quantum circuit synthesis of ternary functions using ternary decision diagrams and quantum gates. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2019, 38, 643–655. [Google Scholar]
- Sasao, T.; Debnath, D. Generalized Reed-Muller expressions: Complexity and an exact minimization algorithm. IEICE Trans. Fundam. 1996, 79, 2123–2130. [Google Scholar]
- Falkowski, B.J.; Chang, C.H. Generalized k-variable-mixed-polarity Reed-Muller expansions for system of Boolean functions and their minimization. IEE Proc.-Circuits Devices Syst. 2000, 147, 201–210. [Google Scholar] [CrossRef] [Scilit][Green Version]
- Zeng, X. Minimization of Generalized Reed–Muller Expansion and Its Sub-Class. Master’s Thesis, Portland State University, Portland, OR, USA, 1994. [Google Scholar] [CrossRef] [Scilit]
- IBM. IBM Quantum Development Roadmap & Technology Atlas; IBM: Armonk, NY, USA, 2026; Available online: https://www.ibm.com/roadmaps/quantum/2026/ (accessed on 31 August 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.





















