Skip to Content
Quantum ReportsQuantum Reports
  • Article
  • Open Access

8 September 2026

44 Pages

Multi-Solution Ternary Grover’s Algorithm for Logic-Based Quantum Machine Learning with Pseudo-Kronecker Reed–Muller Form Minimization

,
and
Department of Electrical and Computer Engineering, Portland State University, Portland, OR 97201, USA
*
Author to whom correspondence should be addressed.

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.

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.

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):
M P i = [ 1 0 1 1 ] ,   T M P m = m ⊗ i = 1 M P i ,
M N i = [ 1 1 0 1 ] ,   T M N m = m ⊗ i = 1 M N i ,
M S i = [ 1 0 0 1 ] ,   T M S m = m ⊗ i = 1 M S i ,
where ⊗ denotes the tensor product; M P i , M N i and M S i represent the kernel matrices corresponding to pD, nD, and Sh expansions at the ith expansion node; and T M P m ,   T M N m , and T M S m 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 P . When P = 1 , the first controlled-XOR gate is activated for nD expansion; when P = 0 , the second controlled-XOR gate is activated for pD expansion; and when P = 2 , 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 C 2 n C 3 m T , 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 P , where P ∈ { 0 , 1 , 2 } .
Table 1. C2C3X gate outputs e 0 and e 1 based on P control values (Inputs m 0 and m 1 ).
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, m 0 – m 7 are binary minterm vector, and e 0 – e 7 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 m 0 – m 7 and the AND–XOR coefficients e 0 – e 7 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 M P D 1 , M N D 1 , and M S H 1 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 m 0 m 1 and the output coefficient vector e 0 e 1 are represented in state-vector form: [ 1 0 0 0 ] , [ 0 1 0 0 ] , [ 0 0 1 0 ] , and [ 0 0 0 1 ] corresponding to | 00 ⟩ , | 01 ⟩ , | 10 ⟩ and | 11 ⟩ states, respectively.
M p D 1 = [ 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 ] ,   M n D 1 = [ 1 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 ] ,   M S h 1   = [ 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 ]
For an n -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 Q = S 3 S 2 S 1 S 0 . Please note that, in Figure 6c, S S 0 − S S 2 and S S S 1 are intermediate sum outputs, and C C 0 − C C 2   ,   C C C 1 , C C C 2 , and C C C C 1 are intermediate carry outputs.
Figure 6. Schematic diagram of (a) half adder (HA); (b) full adder (FA); and (c) 8:4 compressor.
When n > 3 , 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 Z = ( e 0 , e 1 , … , e 2 n − 1 ) , which represents the total number of PKRO nonzero coefficients, as defined in (29),
H = ∑ i = 0 2 n − 1 e i .
For the comparator, the binary function is designed to compare two unsigned 4-bit numbers: Q = S 3 S 2 S 1 S 0 and the threshold T = T 3 T 2 T 1 T 0 . The comparison begins with the Most Significant Bit (MSB). When S 3 and T 3 differ, i.e., S 3 ⊕ T 3 = 1 , the comparison result can be determined immediately: if T 3 = 1 , then T > Q ; otherwise, T < Q . If S 3 and T 3 are equal ( S 3 ⊕ T 3 = 0 ) , then the comparison proceeds to S 2 . The same procedure continues sequentially until the Least Significant Bit (LSB) S 0 is evaluated. The comparator condition Q ≤ T 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 n -bit comparator.
C = S 3 ¯ T 3 ⊕ E 3 S 2 ¯ T 2 ⊕ E 3 E 2 S 1 ¯ T 1 ⊕ E 3 E 2 E 1 S 0 ¯ T 0 ⊕ E 3 E 2 E 1 E 0 ,
where E 3 = S 3 ⊕ T 3 ¯ , E 2 = S 2 ⊕ T 2 ¯ , E 1 = S 1 ⊕ T 1 ¯ , and E 0 = S 0 ⊕ T 0 ¯ . Please note that E i = 1 means the two bits are equal where i  ∈ { 0 , 1 , 2 , 3 } .
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 ⌈ l o g 2 ( 2 n + 1 ) ⌉ = n + 1 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 m 0 – m 7 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 S 3 gates. This is equivalent to using Hadamard gates in binary quantum computing domain. S 3 gate is a special case of Muthukrishnan–Stroud (MS) gate [51] that prepares ternary superposition, as given in (31).
S 3 = [ 1 3 1 6 1 2 1 3 − 2 6 0 1 3 1 6 − 1 2 ] .
Accordingly, the oracle acts on the composite Hilbert space given in (32):
H = H P ⊗ H M ⊗ H Z ⊗ H A ,
where H P , H M , H Z , and H A are Hilbert space for polarity register, minterm register, AND-XOR coefficient register, and ancilla/work register, respectively. Their dimensions are given by dim ( H P ) = 3 2 n − 1 , dim ( H M ) = 2 2 n ,   dim ( H Z ) = 2 2 n , and dim ( H A ) = 2 2 n + n + 2 . The polarity register participates in Grover’s algorithm by identifying the optimal ternary polarity assignment P 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 | P ω ⟩ 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 ∣ 0 ⟩ state, all intermediate spectral coefficients are lost, and only the amplitudes applied to | P ω ⟩ (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 ( 2 n − 1 ) qutrits to manage PKRO forms of an n -variable function, is expressed in (33) [51,62,63,64,65].
D = S 3 ⊗ ( 2 n − 1 ) Z 3 , ∣ 0 ⟩ ( S 3 † ) ⊗ ( 2 n − 1 ) ,
where n ≥ 2, S 3 ⊗ ( 2 n − 1 ) represents the tensor product of the single-qutrit S 3 gate applied ( 2 n − 1 ) times, S 3 † denotes the conjugate transpose of S 3 , and Z 3 , ∣ 0 ⟩ represents multi-controlled ternary Z 3 gate to invert the phase around | 0 ⟩ .   Z 3 , ∣ 0 ⟩ is expressed in (34). For simplicity, zero-valued matrix elements for Z 3 , ∣ 0 ⟩ are omitted. Please observe that the Z gate is a binary phase gate, while the Z 3 gate is a ternary phase gate.
Z 3 , ∣ 0 ⟩ = [ 1 − 1 − 1 ⋱ − 1 ] .
Please note that Z 3 , ∣ 0 ⟩ is a 3 ( 2 n | 1 ) × 3 ( 2 n | 1 ) matrix corresponding to ( 2 n | 1 ) qutrits for PKRO expansions of an n -variable binary function. The direct implementation of the Z 3 , ∣ 0 ⟩ 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 Z 3 gate design is optimized by implementing − Z 3 , ∣ 0 ⟩ , 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 − Z 3 , ∣ 0 ⟩ gate only flips the phase of the | 0 ⟩ state, thereby simplifying circuit implementation, reducing the number of required controlled operations, and improving overall computational efficiency and scalability.
− Z 3 , ∣ 0 ⟩ = [ − 1 1 1 ⋱ 1 ] .
The three types of ternary Z 3 gates shown in Figure 9 and used in our proposed multi-controlled Z 3 gate circuit design are given by (36).
Z 3 , + 1 = + 1 = [ 0 0 1 1 0 0 0 1 0 ] ,   Z 3 , + 2 = + 2 = [ 0 1 0 0 0 1 1 0 0 ] ,   Z 3 , | 2 ⟩ = [ 1 0 0 0 1 0 0 0 − 1 ] ,
where the Z 3 , + 1 gate shifts basis states by + 1 , the Z 3 , + 2 gate shifts basis states by + 2 , and the Z 3 , | 2 ⟩ gate applies a phase inversion to | 2 ⟩ [51]. The Z 3 , + 1 and Z 3 , + 2 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 Z 3 gate quantum circuit is shown in Figure 9. First, the circuit applies the Z 3 , + 2 gate to each qutrit, transforming | 0 ⟩ to | 2 ⟩ . Consequently, the target phase inversion is applied to | 22 ⋯ 2 ⟩ . Next, the Z 3 , | 2 ⟩ gate is used to invert the phase of | 22 ⋯ 2 ⟩ . Finally, the Z 3 , + 1 gate is applied to each qutrit, shifting | 22 ⋯ 2 ⟩ back to | 00 ⋯ 0 ⟩ before the next Grover iteration or the final measurement. Please note that the phase inversion is implemented in ∣ 2 ⟩ , following the ternary phase-gate convention in [51], where the phase gate applies a −1 phase specifically to ∣ 2 ⟩ . Our proposed multi-controlled ternary phase gate, therefore, naturally targets ∣ 2 ⟩ . The Z 3 , + 2 and Z 3 , + 1 cyclic shifts map the desired ∣ 0 ⟩ state to and from ∣ 2 ⟩ , allowing the same phase-inversion construction to be used. In this work, ( 2 n − 3 ) ancilla/work registers are required for Z 3 , | 0 ⟩ implementation.
Figure 9. Multi-controlled Z 3   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 Q , is used as the initial threshold, T = Q . Because this random polarity assignment produces a valid PKRO representation of the binary function, Q provides a feasible upper bound on the minimum cost. The threshold is then reduced to T = Q − 1 , and Grover’s algorithm is executed to search for a solution satisfying Q ≤ T . 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 Q k denote the cost of the PKRO polarity assignment P k obtained from the kth execution of Grover’s algorithm. The minimum cost among all k executions, denoted by Q m i n , is defined by (37):
Q m i n = min ( Q 1 , Q 2 , … , Q k ) .
The minimum-cost polarity assignment, P m i n , is selected from the candidate set ( P 1 , P 2 , … , P k ) corresponding to Q m i n . 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 P m i n from multiple executions of Grover’s algorithm.
Let p success 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 1 − p success . Therefore, the probability that all k independent executions fail to produce a correct solution is ( 1 − p success ) k . Consequently, the overall success probability p total , defined as the probability of obtaining at least one successful outcome in k executions, is given by (38):
p total = 1 − ( 1 − p success ) k .
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 M = M ( T ) . As the threshold changes, the number of target solutions changes accordingly. In our simulation, the number of target solutions M corresponding to the current threshold is computed classically for the PKRO search space. In a practical quantum implementation, M can be estimated using quantum counting or adaptive Grover’s algorithm [68,69]. For a desired overall success probability p target , 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 p s u c c e s s = p s u c c e s s ( M ( T ) , N ) is the success probability of a single Grover execution for a search space of N with M(T) target solutions:
k = ⌈ l o g ( 1 − p target ) l o g ( 1 − p s u c c e s s ( M ( T ) , N ) ) ⌉ .
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 p target .

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):
G o r a c l e = G P K R O   p r o c e s s o r + G c o u n t e r + G c o m p a r e + G p h a s e   m a r k   + G u n c o m p u t e = 2 ( G P K R O   p r o c e s s o r + G c o u n t e r + G c o m p a r e ) + G p h a s e   m a r k ,
where G oracle denotes the total gate count of the Grover oracle, G P K R O   p r o c e s s o r is the gate count of computing the PKRO spectral coefficients using the reversible butterfly network, a n d   G counter denotes the gate count of the reversible circuit that counts the number of PKRO nonzero coefficients; G compare is the gate count of the reversible comparator that checks whether the coefficient count satisfies the threshold criterion; G p h a s e   m a r k represents the gate count of the phase-marking operation that marks candidate solutions satisfying the oracle condition; and G uncompute is the gate count of reversing the PKRO processor, counter, and comparator to restore all ancillae to their initial | 0 ⟩ states.
Likewise, the oracle circuit depth is expressed in (41):
D o r a c l e = D P K R O   p r o c e s s o r + D c o u n t e r + D c o m p a r e + D p h a s e   m a r k + D u n c o m p u t e = 2 ( D P K R O   p r o c e s s o r + D c o u n t e r + D c o m p a r e ) + D p h a s e   m a r k .
where each D i 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 2 n PKRO spectral coefficients through n recursive expansion stages. Assuming each butterfly coefficient update is implemented by reversible Toffoli ternary control and binary input gate C2C3X, each stage processes all 2 n coefficients once. Therefore, G P K R O   p r o c e s s o r = O ( n 2 n ) where the Big- O notation O ( . ) ignores constant factors and lower-order terms, focusing only on the dominant term. O ( n 2 n ) 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 n sequential stages determine the critical path, giving D P K R O   p r o c e s s o r = O ( n ) .
2.
Hamming-weight counter:
The counter scans the 2 n -bit coefficient vector once to compute the number of nonzero coefficients. Hence, G c o u n t e r = O ( 2 n ) .
Using a balanced reversible adder tree, the additions are performed in parallel, resulting in D c o u n t e r = O ( n ) .
3.
Threshold comparator:
The reversible comparator evaluates whether the computed Hamming weight satisfies Q ≤ T . Since the counter output contains n + 1 bits, G c o m p a r e = O ( n ) , and D c o m p a r e = O ( n ) .
4.
Phase marking:
After comparison, a controlled phase gate marks the valid target solutions. This requires constant gate cost and constant depth, G p h a s e   m a r k = O ( 1 ) , D p h a s e   m a r k = O ( 1 ) .
5.
Uncomputation:
To restore all ancillae to their initial | 0 ⟩ states, the oracle applies its inverse circuit U † . Since the inverse executes the butterfly processor, counter, and comparator in reverse order, G u n c o m p u t e = G c o m p a r e + G c o u n t e r + G P K R O   p r o c e s s o r , and D u n c o m p u t e = D c o m p a r e + D c o u n t e r + D P K R O   p r o c e s s o r .
Substituting these expressions into (40) and (41) yields
G o r a c l e = 2   ( G P K R O   p r o c e s s o r + G c o u n t e r + G c o m p a r e ) + G p h a s e   m a r k ,
and
D o r a c l e = 2   ( D P K R O   p r o c e s s o r + D c o u n t e r + D c o m p a r e ) + D p h a s e   m a r k
□
After applying Theorem 2 and substituting each item in (40) with their O ( . ) values, we can get the following (42) because O ( n 2 n ) dominates the remaining terms:
G o r a c l e = 2 ( O ( n 2 n ) + O ( 2 n ) + O ( n ) ) + O ( 1 ) = O ( n 2 n ) .
Similarly, we get the D o r a c l e stated in (43):
D o r a c l e = 2 ( O ( n ) + O ( n ) + O ( n ) ) + O ( 1 ) = O ( n ) .
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 O ( 2 n ) , based the gate count in Table 4. From (42), the PKRO oracle has a quantum gate count estimation of O ( n 2 n ) , 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 L j 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 C CCX , then its oracle quantum computation cost Q C oracle _ one is given by (44), derived from (42):
Q C oracle _ one   ≈   C CCX   n 2 n ∑ i = 1 L j N M i .
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 Q C total is given by (45). Please note, O(k) classical post-processing and post-selection computation cost is not included in (45):
Q C total ≈ C CCX   n 2 n k ∑ j = 1 n ! ( ∑ i = 1 L j 3 2 n − 1 M i ) .
(45) represents the estimated total computation cost of our proposed hybrid quantum–classical optimization framework. In our experimental simulation, M is determined exactly by classical evaluation of the PKRO search space and used to set the Grover iteration count. For M   > 1 , (44) and (45) quantify the quantum search cost conditional on known M , excluding this classical preprocessing cost. In contrast, the conservative assumption M   = 1 can be used to allow (44) and (45) to be evaluated without knowing the exact M . For a fairer quantum–classical comparison, we evaluate both the exact M and conservative M   = 1 cases to determine the iteration count, although M   = 1   c a s e generally requires more Grover iterations than using the exact M . 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 M   = 1 assumption also allows the search to proceed when M   = 0 ; if no feasible solution is observed after repeated Grover executions, the likelihood that T is infeasible increases with the number of Grover executions. Conversely, observing a feasible solution establishes that T 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 M 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 C classical total is given by (46).
C classical total ≈ n 2 n C CCX   n ! N = n 2 n C CCX   n ! 3 2 n − 1 .
Grover’s algorithm reduces the search query complexity from O ( N ) to O ( N M ) . Note that Grover’s algorithm reduces the exponent by taking a square root 3 2 n − 1 = 3 ( 2 n − 1 ) / 2 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 O ( N M ) relative to the number of classical exhaustive search evaluations O ( N ) .
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 n ! 3 ( 2 n | 1 ) . 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 X = { 0 , 1 } n denote the input space of an n -variable binary function. Each training sample is x i = ( x i 1 , … , x i n ) ∈ X , with binary label y i ∈ { 0 , 1 } . The training dataset is D t r a i n i n g = { ( x i , y i ) } i = 1 U , where U ≤ 2 n . 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 x i to their outputs y i and also converting all “don’t-care” to their corresponding mapped outputs 0 and 1, C P K R O ( h ) is the number of AND-XOR nonzero coefficients of h. We also assume the labels y i are preserved for all x i . The hypothesis class H is defined independently of T and consists of all h that preserve the labels y i of the training samples. The learning objective is formulated in (47):
          f i n d   h ∈ H subject to           C P K R O ( h ) ≤ T ,           h ( x i ) = y i , ∀ ( x i , y i ) ∈ D t r a i n i n g .
Here, T is a prescribed coefficient threshold rather than a bound incorporated into the hypothesis class H . The initial threshold T i n i t i a l is progressively decreased until its smallest feasible value T M i n i m a l 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 ( x 1 , x 2 , and x 3 ), 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 x 1 represents obstacle detection from the ultrasonic sensor, while x 2 and x 3 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 ( π 4 N M )
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 π 4 N = π 4 3 2 3 − 1 ≈ 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 | P ω ⟩ , reducing the success probability. The single-solution case ( M = 1 ) 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 ( M = 1 ).

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 | 0212221 ⟩ 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 ( N M ) 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 r s = 37 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 p t a r g e t   is set to 99.9% for the minterm vector 01001011, the required number of Grover executions is k = 3 , 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 p t a r g e t 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 p target for the minterm vector 01001011.
Table 12 lists the number of Grover executions required to achieve the target success probability p t a r g e t = 99.9 % 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 p target = 99.9 % 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 r 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 C 2 C 3 X 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 C 2 C 3 X 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 T i n i t i a l . The horizontal axis shows the function index (0–255) and the vertical axis shows the reduction in T .
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 p target = 99.9 % .
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 M = 1 statistic in addition to M > 1 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 C 2 C 3 X 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 C 2 C 3 X 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, f ( x 1 , x 2 , x 3 ) = x 2 ¯ x 3 ⊕ x 1 , 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: f ( x 1 , x 2 , x 3 ) = x 2 ¯ x 3 ⊕ x 1 ; and (c) the minterm vector 11011010 is not selected due to more ones for AND–XOR coefficients: f ( x 1 , x 2 , x 3 ) = x 1 ¯ x 2 ¯ ⊕ x 1 ¯ x 2 x 3 ⊕ x 1 x 3 ¯ .
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 n = 4 . Each completely specified 4-variable binary function has approximately 3 15 ≈ 1.43 × 10 7 candidate polarity assignments from Table 8, resulting in approximately 2.25 × 10 13 PKRO expansion combinations across all 2 16 = 65,536 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 n = 4 , 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:
AIGAnd-inverter graph
AQAttributional calculus
BDDBinary decision diagram
CN2Classification induction
DNFDisjunctive normal form
ESOPExclusive-or Sum-Of-Products
FAFull adder
FFTFast Fourier transform
FOILFirst order inductive learner
FPRM fixed-polarity Reed–Muller
GPMPRMGeneralized pseudo-mixed-polarity Reed–Muller
GRMGeneralized Reed–Muller
HAHalf adder
HDHigh definition
ID3Iterative dichotomiser 3
KROKronecker Reed–Muller
LSBLeast significant bit
MLMachine learning
MSMuthukrishnan–Stroud
MSBMost significant bit
nDNegative Davio
pDPositive Davio
PKRO Pseudo-Kronecker Reed–Muller
QAOAQuantum approximate optimization algorithm
QMLQuantum machine learning
RIPPER Repeated incremental pruning to produce error reduction
RM Reed–Muller
ShShannon
SOPSum-Of-Products
TDDTernary decision diagram

References

  1. 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]
  2. Michalski, R.S. Pattern recognition as rule-guided inductive inference. IEEE Trans. Pattern Anal. Mach. Intell. 1980, 2, 349–361. [Google Scholar] [CrossRef] [Scilit]
  3. Clark, P.; Niblett, T. The CN2 induction algorithm. Mach. Learn. 1989, 3, 261–283. [Google Scholar] [CrossRef] [Scilit]
  4. Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef] [Scilit]
  5. Quinlan, J.R. C4.5: Programs for Machine Learning; Morgan Kaufmann: San Mateo, CA, USA, 1993. [Google Scholar]
  6. Quinlan, J.R. Learning logical definitions from relations. Mach. Learn. 1990, 5, 239–266. [Google Scholar] [CrossRef] [Scilit]
  7. 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]
  8. Sasao, T. Logic Synthesis and Optimization; Kluwer Academic Publishers: Boston, MA, USA, 1993. [Google Scholar]
  9. Bryant, R.E. Graph-based algorithms for Boolean function manipulation. IEEE Trans. Comput. 1986, 35, 677–691. [Google Scholar] [CrossRef] [Scilit]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. Farhi, E.; Goldstone, J.; Gutmann, S. A quantum approximate optimization algorithm. arXiv 2014, arXiv:1411.4028. [Google Scholar]
  22. 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]
  23. Blumer, A.; Ehrenfeucht, A.; Haussler, D.; Warmuth, M.K. Occam’s razor. Inf. Process. Lett. 1987, 24, 377–380. [Google Scholar] [CrossRef] [Scilit]
  24. Rissanen, J. Modeling by shortest data description. Automatica 1978, 14, 465–471. [Google Scholar] [CrossRef] [Scilit]
  25. MacKay, D.J.C. Information Theory, Inference, and Learning Algorithms; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  26. 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]
  27. 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]
  28. 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]
  29. Drechsler, R. Pseudo-Kronecker expressions for symmetric functions. IEEE Trans. Comput. 1999, 48, 987–990. [Google Scholar] [CrossRef] [Scilit]
  30. 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]
  31. 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]
  32. 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]
  33. 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]
  34. 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]
  35. 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]
  36. Ketineni, H.; Perkowski, M. Quantum algorithm for ESOP minimization. Quantum Inf. Comput. 2023, 23, 195–222. [Google Scholar] [CrossRef] [Scilit]
  37. Koren, Y.; Bell, R.; Volinsky, C. Matrix factorization techniques for recommender systems. Computer 2009, 42, 30–37. [Google Scholar] [CrossRef] [Scilit]
  38. 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]
  39. 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]
  40. Raykar, V.C.; Yu, S.; Zhao, L.H. Learning from crowds. J. Mach. Learn. Res. 2010, 11, 1297–1322. [Google Scholar]
  41. 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]
  42. Davio, M.; Deschamps, J.; Thayse, A. Discrete and Switching Functions; McGraw-Hill: New York, NY, USA, 1978. [Google Scholar]
  43. 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]
  44. 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]
  45. 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]
  46. 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]
  47. Asaka, R.; Sakai, K.; Yahagi, R. Quantum circuit for the fast Fourier transform. Quantum Inf. Process. 2020, 19, 277. [Google Scholar] [CrossRef] [Scilit]
  48. Drechsler, R.; Becker, B. Binary Decision Diagrams: Theory and Implementation; Kluwer Academic Publishers: Boston, MA, USA, 1998. [Google Scholar]
  49. 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]
  50. 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]
  51. 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]
  52. 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]
  53. 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]
  54. Bocharov, A.; Cui, S.X.; Roetteler, M.; Svore, K.M. Improved quantum ternary arithmetics. arXiv 2015, arXiv:1512.03824. [Google Scholar]
  55. Bocharov, A. A note on optimality of quantum circuits over the metaplectic basis. Quantum Inf. Comput. 2018, 18, 1–17. [Google Scholar] [CrossRef] [Scilit]
  56. 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]
  57. 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]
  58. 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]
  59. 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]
  60. 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]
  61. 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]
  62. 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]
  63. Wang, Y.; Hu, Z.; Sanders, B.C.; Kais, S. Qudits and high-dimensional quantum computing. Front. Phys. 2020, 8, 589504. [Google Scholar] [CrossRef] [Scilit]
  64. 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]
  65. Al-Bayaty, A. A conceptual technology-dependent framework of ternary quantum gates. arXiv 2026, arXiv:2604.23242. [Google Scholar]
  66. Cross, A.W.; Bishop, L.S.; Smolin, J.A.; Gambetta, J.M. Open Quantum Assembly Language. arXiv 2017, arXiv:1707.03429. [Google Scholar]
  67. Brassard, G.; Høyer, P.; Mosca, M.; Tapp, A. Quantum amplitude amplification and estimation. Contemp. Math. 2002, 305, 53–74. [Google Scholar] [CrossRef] [Scilit]
  68. 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]
  69. Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight bounds on quantum searching. Fortschr. Phys. 1998, 46, 493–505. [Google Scholar] [CrossRef]
  70. Tian, Y.; Feng, T.; Luo, M.; Zheng, S.; Zhong, X. Experimental demonstration of quantum finite automaton. EPJ Quantum Technol. 2023, 10, 8. [Google Scholar]
  71. 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]
  72. 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]
  73. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information, 10th Anniversary ed.; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  74. 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]
  75. 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]
  76. 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]
  77. 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]
  78. 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]
  79. 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]
  80. 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]
  81. Roth, C.H., Jr.; Kinney, L.L. Fundamentals of Logic Design, 8th ed.; Cengage Learning: Boston, MA, USA, 2020. [Google Scholar]
  82. 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]
  83. Khoshnoud, F.; Quadrelli, M.B.; Esat, I.I.; Robinson, D. Quantum cooperative robotics and autonomy. arXiv 2020, arXiv:2008.12230. [Google Scholar]
  84. Thrun, S.; Burgard, W.; Fox, D. Probabilistic Robotics; MIT Press: Cambridge, MA, USA, 2005. [Google Scholar]
  85. Szeliski, R. Computer Vision: Algorithms and Applications; Springer: London, UK, 2010. [Google Scholar]
  86. Borenstein, J.; Koren, Y. Obstacle avoidance with ultrasonic sensors. IEEE J. Robot. Autom. 1988, 4, 213–218. [Google Scholar] [CrossRef] [Scilit]
  87. Durrant-Whyte, H.; Bailey, T. Simultaneous localization and mapping: Part I. IEEE Robot. Autom. Mag. 2006, 13, 99–110. [Google Scholar] [CrossRef] [Scilit]
  88. 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]
  89. 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]
  90. Sasao, T.; Debnath, D. Generalized Reed-Muller expressions: Complexity and an exact minimization algorithm. IEICE Trans. Fundam. 1996, 79, 2123–2130. [Google Scholar]
  91. 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]
  92. 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]
  93. 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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.