Interpolation Methods for Binary and Multivalued Logical Quantum Gate Synthesis
Zeno Toffano, Fran\c{c}ois Dubois

TL;DR
This paper introduces interpolation-based methods for synthesizing binary and multivalued quantum logical gates, including new formulations for complex gates like Toffoli, with applications to quantum Fourier transforms and multi-valued logic.
Contribution
It presents a novel interpolation approach for quantum gate synthesis, extending to multi-valued logic and deriving new formulations for complex gates like Toffoli.
Findings
Complete family of one-argument logical operators derived
Quantum Fourier transform for multi-valued logic developed
New polynomial and exponential formulations for Toffoli gate
Abstract
A method for synthesizing quantum gates is presented based on interpolation methods applied to operators in Hilbert space. Starting from the diagonal forms of specific generating seed operators with non-degenerate eigenvalue spectrum one obtains for arity-one a complete family of logical operators corresponding to all the one-argument logical connectives. Scaling-up to n-arity gates is obtained by using the Kronecker product and unitary transformations. The quantum version of the Fourier transform of Boolean functions is presented and a Reed-Muller decomposition for quantum logical gates is derived. The common control gates can be easily obtained by considering the logical correspondence between the control logic operator and the binary propositional logic operator. A new polynomial and exponential formulation of the Toffoli gate is presented. The method has parallels to quantum gate-T…
| Min : | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Quantum Information and Cryptography · Quantum-Dot Cellular Automata
Interpolation Methods for Binary and Multivalued Logical Quantum
Gate Synthesis
Zeno TOFFANOa,b, François DUBOISc,d
Abstract
A method for synthesizing quantum gates is presented based on interpolation methods applied to operators in Hilbert space. Starting from the diagonal forms of specific generating seed operators with non-degenerate eigenvalue spectrum one obtains for arity-one a complete family of logical operators corresponding to all the one-argument logical connectives. Scaling-up to -arity gates is obtained by using the Kronecker product and unitary transformations. The quantum version of the Fourier transform of Boolean functions is presented and a Reed-Muller decomposition for quantum logical gates is derived. The common control gates can be easily obtained by considering the logical correspondence between the control logic operator and the binary propositional logic operator. A new polynomial and exponential formulation of the Toffoli gate is presented. The method has parallels to quantum gate*-T* optimization methods using powers of multilinear operator polynomials. The method is then applied naturally to alphabets greater than two for multi-valued logical gates used for quantum Fourier transform, min-max decision circuits and multivalued adders.
[development of the accepted poster presentation at the “Theory of Quantum Computation, Communication and Cryptography” Conference TQC2017, Paris, France, June 14-16, 2017].
Keywords: quantum gates, linear algebra, interpolation, Boolean functions, quantum angular momentum, multivalued logic
a* Telecom Dept., CentraleSupélec, Gif-sur-Yvette, France
b Lab. des Signaux et Systèmes - L2S (UMR8506) - CNRS - U. Paris-Saclay, France
c LMSSC, CNAM, Paris, France
d Department of Mathematics, University Paris-Sud, Orsay, France
[email protected] ; [email protected] *
1 Introduction
Quantum calculation methods are becoming a strategic issue for emerging technologies such as quantum computing and quantum simulation. Because of the limited (at this date) quantum computational resources available it is very important to reduce the resources required to implement a given quantum circuit. The problem of optimal quantum circuit synthesis is an important topic much of the effort focuses on decomposition methods of logical gates. Quantum reversible gates have been extensively studied using principally Boolean functions implemented on Clifford, controlled-not and Toffoli gates and also non-Clifford such as the gate. The advantages and drawbacks for privileging certain families of gates has been thoroughly investigated. Basically all methods rely on the control-logic paradigm as was first proposed by David Deutsch in [1]. The -qubit controlled-not gate being its simplest element resulting in the operation where the exclusive disjunction (, ) acts as logical negation on qubit when the control qubit is at one and leaves it unchanged otherwise. The universality of this logic is assured by the double-controlled-not or Toffoli gate with the operation on three qubits . This gate operates on the third qubit, , when the conjunction is met on the control bits and (both must be ) being thus equivalent to a negated binary conjunction gate, which is known to be universal. These logical controlled-gates transform the qubits as reversible permutation operators i.e. they are not diagonal in the computational basis.
In recent years many synthesizing methods for quantum circuits actually use operators that are diagonal in the computational basis because of the simpler resulting mathematical operations. The controlled-Z and the double-controlled- gates are used to build controlled-not and Toffoli gates. Solutions using diagonal and gates, as will be shown hereafter, are also popular, also the stabilizer formalism and surface codes use families of Clifford diagonal gates. So in some way the “back to diagonal” trend seems to present benefits, this is also justified when one considers questions in quantum physics where much effort is employed to define Hamiltonians and the corresponding energy spectrum (eigenvalues) and stationary states (eigenstates), which can then be implemented in quantum simulation models.
A question arises: can logical calculations be formalized someway directly in the qubit eigenspace? The answer seems to be affirmative and in a rather simple way too. A proposal has been given by making parallels between propositional logic and operator linear algebra in the framework of “Eigenlogic” [2, 3], the idea is that Boolean algebra operations can be represented by operators in Hilbert space, using projection operators as developed in [2] and extended to angular momentum operators as shown in [3] and generalized in this paper.
A theoretical justification could be inspired by Pierre Cartier in [4], relating the link between the algebra of logical propositions and the set of all valuations on it, he writes: “…in the theory of models in logic a model of a set of propositions has the effect of validating certain propositions. With each logical proposition one can associate by duality the set of all its true valuations represented by the number . This correspondence makes it possible to interpret the algebra of propositions as a class of subsets, conjunction and disjunction becoming respectively the intersection and union of sets. This corresponds to the Stone duality proved by the Stone representation theorem* *and is one of the spectacular successes of twentieth century mathematics….The development of quantum theory led to the concept of a quantum state, which can be understood as a new embodiment of the concept of a valuation”. The idea is not new, and stems from John Von Neumann’s proposal of “projections as propositions” in [5] which was subsequently formalized in quantum logic with Garret Birkhoff in [6]. These topics have been thoroughly discussed in [2].
But because nowadays quantum logic is mostly interested in aspects concerning operations going beyond and also in contrast with the principles of classical logic it is still not considered as an operational tool for quantum computing even though many bridges have been made [7, 8]. The aim of Eigenlogic is on the other side to fully exploit the logical structure offered by the operational system in the eigenspace with of course the possibility to look outside at other basis representations this has led for example to fuzzy logic applications in [3].
While most of the research is currently devoted to quantum circuit and algorithm developments based on the use of quantum operators working in binary (Boolean) systems through the manipulation of qubits, there are many possibilities for the exploitation of observables with more than two non-degenerate eigenvalues and the theory of multi-valued-logic is very naturally applicable to the design and analysis of these systems.
2 The interpolation method for quantum operators
Generalizing the method used in [2, 3] we look for -arity logical operators supporting a finite set of distinct logical values.
2.1 The Seed Operator and the associated projection operators
The method presented here is inspired from classical Lazgrange interpolation where the “variable” is represented by a seed operator acting in Hilbert space, possessing distinct eigenvalues, i.e. it is non-degenerate. The values are not fixed meaning that one can work with different alphabets, in the binary case one uses classically the Boolean values , but also are often considered. What this method will show is that for whatever finite system of values, unique logical operators can be defined. In the multivalued case, popular choices are, for example, the system formalized in Post logic [9] and rational fractional values in the unit interval giving the system as used in Łukasiewicz logic. Other convenient numerical choices are the balanced ternary values , these can characterize qutrits associated to quantum orbital angular momentum observables (see [3] and hereafter).
When the eigenvalues are real the corresponding logical operators are observables, e.g. Hermitian operators. Many logical gates are of this type, the most popular ones are the one-qubit Pauli-, Pauli-, Hadamard , phase and gates, the two-qubit controlled-not, controlled-Z gate and the swap gate and the universal three-qubit Toffoli gate. These observable gates are also named classical gates.
The possibility of using complex values can also be considered and this has applications for specific problems such as in -gate synthesis and quantum Fourier transform in this last case one considers the roots of unity for values giving the spectrum .
In each situation one starts by defining the seed operator with non-degenerate eigenvalues . The density matrix of eigenstate is , and corresponds to the rank-1 projection operator,* a ray*, for this state. It is obtained by the following expression:
[TABLE]
this expression corresponds to the Duncan-Collar formula. The development is unique according to the Cayley-Hamilton theorem. Expression (1) is polynomial consisting in a linear combination of powers up to of the seed operator , it is a rank-1 projection operator over the dimensional Hilbert space and can be expressed as a square matrix.
The number of rays is the dimension of the vector space. All the rank- projection operators obtained in (1) for the eigensystem commute and span the entire space by the closure relation:
[TABLE]
2.2 Logical operators for arity-one
As outlined in [2, 3] in Eigenlogic eigenvalues correspond to logical truth values (values for a Boolean system) and one can make the correspondence between propositional logical connectives and operators in Hilbert space. The truth table of a logical connective corresponds to different semantic interpretations, each interpretation is a fixed attribution of truth values to the elementary propositions (the “inputs”) composing the connective. In Eigenlogic each interpretation corresponds to one of the eigenvectors and the associated eigenvalue to the corresponding truth-value for the considered logical connective.
It is well known that logical connectives can be expressed through arithmetic expressions, these are closely related to polynomial expressions over rings, but with expressions using ordinary arithmetic addition and subtraction instead of their modular counterpart as used in Boolean algebra. These topics were thoroughly discussed in [2] for the Boolean values . Arithmetic developments of logical connectives are often used, for example, in the description of switching functions for decision logic design. A good review was given by Svetlana Yanushkevich in [10].
In logic, the functions and their arguments take the same values and these are the only possible logical values. For Boolean functions these unique possible values are the two numbers [math] and corresponding respectively to the False and True character of a logical proposition. So considering an arithmetic expression for an arity-one logical connective and choosing the distinct logical values , the value taken by the logical function at one of these points is , also one of these values. The corresponding unique logical operator is given by the interpolation development:
[TABLE]
this matrix decomposition formula is proved by Sylvester’s theorem and represents the spectral decomposition of the operator. The projection operators are obtained by equation (1) with . It has to be outlined that the method used for obtaining expression (3) is the counterpart for operators of the classical Lagrange interpolation method over points [11]. As for the projectors in (1) the logical operator in (3) can also be put as a linear combination of powers up to of the seed operator .
One must then consider the operators corresponding to elementary propositions of the logical connectives. This is a straightforward procedure in Eigenlogic. For arity-one logical connectives, these are function of one single elementary proposition which corresponds in the method proposed here to the seed operator . These concepts will become clearer with some examples presented hereafter.
2.3 Scaling up to higher arity
The scaling is obtained by following the same procedure as for classical interpolation methods for multivariate systems using tensor products (see e.g. [11]). Here the chosen convention for the indexes is the one given by David Mermin in [12] where index 0 indicates the lowest digit, index 1 the next and so on… For arity- one considers two operators and corresponding to the propositional variables and . One can write by the means of the Kronecker product :
[TABLE]
for arity- using three operators one has:
[TABLE]
for higher arity- the procedure can be automatically iterated.
Logical operators can then be obtained by (3), and are multi-linear combinations of the elementary operators , …., for example the simplest operators are products of these. Due to logical completeness (demonstrated by Emil Post in [9]) there will be for an -valued -arity system exactly logical operators forming a complete family of commuting logical operators. Logical completeness has also another important consequence: there are always universal connectives from which all the others can be derived, it has been shown, also in [9], that for an -valued arity- system one needs at least two universal connectives, in the case of Post logic these turn out to be the general negation (cyclic permutation of all values ) and the connective (takes the highest of the two input values) these reduce to Boolean connectives for binary values where the connective becomes the disjunction (, ). The logical operators obtained here for an -valued -arity system are represented by square matrices.
3 Interpolation synthesis of binary quantum gates
In quantum computing operations on qubits are done using reversible gates without reducing the dimension of the vector space, except at the end of the calculation where storage of some values is done by projection operators transforming the qubits into classical bits.
3.1 quantum Fourier transform of
Boolean functions
The following method is based on basic mathematical properties of logical functions, that have their origin in George Boole’s elective development theorem for logical functions [13, 2], in the Fourier analysis of Boolean functions based on the Walsh transform [14, 15] and on the Reed-Muller developments of Boolean functions [16, 17].
Given the powerset of a logical system represented by a set of -tuples where each component taking the values either [math] or consists of elements, the components range from to . Considering a self-inverse logical operator () of arity- associated to a binary logical function , where the truth values are , representing respectively and and corresponding to the Booleans .
This operator can be expressed as a unique development, as has been showed here-above, using its spectral decomposition:
[TABLE]
where is a rank-1 projection operator (of dimension ). One can express this projection operator using the Pauli gate by:
[TABLE]
where represents a -component vector with the component. If the operator in the bracket gives the projection operator on state and if the operator in the bracket is the projection operator on state . in equation (7) can then be expanded by means of the following character operator [15]:
[TABLE]
where represents a -component vector with the component. If then and one has the identity operator and if then one has the -gate. In this way one can re-express the projection operators of equation (7) by:
[TABLE]
putting this operator back in the expression of one obtains:
[TABLE]
in this way using the definition of the Boolean Fourier transform [14] :
[TABLE]
one finally obtains the expression for the self-inverse operator which can be considered a quantum Boolean transform operator, as defined in [15]:
[TABLE]
3.2 The Householder transform and Reed-Muller logical decomposition
There exists a linear bijection between the self-inverse operators and the respective idempotent projection operator given by the Householder transform:
[TABLE]
A consequence of equations, (6), (12) and (13) is that all the operators of a given family commute and every commutes with every . This means technically that all operations on exponential of matrices, as given by equation (13), are simple arithmetic operations. For example the product of the exponential of operators will be the exponential of the sum of the operators. For the logical operators the eigenvalues are and , these numbers represent the truth values of the logical system. Expression (6) can also be derived directly by the interpolation method and expressed as a function of the corresponding interpolation projection operators . Both expansions in or can be used when transforming operator forms, some examples will be illustrated hereafter. In general for an -arity system one has a family of different commuting operators . Also from the last equation in (13) one has the simple but important result that the operators defined as sums in (6) can always be tranformed in products of quantum gates, some examples will be given hereafter.
The Eigenlogic operators [3] for exclusive disjunction (, ) for an arity- and arity- system are defined by:
[TABLE]
so the function is represented by the matrix product of the single qubit dictators defined in (LABEL:eq:General_dictators) this operator is local because it is a Kronecker product of local operators.
The corresponding logical projection operator is given by the polynomial expression (see [2, 10]) using and one has :
[TABLE]
According to equation (13) this linear combination becomes the argument of the exponent of for . One can thus change all the ’s into ’s, also all the terms multiplied by with vanish and so:
[TABLE]
giving again (14). Now one can consider explicitly the action on qubits, with , , representing a single qubit eigenstate in the computational basis. The state for arity-, is with and so on when scaling for higher arity. The application of the preceding operators for exclusive disjunction (, ) on the -qubit state and the -qubit state gives then:
[TABLE]
For conjunction (, ) logical operators one has for a -qubit state :
[TABLE]
Knowing the polynomial arithmetic expression of the logical connective one can derive the Reed-Muller form [10, 16, 17]. An important example is the disjunction operator (, ). One starts from the arithmetic expansion for the disjunction connective, which is actually the inclusion-exclusion rule, for arity- this gives:
[TABLE]
giving
[TABLE]
and the operator form:
[TABLE]
which corresponds to the Reed-Muller decomposition of the disjunction on Booleans:
[TABLE]
3.3 Permutation operators and Pauli gates
Permutation operators are unitary operators. Many quantum gates are permutation operators, e.g: Pauli-, controlled-not, swap and Toffoli, which are also self-inverse, e.g. and thus , meaning that their eigenvalues are and and one can apply the method shown above to obtain their polynomial operator form. Other operators have the same eigenvalues, this is the case of the Pauli gate group generated by the three Pauli operators, , , and the identity operator and combined by the Kronecker product. In the computational basis the and and Hadamard gate’s matrix forms are:
[TABLE]
with the transformation and because also :
The seed operator for the system in the computational basis is .
Using (1) one obtains the two projection operators on the qubit states |0>=\left(\begin{array}[]{c}1\\ 0\end{array}\right) and |1>=\left(\begin{array}[]{c}0\\ 1\end{array}\right):
[TABLE]
The same method can be used when the operators are not diagonal in the computational basis, for example one could have chosen the gate as the seed operator leading to similar expressions as in (24) by changing into .
The seed operator and the two projection operators permit to write the four arity-one logical operators: (Dictator), (Negation), (Contradiction) and (Tautology) (see [2, 3] for a detailed discussion), the truth values corresponding respectively to False and True.
Before continuing for higher arity it is interesting to analyze the logical operator system corresponding to the Boolean values , it is straightforward to see that in this case the seed operator, , is the projection operator given in (24), the other projection operator being the complement:
[TABLE]
As shown above in (13) there are interesting relations for the operators when going from the system to the system . Due to the properties of the operator (idempotent projection operator ) and (self-inverse operator ) one can use the Householder transform:
[TABLE]
As shown above in (13) this transform is also valid for composite expressions and permits to transform operators with eigenvalues into operators with eigenvalues and will be used hereafter to build the controlled-not end Toffoli gates.
For arity-, one considers the two elementary operators acting on qubit-[math] and qubit-:
[TABLE]
The controlled-z gate, named here , is diagonal in the computational basis and corresponds to a two-argument conjunction (, ) in Eigenlogic. The interpolation method described above and used in [3] gives directly the known [12] polynomial expression:
[TABLE]
3.4 Building the controlled-not and Toffoli gates
One can consider some interesting interpretations using Eigenlogic [3]: the truth table is given by the structure of the eigenvalues of the operator and corresponds to the logical connective conjunction (, ), where the values for correspond here to the alphabet . Also the logical operator for conjunction in the Boolean alphabet, , as demonstrated in [2], has a very simple form:
[TABLE]
when applying this operator to the state it gives the eigenvalue , , only for the state . One can transform this operator using the Householder transform in:
[TABLE]
[TABLE]
justifying the interpretation of the gate as a conjunction in Eigenlogic for the alphabet .
The controlled-not operator, named here , can be expressed straightforwardly, see e.g. [12], in its polynomial form on and :
[TABLE]
this expression is derived from (28) using the transformation , with and where is the Hadamard gate defined in (23).
In the preceding section it has been emphasized that one can consider different basis to define the system and the respective seed operator. Some important properties about projection operators (not necessarily commuting) have to outlined:
- (i)
The Kronecker product of two projection operators is also a projection operator.
- (ii)
If projection operators are rank- (a single eigenvalue is all the others are [math]) then their Kronecker product is also a rank- projection operator.
So for example one can use the computational basis ( eigenbasis) for one qubit and the eigenbasis for the other qubit. This is used for expressing the operator form of the controlled-not gate as function of the projection operators. Taking the analogy with the gate one can define the projection operator associated to the gate as:
[TABLE]
where the projection operator on the eigenbasis is easily derived using . Then one obtains straightforwardly:
[TABLE]
It is also simple to derive expression (32) from (34).
The same method can be applied to build the doubly-controlled not-gate (Toffoli gate), named here . One starts again with the analogy with conjunction and notices that the gate uses 3 qubits in a -dimensional space, the compound state in the computational basis is . In the same way as before one can define here a doubly-controlled-Z gate :
[TABLE]
Then the gate can be found by the same method as for the gate. The polynomial expression is easily calculated giving:
[TABLE]
The gate can be expanded in equation (37) using equation (32) giving the alternative expression as function of single qubit gates:
[TABLE]
In quantum circuits it is practically difficult to realize the sum of operators and one prefers, if it is possible, to use a product form representing the same operator. Using the self-inverse symmetry of the above operators it is a standard procedure to make this transformation [12] using (13), a simple example is given by the transform (26). The gate polynomial expression in equation (28) can be transformed using (13), (28) and (30) in the following way:
[TABLE]
The factorization of the exponential operators is allowed because all the argument operators in the exponential commute, the order of the multiplication can thus be interchanged.
The same method can be used to obtain an expression for the controlled-not gate, one just replaces by .
In the same way this leads to a new factorized expression of the Toffoli gate* *:
[TABLE]
this formulation shows also that it is easy to scale up the gates for example with a Toffoli- gate using three control bits on a qubit state .
3.5 Correspondence with recent T-gate based methods
There has been much interest recently for developing general methods for synthesizing quantum gates based on polynomial methods [17, 18, 19]. The decomposition of arbitrary gates into Clifford and -set gates is an important problem. It is often desirable to find decompositions that are optimal with respect to a given cost function. The exact cost function used is application dependent; some possibilities are: the total number of gates; the total number of gates; the circuit depth and/or the number of ancillas used.
The single-qubit non-Clifford gate and Clifford gate are derived from the gate and are expressed in the computational basis in their matrix form:
[TABLE]
as stated above these operators are diagonal in the computational basis.
Considering the preceding discussion the seed operator for a -set is the -gate itself with eigenvalues , naming .
The action of the -gate on a qubit in the computational basis is: . One can also define the conjugate transpose gate .
Using the two following arithmetic expressions of exclusive disjunction, (, ), for and Boolean arguments [2]:
[TABLE]
where the second member is an inclusion-exclusion-like form. Combining the expressions gives:
[TABLE]
this last expression gives a method for building more complex gates using only and gates as shown by Peter Selinger in [18].
Starting again with the double controlled-Z gate one uses the fact, see (26), that and thus . One defines the -qubit operators: , and . Using (43) and the Reed-Muller methods discussed in section 3.1 one can express the operator using the action on the -qubit state as defined in (35) and the eigenvalue relation :
[TABLE]
the operators corresponding to exclusive disjunction in (44) can be easily obtained using the Eigenlogic interpretation: they are diagonal operators where the diagonal elements are the truth values of the corresponding logical connective using the operator alphabet . For example explicitly:
[TABLE]
It can be shown, again because , that the Toffoli gate obtained using (44) is equivalent to expression (40). The operator given in (44) can be explicitly designed using the methods described in [18].
An alternative polynomial expression can be found directly by the interpolation method. The idea is that because and commute and are not degenerate they have the same eigenvectors and thus one can use the same projection operators which are and its complement (see equation (24)). The expression of the double controlled-Z gate as a function of was already calculated in (35), now one just has to express the projection operator as function of the operator using (1), this gives:
[TABLE]
so using directly (35) one has:
[TABLE]
which can also be expressed as a function of , and :
[TABLE]
again using the transformation method it is easy to show that (48) is equivalent to (44). The Toffoli gate is also straightforwardly derived by replacing by in (48) leading again to (40).
The same method could be employed using gates, for example simply by replacing the operators by the respective ones and by in (48). Also replacing by and by in (48) leads to an Eigenlogic operator expression for the three-input conjunction as defined in (18).
4 Interpolation synthesis of multivalued quantum gates
Multi-valued logic requires a different algebraic structure than ordinary binary-valued one. Many properties of binary logic do not support set of values that do not have cardinality . Multi-valued logic is often used for the development of logical systems that are more expressive than Boolean systems for reasoning [19]. Particularly three and four valued systems, have been of interest with applications in digital circuits and computer science. Quantum physics and modern theory of many-valued logic were born nearly simultaneously [9] in the second and third decade of the twentieth century. The recently observed revival of interest in applying many-valued logic to the description of quantum phenomena is closely connected with fuzzy logic [3]. Multivalued logic is of interest to engineers involved in various aspects of information technology. It has a long history of use in CAD with HDL (Hardware Description Languages) for simulation of digital circuits and their synthesis, vaqrious standards have been established. The total number of logical connectives for for an -valued -arity system is the combinatorial number [9]. In particular for an arity- system with values the number of connectives will be and for an arity- system the number of connectives will be . So it is clear that by increasing the values from to the possibilities of new connectives becomes intractable for a complete description of a logical system, but some special connectives play important roles and will be illustrated hereafter.
4.1 Multivalued operators for quantum Fourier transform
Following David Mermin in [12] one can introduce the following unitary operator in a dimension Hilbert space. Its action on the computational basis for a -qubit state is:
[TABLE]
where is the compound quantum state and is the (decimal) number corresponding to the register of the state with binary digits (bits) . The cyclic character of this operator is also showed in (49).
The unitary operator corresponding to the quantum Fourier transform operation is then defined by:
[TABLE]
where is the vector with all qubit digits at zero, is the operator obtained by the Kronecker product of the Hadamard operators (23).
The operator has a non-degenerate finite spectrum of eigenvalues, the roots of unity, and can thus be considered as a multivalued seed operator. An example can be illustrated where the seed projector can be directly written as function of the interpolation projection operators for the qubits:
[TABLE]
leading for a -qubit system to the operator:
[TABLE]
Here one can make a parallel with angular momentum observables which are generators for rotations. The eigenvalues of the component angular momentum obey the following rules and the difference between successive values is . is integer or half-integer and is the eigenvalue of the associated observable . For cardinality one has which is half-integer, the considered numerical system becomes:
[TABLE]
this shows that by shifting the spectrum one can express as a function of leading to the operator expression:
[TABLE]
The operator which is a function of the physical observable angular momentum can be thus associated with physical systems. The operator according to (50) can be expressed as a function of the product of two angular momentum operators which could represent magnetic spin-spin interaction Hamiltonians.
4.2 OAM system, for ternary Min and Max logical
gates
The logical system has several benefits because it approaches the two logical systems most commonly used in binary logic and , which are special cases of the considered ternary logic. Moreover, its values are centered in zero, thus assuring a simplification of the results and interesting properties of symmetry.
Orbital angular momentum (OAM) is characterized by two quantum numbers: the orbital number and the magnetic number. The rules are: is an integer and . The matrix form of the -component orbital angular momentum observable for is:
[TABLE]
the three eigenvalues are here considered the logical truth values.
One can now express the ternary logical observables as developments over the rank- projection operators spanning the vector space: , and . These operators are explicitly calculated using equation (1) and correspond to the density matrices of the three eigenstates , and of , defining a qutrit. The projection operators function of the seed operator are given by:
[TABLE]
All arity-one logical operators can then be derived using the development (3).
When considering an arity- , -valued system, the operators are represented by matrices. The dictators, and , are then:
[TABLE]
In ternary logic, popular connectives are and , defined by their truth-value maps in Table 1.
Using (56) and (57) and logical reduction rules (due to the completeness of the projection operators) one obtains the following observables:
[TABLE]
4.3 Operators for a qutrit balanced half-adder
The adder is one of the fundamental elements in digital electronics. One can, by the means of multivalued logic, improve the performances of this circuit by removing the delays caused by the propagation of the carry bit.
Considering a balanced half-adder, the structure is simplified because the ternary logic values match the notation for balanced ternary digits. The truth table for a balanced ternary half adder is given in Table 2 [20], where represents the sum and the carry-out logical connectives. The inputs for the half-adder are the addend value and the carry-in value .
The seed operator is reversed from the one given above: . The inputs are represented by the addend operator and the carry-in operator . The output operators are the sum and the carry-out operators, their spectrum correspond to the respective truth values and is explicitly given in (59). The corresponding logical observables are derived directly using the truth tables and the respective projection operators (same method as for the OAM case using (56)):
[TABLE]
The comparison of the truth tables using ternary logic with the binary ones shows that the sum function corresponds here to the modulo-3 sum function, and the carry function is the consensus function. Therefore, the implementation of a balanced ternary half-adder is natural. The half-adder will either increment or decrement, depending on whether is or , while the binary equivalent can only increment.
5 Conclusion
A general method has been presented for the design of logical quantum gates. It uses matrix interpolation inspired from classical multivariate methods. The interesting property is that a unique seed operator generates the entire logical family of operators for a given -valued -arity system. When considering the binary alphabet the gates are the quantum equivalent of the Fourier transform of Boolean functions. The method proposes a new expression of the Toffoli gate which can be understood as a 3-argument conjunction in the Eigenlogic interpretation. For multivalued logic quantum gates can be derived for different alphabets. The correspondence with quantum angular momentum leads to physical realizable gates. Applications have been presented for quantum Fourier transform gates, Min-Max and half-adder logical operations.
This opens a new perspective for quantum computation because several of the Eigenlogic operators [2, 3] turn out to be well-known quantum gates. This shows an operational correspondence between quantum control logic (Deutsch’s paradigm [1]) and ordinary propositional logic. In Eigenlogic measurements on logical operators give the truth values of the corresponding logical connective. How could these measurement be exploited in a quantum circuit? Quantum tomography inspired techniques could be used.
At first sight the methods discussed here could be viewed as “classical” because of the identification of Eigenlogic with propositional logic. But when considering quantum states,* *that are not eigenvectors, the measurement outcomes are governed by the probabilistic quantum Born rule, and interpretable results are then the mean values, this leads to a fuzzy logic interpretation as outlined in [3].
Acknowledgements
We would like to thank Benoît Valiron from CentraleSupélec and LRI (Laboratoire de Recherche en Informatique), Gif-sur-Yvette (FR) for fruitful discussions during an ongoing academic project on quantum programming and for having pointed out the work using gates. We are also very grateful to Francesco Galofaro, from Politecnico Milano (IT) and Free University of Bolzano (IT) for his pertinent advices on semantics and logic.
We much appreciated the feedback from the Quantum Interaction community these last years, the foundational aspects related to this work were presented at the QI-2016 conference in San Francisco and we wish to thank particularly José Acacio da Barros of San Francisco State University (CA, ,USA), Ehtibar Dzhafarov of Purdue University (IN, USA), Andrei Khrennikov of Linnaeus University (SWE), Dominic Widdows from Microsoft Bing Bellevue (WA, USA), Peter Wittek from ICFO (Barcelona ESP) and Keith van Rijsbergen from University of Glasgow (UK).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] David Deutsch, “Quantum theory, the Church-Turing principle and the universal quantum computer”, Proc. Royal Soc. A. 400 (1818): pp. 97–117, 1985.
- 2[2] Zeno Toffano, “Eigenlogic in the spirit of George Boole”, Ar Xiv:1512.06632, 2015.
- 3[3] François Dubois and Zeno Toffano, “Eigenlogic: a Quantum View for Multiple-Valued and Fuzzy Systems”, Quantum Interaction. QI 2016. Lecture Notes in Computer Science, vol 10106. Springer, pp. 239-251, 2017, ar Xiv:1607.03509 [quant-ph].
- 4[4] Pierre Cartier, “A mad day’s work: from Grothendieck to Connes and Kontsevich The evolution of concepts of space and symmetry”, Journal: Bull. Amer. Math. Soc. 38 (2001), 389-408.
- 5[5] John von Neumann, “Mathematische Grundlagen der Quantenmechanik”, in “Grundlehren der mathematischen Wissenschaften”, volume Bd. 38. (Springer, Berlin, 1932) 106. “Mathematical Foundations of Quantum Mechanics”, Investigations in Physics, vol. 2, Princeton University Press, Princeton, 1955.
- 6[6] Garret Birkhoff, John von Neumann, “The Logic of Quantum Mechanics”. The Annals of Mathematics, 2nd Ser., 37 (4), 823-843, 1936.
- 7[7] Jeffrey Bub, “Quantum computation from a quantum logical perspective”, ar Xiv:quant-ph/0605243.
- 8[8] Mingsheng Ying, “A theory of computation based on quantum logic (I)”, Theoretical Computer Science, Volume 344, Issues 2–3, Pages 134-207, 2005.
