Holistic Type Extension for Classical Logic via Toffoli Quantum Gate

A holistic extension of classical propositional logic is introduced via Toffoli quantum gate. This extension is based on the framework of the so-called “quantum computation with mixed states”, where also irreversible transformations are taken into account. Formal aspects of this new logical system are detailed: in particular, the concepts of tautology and contradiction are investigated in this extension. These concepts turn out to receive substantial changes due to the non-separability of some quantum states; as an example, Werner states emerge as particular cases of “holistic” contradiction.


Introduction
In recent years, an increasing interest in logical systems related to quantum mechanics has arisen. Most of these systems are not strictly related to the standard quantum logic, but they are motivated by concrete problems related to quantum information and quantum computation [1][2][3][4][5][6][7].
The notion of quantum computation first appeared in the 1980s by Richard Feynman. One of the central issues he posed was the difficulty to efficiently simulate the evolution of a quantum system on a classical computer. He pointed out the computational benefits that arise by employing quantum systems in place of classical ones. With this aim, he proposed a new kind of computer: a quantum computer [8]. It was not conceived as a Turing machine, but as a different kind of machine able to simulate any quantum system, including the physical world. Quantum computing can simulate all computations that can be performed by classical systems. However, one of the main advantages of quantum computation and quantum algorithms is that they can speed up computations.
In classical computation, information is encoded by a sequence of bits. A bit is viewed as a kind of physical object that can assume one of two distinct classical states, represented by the binary numbers 0 or 1. Bits are manipulated via an ensemble of logical gates like NOT, OR, AND, etc, arranged in circuits and providing the output of a calculation.
Standard quantum computing is based on quantum systems described by finite dimensional Hilbert spaces, starting from C 2 , which is the two-dimensional space where any qubit lives. A qubit-the unit of information in quantum computation-is represented by a unit vector in C 2 , while n-qubits (where n is a positive integer) are represented by unit vectors in C 2 n . Similarly to the classical case, we can introduce and study the behaviour of a certain number of quantum gates acting on n-qubits. These quantum gates are mathematically modelled by unitary operators applying on pure states of an appropriate Hilbert space and thus they only represent reversible processes. However, for many reasons, this restriction to unitary operators is undue. In fact, a quantum system is rarely in a pure state. This may be caused, for example, by the incomplete efficiency in the preparation procedure and also by manipulations on the system as measurements over pure states; in both cases, we are faced with statistical mixtures. Such restriction induced the formulation of more general models for quantum computation, where density operators and quantum operations are employed in place of pure states and unitary operators. This approach to quantum computing, where not only reversible transformations are taken into account, is called quantum computation with mixed states.
In this powerful model, combinational structures associated with a set of quantum gates induce new forms of quantum logical systems [7] that play a similar role to Boolean algebras with respect to digital circuits. We focus our attention on the combinational structure of quantum circuits built from a particular quantum gate: the Toffoli quantum gate.
The study of the combinational logic underlying the Toffoli quantum gate is interesting for several reasons. One of these is related to the universality of quantum gates. In particular, the Toffoli gate alone is universal for classical computation and, equipped with the Hadamard gate, is approximately universal for quantum computation [9], i.e., a finite composition of the Toffoli and Hadamard gate allows representing the behavior of any other quantum gate.
However, another reason that makes the logic of the Toffoli gate interesting is its connection with fuzzy logic. Indeed, from a probabilistic point of view, the Toffoli gate behaves as the conjunction of Product logic [10]. This logical system is related to the so-called fuzzy logic of continuous t-norms introduced in the second part of the 1990s [11].
Focusing on the Toffoli quantum gate, the aim of this paper is to study an extension of classical logic that arises from the holistic nature of bipartite quantum systems.
The paper is structured as follows: the first two sections provide all the necessary ingredients to make the article self-contained. More precisely, in Section 2, we introduce some basic notion concerning non-separability and bipartite quantum systems. In Section 3, we briefly describe the mathematical model related to quantum computation with mixed states. In Section 4, we introduce the general logical framework associated with quantum circuits. This new form of quantum logic is compared to the standard quantum logic based on the closed subspaces of the Hilbert space, also-called Hilbert lattices.
Section 5 is devoted to studying the fuzzy extension arisen from Toffoli gate. This extension will be defined by means of two particular instances of Toffoli gate: AND and NOT. In Section 6, a holistic type extension for classical logic is investigated. This extension is motivated by the application of AND gate on non-separable states. In Section 7, we study the notion of contradiction in the holistic extension of classical logic and in Section 8 Werner states are introduced as particular cases of these contradictions. Finally, in Section 9, some arguments and possible open discussions are briefly introduced as conclusive remarks.

Bipartite Quantum Systems
In quantum mechanics, a compound system is represented as a tensor product of Hilbert spaces, each of them representing the individual parts of the system. Unlike classical physics, standard quantum mechanics systematically violate the above separability principle. This difference arises from the tensor product structure related to Hilbert spaces and from the superposition principle [12][13][14]. More precisely, if ρ 1 and ρ 2 are two density operators in the Hilbert spaces H 1 and H 2 , respectively, the state of the compound system is represented by ρ = ρ 1 ⊗ ρ 2 in H 1 ⊗ H 2 . However, not all density operators on H 1 ⊗ H 2 are expressible in this form. The property of non-factorizability of quantum states is given by the fact that the direct sum of H 1 and H 2 is a proper subset of H 1 ⊗ H 2 . In what follows, we introduce some notation that turns out to be very useful to describe our holistic extension of the classical logic based on the Toffoli quantum gate.
Let us remind readers that any density operator ρ can be expressed as ρ = 1 2 (I + s 1 σ 1 + s 2 σ 2 + s 3 σ 3 ), where I is the identity matrix, σ 1 , σ 2 , σ 3 are Pauli matrices and s 1 , s 2 and s 3 are three real numbers such as s 2 1 + s 2 2 + s 2 3 ≤ 1. The triple (s 1 , s 2 , s 3 ) represents a point of the Bloch sphere uniquely associated with the density operator ρ. Similarly, it can be obtained for any n-dimensional Hilbert space by the generalized Pauli-matrices. Definition 1. Let H be a n-dimensional Hilbert space and {|ψ 1 , . . . , |ψ n } be the canonical orthonormal basis of H. Let us consider k, j be two natural numbers such that: 1 ≤ k < j ≤ n. Then, the generalized Pauli-matrices are defined as follows: If H = C 2 , one immediately obtains: (2) σ Let ρ be a density operator of the n-dimensional Hilbert space H. For each j satisfying 1 ≤ j ≤ n 2 − 1, let us consider s j (ρ) = tr(ρσ j ).
The sequence s 1 (ρ) . . . s n 2 −1 (ρ) is called the generalized Bloch vector associated with ρ, in view of the following well-known result [15]: let ρ be a density operator of the n-dimensional Hilbert space H and let σ j ∈ P n . Then, the density operator ρ can be represented as: where I (n) is the n × n identity matrix. By using generalized Pauli matrices, it will be possible to formally describe a notion of holism for bipartite states. In fact, by the Schlienz-Mahler decomposition [15], we can show how any quantum bipartite state can be expressed as a sum of a factorizable state plus another quantity that represents a kind of holistic component.
Let us consider the Hilbert space H = H a ⊗ H b . For each density operator ρ on H, we shall denote by ρ a the partial trace of ρ with respect to the subsystem H b (i.e., ρ a = tr H b (ρ)) and, similarly, by ρ b the partial trace of ρ with respect to the subsystem H a (i.e., ρ b = tr H a (ρ)). For the next sections, let us recall the following result: let ρ be a density operator in the n-dimensional Hilbert space H = H a ⊗ H b such that dim(H a ) = m and dim(H b ) = k. By dividing ρ in m × m blocks B i,j , each of them is a k-square matrix, then: Definition 2. Let ρ be a density operator in the Hilbert space H m ⊗ H k , where dim(H m ) = m and dim(H k ) = k. Then, ρ is (m, k)-factorizable iff ρ = ρ m ⊗ ρ k where ρ m is a density operator in H m and ρ k is a density operator in H k .
Note that, if ρ is (m, k)-factorizable as ρ = ρ m ⊗ ρ k , this factorization is unique and ρ m and ρ k correspond to the reduced states of ρ on H m and H k , respectively [16].
Let us suppose that H = H a ⊗ H b where dim(H a ) = m and dim(H b ) = k. Consider the generalized Pauli matrices σ a 1 , . . . , σ a m 2 −1 and σ b 1 , . . . , σ b k 2 −1 arising from H a and H b , respectively. By defining the coefficients: and by considering the matrix M(ρ) defined as The above result provides a mathematical representation of the instance of holism mentioned at the beginning of the section. Indeed, a state ρ in H a ⊗ H b does not only depend on its reduced states ρ a and ρ b , but the summand M(ρ) is also involved. We notice that M(ρ) is not a density operator and then it does not represent a physical state. We refer to M(ρ) as the holistic component of ρ.

Quantum Computation with Mixed States
As anticipated in the Introduction, we now provide some basic notions of quantum computing. In quantum computation, information is elaborated and processed by means of quantum systems. A quantum bit or qubit, the fundamental concept of quantum computation, is a pure state in the Hilbert space C 2 . The standard orthonormal basis {|0 , |1 } of C 2 is called logical basis. They are related to the fact that the logical truth is represented by |1 and the falsity by |0 . Therefore, a pure state |ψ in C 2 can be written as |ψ = c 0 |0 + c 1 |1 , where c 0 and c 1 are complex numbers such that |c 0 | 2 + |c 1 | 2 = 1. Recalling the Born rule, any qubit |ψ = c 0 |0 + c 1 |1 may be regarded as a piece of information, where the number |c 0 | 2 corresponds to the probability-value of the information described by the basic state |0 , while |c 1 | 2 corresponds to the probability-value of the information described by the basic state |1 . The two basis-elements |0 and |1 are usually taken as the encoding of the classical bit-values 0 and 1, respectively. In this way, the qubit probability value we are interested in is p(|ψ ) = |c 1 | 2 , which is related to the basis vector associated with truth.
Quantum states considered in quantum computation live in the tensor product ⊗ n C 2 = C 2 ⊗ C 2 ⊗ . . . ⊗ C 2 (n times) that is a 2 n -dimensional complex space. A special basis, called the 2 n -computational basis, is chosen for ⊗ n C 2 . In other words, it consists of the 2 n orthogonal states |ι , 0 ≤ ι ≤ 2 n where ι is in binary representation and |ι is a tensor product of states (Kronecker product) |ι = |ι 1 ⊗ |ι 2 ⊗ . . . ⊗ |ι n , whit ι j ∈ {0, 1}. Then, a pure state |ψ ∈ ⊗ n C 2 can be written as |ψ = ∑ 2 n ι=1 c ι |ι , with ∑ 2 n ι=1 |c ι | 2 = 1. In the usual representation of quantum computational processes, a quantum circuit is identified with an appropriate composition of quantum gates, mathematically represented by unitary operators acting on pure states of a convenient (n-fold tensor product) Hilbert space ⊗ n C 2 [17]. In other words, the standard model for quantum computation is mathematically based on "qubits-unitary operators".
As we said in the Introduction, in general, a quantum system is not in a pure state. Moreover, there are interesting processes that cannot be encoded by unitary evolutions. For example, the measurement at the end of the computation is a non-unitary operation, and the final state is a probability distribution over pure states, i.e., a mixed state.
In this way, several authors [5][6][7]18,19] have considered a general model for quantum computing, where pure states are changed with mixed states. In what follows, we provide a brief description of this powerful model for quantum computers based on mixed states, which is better suited to our development.
As a particular case, we may associate to each vector of the logical basis of C 2 two density operators P 0 = |0 0| and P 1 = |1 1| that represent, in this framework, the falsity-property and the truth-property, respectively. Let us consider the operator P (n) 1 = ⊗ n−1 I ⊗ P 1 on ⊗ n C 2 . By applying the Born rule, we shall consider the probability of a density operator ρ as follows: Note that, in the particular case in which ρ = |ψ ψ|, where |ψ = c 0 |0 + c 1 |1 , we obtain that p(ρ) = |c 1 | 2 . Thus, this probability value associated with ρ is the generalization of the probability value considered for qubits.
A quantum operation [20] is a linear operator E : . It can be seen that a quantum operation maps density operators into density operators. Each unitary operator U can be described as has a quantum operation O U , where, for any density operator ρ, O U (ρ) = U ρU † . Thus, quantum operations generalize unitary operators. It provides a powerful model for quantum computation in which irreversible processes can also be considered. This model founded on density operators and quantum operations is known as "quantum computation with mixed states" ( [7,18]).

Standard Quantum Logic vs. Quantum Computational Logic
The holistic extensions for classical logic in quantum computing, announced as the main goal of this paper, is fully supported in the formalism of quantum computation with mixed states. This naturally suggests a kind of quantum logical system related to quantum computation that allows us to achieve the extension mentioned above. As expected, this logical system will be substantially different than standard Birkhoff-von Neumann quantum logic [21]. In this section, we summarize the differences between these two logical systems.
According to von Neumann's axiomatization, quantum events are mathematically realized by projectors of a Hilbert space H. Hence, any experimental proposition concerning a quantum system corresponds to a projector in a convenient Hilbert space. Closed subspaces of H are in one-to-one correspondence with the class of all projectors of H and they form an algebra called Hilbert lattice (denoted by L(H)). In any Hilbert lattice, the meet operation ∧ corresponds to the set theoretical intersection between subspaces and the join operation ∨ corresponds to the smallest closed subspace of H containing the set theoretical union of subspaces. The ordering relation associated with the lattice L(H) is the inclusion of subspaces. Note that L(H) is a bounded lattice where H is the maximum, denoted by 1, while 0 denotes the minimum, i.e., the subspace containing only the origin. This lattice equipped with the relation of orthogonal complement ⊥ can be described as an ortholattice [22]. Then, the propositional structure that defines the standard quantum logic proposed by Birkhoff and von Neumann is given by the ortholattice L(H), ∨, ∧, ⊥ , 1, 0 . Let us notice that, unlike classical logic, in this structure, the distributive law fails. However, L(H) satisfies a kind of weak distributivity. In case of a finite-dimensional Hilbert space H, the ortholattice L(H) is modular, i.e., satisfies the following condition known as modular law: In the case of an infinite-dimensional Hilbert space, the modular law is not satisfied. In 1937, Husimi [23] showed that a weaker law, the so-called orthomodular law (x ≤ y =⇒ x ∨ (x ⊥ ∧ y) = y), is satisfied in the ortholattice L(H).
Quantum computational logic can be considered as a different kind of quantum logic. It arises from the combinational structure associated with a set of quantum gates, mathematically represented by quantum operations. Let us remember that the mathematical support for quantum computation is given by finite dimensional Hilbert spaces of the form ⊗ n C 2 . While the standard quantum logic associated with a system represented by ⊗ n C 2 is given by the ortholattice L(⊗ n C 2 ), on the contrary, possible quantum computational logic systems are defined taking into account algebraic properties of quantum operations acting over density operators on ⊗ n C 2 . Although it is clear that these logical systems are not Boolean, their notion of logical consequence is inspired by the following problem, usually treated in classical computation and more precisely in digital techniques. If T is a combinational circuit, we want to know whether a determinate input state of T, represented by a string of bits 0 and 1, forces a determinate output state of T given by a bit that could be either 0 or 1. As a general rule, this problem can be solved through effective procedures based on classical logic.
Then, one may naturally extend this problem by considering circuits made from assemblies of quantum gates. In this way, the input and the output of quantum circuits are labeled by density operators and possible notions of logical consequence are defined by relations between the input and the output of circuits. Several families of quantum computational logics arise from these extensions [5,6,24]. These families of logics have a common semantics based on probability-values introduced in Equation (5). More precisely, a language for a quantum computational logic is a propositional language L F (X) where X is a non-empty set of variables and F is a set of connectives. Propositional variables are interpreted in a set D of density operators and, for each connective f ∈ F, f is naturally interpreted as a quantum operation U f closed on D. An interpretation of L F (X) in D is any function e : L F (X) → D such that, for any f ∈ F having arity k, e( f (x 1 , . . . , x k )) = U f (e(x 1 ), . . . , e(x k )).
To define a relation of semantic consequence |= based on the probability assignment, it is necessary to introduce the notion of valuations. In fact, valuations are functions over the unitary real interval v : L F (X) → [0, 1] such that f can be factorized in the following way: Since an interpretation always determines a valuation, for each interpretation e, we denote by e p the valuation related to e. The abstract notion of semantical consequence |= related to D is given by: where R ⊆ [0, 1] 2 is a reflexive and transitive relation. Note that the natural extension of classical logical consequence can be formulated as follows: More precisely, in this case, R[e p (α), e p (ϕ)] is defined by e p (α) = 1 =⇒ e p (ϕ) = 1. These kinds of logical systems can be framed as generalizations of probabilistic logic. Probabilistic logic is the concept that Adams [25] introduced for the logical investigation on the transmission of probability values thorough valid inferences. In our context, the notion of probabilistic logial system can be generalized by considering non-Kolmogorovian probability models [26] as it happens in the case of quantum computational logics, which is semantically based on the Born rule.

A Fuzzy Extension for Classical Logic in Quantum Computation
As introduced in the previous section, the probabilistic semantic for a language L F (X) associated with quantum computational logic assumes its truth value in the continuous [0, 1]. This suggests a strong relation between quantum computational logic and fuzzy logic. Since we are interested in an extension of classical logic in a quantum computational framework, it is quite natural for above-mentioned logical systems to require the following condition: once a language L F (X) is fixed, the elements of the set F have to be interpreted as quantum operations that are able to fully describe, from the truth-functionally point of view, classical logic. In other words, the set of connectives F, restricted to the classical truth values {0, 1}, is functionally complete (we say that a set of classical connectives is functionally complete if it is sufficient to express every truth-function) with respect to propositional classical logic. In this section, we shall consider a logical system equipped with only one connective, semantically interpreted as the well-known Toffoli quantum gate.

Classical Functional Completeness and the Extension via Toffoli Gate
Functionally completeness, besides being an important logical property, turns out to be crucial also for technological applications. A paradigmatic case is represented by the digital techniques where logical gates can be represented by propositional connectives and circuits by propositional formulas. For technical reasons (standardization of integrated circuits, energy optimization), sometimes it is necessary to build circuits by using a restricted set of logical gates. We focus our attention on the set ¬, ∧ , which is functionally complete for classical logic. Thus, by induction, a logical system ¬, ∧ can represent all truth-functions of classical logic. However, the set ¬, ∧ could not be functionally complete for some extension of classical logic. The rest of this subsection is devoted to investigating a natural extension of ¬, ∧ to quantum computational logic with mixed states.
First of all, the classical negation is extended in the following way: Definition 3. For each density operator ρ in ⊗ m C 2 , the negation NOT (2 m ) (ρ) is defined as follows: where NOT = 0 1 1 0 .
An extension of the classical conjunction can be implemented via the Toffoli gate. It was introduced by Tommaso Toffoli [28] and it is represented by the ternary classical connective T(x, y, z) = (x, y, xy +z), where + is the sum modulo 2. When z = 0, T(x, y, 0) reproduces the classical conjunction. Toffoli gate is naturally extended to qubits in the following way.
By ([29] Proposition 3.1), for any choice of m, k ≥ 1, T (m,k,1) is a unitary operator whose matrix representation is given by where Xor = T (m,k,1) allows us to extend the classical conjunction as follows.

Definition 4.
Let ρ m be a density operator in ⊗ m C 2 and ρ k be a density operator in ⊗ k C 2 . We define: In [27], it is proved that Let us consider the set D n of all density operators on ⊗ n C 2 . It is very important to remark that AND (m,k) can be seen as a binary operator of the form In order to define a quantum computational logical system in the sense of Section 3 and based on {AND (−,−) , NOT (2 − ) }, we consider the set D = n D n and we introduce the binary connective AND and the unary connective NOT in D as Note that AND and NOT are closed operations in D. Thus, these operations define a quantum computational logical system in the sense of Section 3 that we shall denote as QC AN . By Equations (8) and (11), it is immediate to see that From a probabilist point of view, NOT (2 m ) gate can be described as an instance of Toffoli gate. In fact, by ([29] Theorem 3.1), for each density operator ρ in ⊗ m C 2 , we can easily see that p(NOT (2 m ) (ρ)) = p(T (m,k,1) (ρ ⊗ P (k) 1 ⊗ P 1 )T (m,k,1) ).
Thus, AND and NOT can be considered as two particular instances of Toffoli gate. Consequently, QC AN can be seen as a logic construction arising from Toffoli gate only.
In the case where p(ρ) and p(σ) are 1 or 0, these quantum gates behave as the classical negation and conjunction, respectively. In this way, QC AN provides an extension of the classical propositional logic.

QC AN and the Connection with the Fuzzy Logic
In the general case, QC AN is strongly related to the Basic fuzzy logic introduced by Hájek at the end of the 1990s [11]. This kind of fuzzy logic is conceived as a theory of the approximate reasoning based on many-valued logic systems. Basic fuzzy logic is the logic associated with continuous t-norms i.e., continuous, commutative, associative, and monotone binary operations on [0, 1] with 1 as the neutral element. These operations are taken as possible truth-functions of conjunctions in these systems. Each continuous t-norm determines a semantics of fuzzy propositional logic. For example, the Łukasiewcz t-norm x Ł y = max{0, x + y − 1} defines the conjunction of the Łukasiewcz infinite many valued logic, where ¬ Ł x = 1 − x is the negation in this logic. The product t-norm x p y = x · y defines the conjunction of the Product logic [10] and the Gödel t-norm x p y = min{x, y} defines the conjunction of the linear Heyting logic. In this subsection, we investigate the formal relation between QC AN and the fuzzy logic system based on the product t-norm.
Since p(NOT(ρ)) = 1 − p(ρ), we can identify NOT with the Łukasiewicz negation and since p(AND(ρ, σ)) = p(ρ)p(σ), AND can be identified with the product t-norm. Thus, from a strictly semantic point of view, we can establish the following identification: We remark that connectives {¬ Ł , p } define a multiplicative fragment of the fuzzy logical system known as product many valued logic or PMV-logic, studied in [30,31].
This semantic connection between two logical systems is even deeper and it is formally rooted in the equivalence relation on D given by It is not very hard to see that the quotient set D/ ≈ can be identified to the real interval [0, 1] and ≈ is a congruence with respect to {NOT, AND}.

Extending Classical Contradictions and Tautologies in QC AN
In classical logic, concepts of contradiction and tautology can be syntactically represented in terms of {¬, ∧}. Contradictions are those formulas equivalent to p ∧ ¬p and tautologies are those formulas equivalent to ¬(p ∧ ¬p). From these facts, the formula p ∧ ¬p is sometimes referred to as syntactic contradiction and ¬(p ∧ ¬p) (more precisely, the equivalent form p ∨ ¬p) is referred to as syntactic tautology. In this work, we accord with this terminology.
In QC AN , a syntactic representation for contradictions and tautologies is lost. This fact can be explained taking into account that real numbers do not contain zero divisors. Then, there is not an algebraic expression built from {¬ Ł , p } that produces the constant functions 1 or 0. Hence, the semantic identification given in Equation (15)  Since NOT is an involution on D, the QC AN -extension of the syntactic contradiction and QC AN -extension of the syntactic tautology are dual concepts. Thus, for the sake of simplicity, we can focus our attention on the notion of contradiction only. By Equation (15), we can see that: p(AND(ρ, NOTρ)) = p(ρ)(1 − p(ρ)) ≤ 1 4 .

A Holistic Type Extension for Classical Logic
Quantum computational logic with mixed states can also provide an interesting holistic type extension for the classical propositional logic. This extension arises when non factorizable states are considered as inputs in the Toffoli quantum gate. We will also note that the fuzzy system {¬ Ł , P } plays an important role for describing the mentioned holistic extension.
The formal language in which classical logic and most of the logical systems are expressed are regulated by strict syntax rules. The basic idea at the origin of these languages is the fact that each proposition or formula can be built by means of a recursive procedure from a distinguished set of propositions, which are called atomics propositions. In this way, complex propositions are recursively obtained from atomic propositions assembled by connectives. For each connective a natural number, the arity is assigned. The arity defines the number of propositions that the connectives assemble. When an algebraic semantic for these logical systems is considered, an n-ary connective is interpreted as an algebraic operation having n arguments. Thus, the arity is an invariant property associated with a connective. All of these ideas were already taken into account in QC AN , where separability conditions of the states were considered. More precisely, AND (m,k) is viewed as a 2-ary connective in the ideal case in which a factorizable state of the form ρ m ⊗ ρ k is considered as input.
In general, of course, this is not the case. Quantum systems continually interact with environment, building up correlations. For a more realistic approach, we can assume that the input of the AND (m,k) can be also a non-factorizable mixed state ρ in ⊗ m+k C 2 taking into account its holistic type representation given in Equation (4), i.e., where ρ m and ρ k are the reduced states of ρ in ⊗ m C 2 and ⊗ k C 2 , respectively.
Unlikely, with respect to Equation (12), when non factorized states are taken into account, AND (m,k) behaves as a unary operator of the form AND (m,k) : D m+k → D m+k+1 . This behavior of AND (m,k) motivates a holistic type extension of classical conjunction. The following definition formally introduces an operator that describes the unary behavior of AND (m,k) .
If we consider the relation in D Hol given by then ≈ H is an equivalence and D Hol / ≈ H = D.
The connective NOT, formally defined on D, has a natural extension to D Hol . Taking into account the equivalence ≈ H in D Hol , introduced in Equation (24), for each ρ m,k ∈ D Hol , we can define NOT(ρ m,k ) = NOT([ρ m,k ] ≈ H ) where the equivalence class [ρ m,k ] ≈ H is identified to a density operator on D. In this way, ≈ H becomes a congruence with respect to NOT, and NOT is well defined on D Hol .
The pair AND Hol , NOT defines a holistic type extension for classical logic in the framework of quantum computation with mixed states. We denote this logical system as QC Hol AN . We want to remark two peculiarities about the system QC Hol AN . First: while classical logic needs at least one binary connective to describe any possible truth-function, QC Hol AN can describe any possible classical truth-function by involving two unary connectives. Second: since QC Hol AN is described by unary connectives, the notion of classical syntactic contradiction-that had a natural extension in QC AN -seems to not have an extension in QC Hol AN . The next section is devoted to this topic.

AN
QC Hol AN is a logical system having unary connectives only. This fact does not allow us to extend, in a natural way, the syntactic representation of the classical contradiction given by p ∧ ¬p. However, it is possible to characterize a sub class of D Hol that preserves the notion of syntactic contradiction when AND Hol takes arguments on this class.
Let us remind that the syntactic contradiction, extended to QC AN , is given by AND(ρ, NOT(ρ)), where p(AND(ρ, NOT(ρ))) = p(ρ)(1 − p(ρ)). Following this idea, we want to characterize the elements ρ m,k in D Hol such that p(ρ m ) = 1 − p(ρ k ). In this way, if ρ m,k is of the form ρ m,k = ρ m ⊗ NOT(ρ m ), then AND Hol (ρ m,k ) = AND(ρ m ⊗ NOT(ρ m )). It generalizes the fuzzy extension of the syntactic contradiction in QC Hol AN . We first introduce the following set D cont Hol = {ρ m,k ∈ D Hol : p(ρ m ) = 1 − p(ρ k )}.
The elements of D cont Hol allow us to extend the notion of syntactic contradiction to QC Hol AN in the following way: Definition 7. An expression of the form AND Hol (ρ m,k ) is said to be an holistic contradiction whenever ρ m,k ∈ D cont Hol .
We note that an holistic contradiction can be characterized by a special value of p(AND Hol (ρ m,k )) because ρ m,k ∈ D cont Hol i f f p(AND Hol (ρ m,k )) = δ m,k (ρ). (26) where w ∈ [0, 1] and SWAP (n 2 ) = ∑ i,j |ψ i ψ j | ⊗ |ψ j ψ i |, |ψ i , |ψ j being vectors of the standard n-dimensional basis. Let us consider the Werner state ρ From an implementative perspective, these logical extensions can be very useful in quantum computing since the fuzzy content of QC AN and QC Hol AN could be specially applied in fuzzy control [37], allowing for modelling the so-called Pelc's game [38] (a probabilistic variant of Ulam's game). It also suggests further developments in the study of error-correcting codes in the framework of quantum computation.
Author Contributions: H.F. and G.S. conceived the basic idea of the manuscript; R.G. improved the original idea with relevant developments; H.F. and R.G. performed the technical part of the manuscript; H.F. and R.G. wrote the paper; H.F. and G.S. designed the pictures.
Funding: This research was partially funded by Fondazione di Sardegna, within the project "Strategies and Technologies for Scientific Education and Dissemination", Cup number: F71I17000330002.