Quick search Find article
Quick search
Find article
J. Phys. A: Math. Theor. 40 No 13 (30 March 2007) F259-F266
doi:10.1088/1751-8113/40/13/F01
PII: S1751-8113(07)44041-0

FAST TRACK COMMUNICATION

Cartoon computation: quantum-like computing without quantum mechanics

Diederik Aerts1 and Marek Czachor2

1 Centrum Leo Apostel (CLEA) and Foundations of the Exact Sciences (FUND), Vrije Universiteit Brussel, 1050 Brussels, Belgium
2 Katedra Fizyki Teoretycznej i Informatyki Kwantowej, Politechnika Gdańska, 80-952 Gdańsk, Poland

Received 9 February 2007
Published 14 March 2007

Abstract. We present a computational framework based on geometric structures. No quantum mechanics is involved, and yet the algorithms perform tasks analogous to quantum computation. Tensor products and entangled states are not needed—they are replaced by sets of basic shapes. To test the formalism we solve in geometric terms the Deutsch–Jozsa problem, historically the first example that demonstrated the potential power of quantum computation. Each step of the algorithm has a clear geometric interpretation and allows for a cartoon representation.

PACS numbers: 03.67.–a, 89.70. + c, 11.30.Pb

1. Introduction

Thinking of quantum computation one typically has in mind a quantum computer—a device based on and limited by the laws of the microworld. But the same laws that allow for quantum computation state that the noise occurring in actual systems may make the computation more or less unrealistic. The two recent US and UE strategic reports [1] show how the level of practical difficulties varies from implementation to implementation. The goal of our paper is to show that perhaps one should also look for non-microworld implementations of quantum computation. More precisely, we present a framework for quantum-like algorithms that does not refer to quantum mechanics, and involves only geometric structures algebraized by means of geometric algebras (GA). To prove that the new framework indeed works we solve in a GA way the celebrated Deutsch–Jozsa (DJ) problem [2].

There are some trivial ways of including GA in quantum computation Note1, but this is not what we want to do. The GA algorithm we present below is not just a simple translation of the quantum one. As opposed to quantum computation the basic operation is not the tensor product but the geometric (Clifford) product (the map that forms an oriented square from two vectors, a cube from a vector and a square, a square from a vector and a cube, and so on, as shown in the figures). In quantum computation we are bound to use unitary operations (quantum dynamics is unitary) and projectors (measurements are represented by projections). Binary numbers are built by tensoring qubits with one another. All these operations are highly counterintuitive.

In GA computation the operations are different and there is nothing counterintuitive about them. After a necessary amount of exercise the operations can be visualized without great difficulty. Binary numbers are coded directly in terms of basic geometric shapes, with no tensor product or quantum entanglement. Parallel processing is performed on `bags of shapes'. In GA computation one can really see the solution.

2. Elements of GA

Let us now recall those basic facts about GA that are important for our purposes [3–8]. One begins with an n-dimensional Euclidean space Vn whose orthonormal basis is {e1,  ..., en}. The associative geometric product ab of two vectors a  =  ∑nk = 1 akek, b  =  ∑nk = 1 bkek, is defined by linearity from the Clifford algebra

Equation (1)

of the basis. Here \bm 1 is the neutral element of the GA: a\bm 1=\bm 1 a=a . Directed subspaces are then associated with the set of blades defined as geometric products of different basis vectors supplemented by the identity \bm 1 , corresponding to the basic oriented scalar (analogous to a charged point). The blades include vectors (oriented line segments), bivectors (oriented plane segments), trivectors (oriented volume segments), and so on. A general element A of GA, called a multivector, is a linear combination of the blades

A=A_0\bm 1+\sum_{k} A_{k} e_{k}+\sum_{k< l} A_{kl}
e_{k}e_{l}+\cdots+A_{1\ldots n} e_1\ldots e_n, \nonumber

where the coefficients are real.

Figures 1 and 2 explicitly illustrate the geometry behind multivectors and their geometric products in a plane. Geometrically the basic blades and their negatives in 2D are \bm 1=\circ, e_1=\rightarrow , e2  =  ↑, e12  =  square, – 1  =  •, – e1  =  ←, – e2  =  ↓, – e12  =  blacksquare. Here  circle  and • denote the two oppositely `charged' points.

Figure 1

Figure 1. Geometric product is noncommutative. (a) Geometry behind e1 e2  =  e12  =  –e2 e1. (b) Associativity implies e1 e2 e1  =  e12 e1. (c) The same as (b) but performed in a different order. Self-consistency implies that e1 e2 e1  =  e1(–e12)  =  –e1 e12.

Figure 2

Figure 2. (a) Multivectors are `bags of blades'. The two different bags are equivalent. (b) Geometric product of a multivector and a blade.

Note that the dimension of the space of shapes associated with the plane is four. Multivectors are `bags of shapes' and the high dimensionality is similar to the one known from configuration spaces in mechanics. As one does not have problems with imagining a 3N-dimensional space representing configurations of N particles, there is no difficulty with visualizing the four-dimensional space representing the `bags' in figure 2.

The first element that seems new and is beyond the standard presentation of GA is the binary parametrization of blades and the role it plays for the geometric product. Denote: \bm 1=e_{0\ldots 0} , e1  =  e10 ...0, e2  =  e010 ...0,  ..., e125  =  e110010 ...0,  ..., e12 ...n–1,n  =  e11 ...11. The notation shows that there is a one-to-one relation between an n-bit number and an element of GA based on Vn. Geometric product in the binary parametrization reads [9, 10]

Equation (2)

where (A1 ...An) ⊕ (B1 ...Bn) means componentwise addition mod 2, i.e. the n-dimensional XOR. The geometric product may be thus regarded as a projective representation of XOR. This observation is the departure point for our GA computational framework.

3. DJ problem in GA framework

Assume f:{0, 1}n → {0, 1} is a constant or balanced function. Consider an (n  +  1)-dimensional Euclidean space Vn + 1 with orthonormal basis {e1,  ...en + 1} and its associated GA. Let En + 1 denote the sum of all the blades,

Equation (3)

Employing (2) we find, for en  =  e0 ...010,

Equation (4)

This step is analogous to the first step of the DJ quantum algorithm [2]. Indeed, let Un + 1 be the tensor product of n  +  1 Hadamard gates. Then one begins with

U_{n+1}|0\ldots 01\rangle = \frac{1}{\sqrt{2^{n+1}}} \sum_{A_1\ldots
A_{n+1}} (-1)^{A_{n+1}}|A_1\ldots A_{n+1}\rangle.\nonumber

Note the difference in location of 1 in e0 ...010 and |0 ...01rangle. Now assume there exists an oracle Ef that performs

Equation (5)

The action of the oracle reduces either to the multiplication by the (n  +  1)th basis vector en + 1  =  e0 ...01, if f(A1 ...An)  =  1, or to the trivial multiplication by \bm 1=e_{0\ldots 0} in the opposite case. Accordingly

E_fE_{n+1} e_{n} = \sum_{A_1\ldots A_{n}} (-1)^{f(A_1\ldots A_{n})} \big(e_{A_1\ldots A_{n}0} - e_{A_1\ldots A_{n}1} \big).\nonumber

This step is analogous to the oracle action in the quantum algorithm, where

U_fU_{n+1}|0\ldots 01\rangle = \frac{1}{\sqrt{2^{n+1}}}
\sum_{A_1\ldots A_{n}} (-1)^{f(A_1\ldots A_{n})} ( |A_1\ldots
A_{n}0\rangle - |A_1\ldots A_{n}1\rangle ). \nonumber

The final step is performed by means of

Equation (6)

essentially the reverseNote2 of En:

F_{n+1}E_fE_{n+1} e_{n} = \sum_{A_1\ldots A_{n}=0}^1 (-1)^{f(A_1\ldots
A_{n})} e_{0\ldots 0} +\ldots,\nonumber

where the dots stand for the combination of all the blades different from \bm 1=e_{0\ldots 0} . If Π projects on e0 ...0, then

{\Pi}F_{n+1}E_fE_{n+1}e_{n}
= \left\{
\begin{array}{@{}l@{\qquad}l@{}}
(-1)^{f(0\ldots 0)} 2^{n}\bm 1 & {\rm for\quad constant}\; f\\
0 & {\rm for\quad balanced}\; f.
\end{array}
\right. \nonumber

Looking at the e0 ...0 component we conclude that f is constant if the component is nonzero, and balanced if the component is zero. We have achieved the same goal as the quantum algorithm.

4. Cartoon algorithms

Cartoon versions of the 2-bit GA algorithm are shown on figures 3–5. All the three figures involve the same first step, but the oracles are different. The projection Π means that we select from the final bag the dots. If the dots are black the function is constant with f(0)  =  1; white dots mean constant function, f(0)  =  0 (the oracle is then trivial), and no dots means zero, i.e. a balanced function. Figure 6 shows the algorithm for the 3-bit problem and constant f(00)  =  0. We do not show the oracle since in this case, analogously to figure 4, the oracle acts trivially. For three bits there are eight blades: one scalar, three edges ek, three walls ekl, and one cube e123. The walls are white on one side, and black on the other. e123 is white, and its negative is black. We recommend the readers to translate the cartoon into a GA expression.

Figure 3

Figure 3. The DJ problem solved exclusively by means of geometric operations: a 2-bit problem with f(0)  =  f(1)  =  1. One can see the result: the two black dots mean –2  =  (–1)f(0)21.

Figure 4

Figure 4. The 2-bit problem and the constant function f(0)  =  f(1)  =  0. The oracle acts trivially. One again sees the result: the two white dots mean  + 2  =  (–1)f(0)21.

Figure 5

Figure 5. The 2-bit problem and the balanced function f(0)  =  0, f(1)  =  1. The bag is empty.

Figure 6

Figure 6. The 3-bit problem for the constant function f(00)  =  0. The oracle is trivial. Four white dots mean  + 4  =  (–1)f(00)22.

5. Advantages and limitations

The basic factor that limits practical applicability of cartoon computation is how to physically implement Ef, En + 1, Fn + 1. The same problem occurs in standard quantum computation but one hopes that any finite unitary transformation can be physically realized by means of a quantum system, at least in principle. However, assuming that black boxes that perform Ef, En + 1, Fn + 1 in single runs exist, we obtain the same complexity of the algorithm as the quantum one. The main advantage is that we no longer have to look for such implementations in the microscopic domain. We only need geometry, and not necessarily that of an Euclidean space. Another advantage is that the notions of superposition and entanglement have here a clear geometric meaning (bags of blades) and no tensor products are needed. The coefficients occurring in our `entangled states' do not have a probabilistic meaning, but can be both positive and negative, and thus lead to interference effects. The latter property, in addition to parallelism, is the main feature making our algorithms similar to the quantum ones.

6. Discussion

The algorithms could also be represented in a matrix way with n-bit numbers given by Cartan's representation of an appropriate Clifford algebra [11]. Examples of such calculations can be found in [9, 10]. The exercise is instructive but can be conceptually misleading. As often stressed in the GA literature, the matrix representations introduce redundant elements that obscure the actual geometric meaning of GA operations. In particular, Cartan's representation is constructed by means of tensor products of Pauli matrices, a fact that may make the impression we are using quantum algorithms in notational disguise, perhaps extended by unphysical operations, which is not the case.

A lot of inspiration for our own work came from certain `quantum-like' constructions known in semantic analysis and artificial intelligence (AI) [12]. For example, the idea of replacing tensor product representations [13] by their `compressions' based on alternative multiplications occurs in convolution-based distributed representations of cognitive structures [14]. `Bags of shapes' are analogous to `bags of words' from latent semantic analysis (LSA) [15]. The links to AI and, more generally to the studies of human intelligence become especially intriguing if one thinks of geometric product as a way of decoding relations between geometric objects. Indeed, consider the following problem: if \rightarrow \blacksquare=\Box\rightarrow \,=\, \leftarrow\Box=\, \downarrow then blacksquare ←  = ? The GA solution is blacksquare ←  =  ↑ → ←  =  ↑ •  =  – ↑  =  ↓  =  → blacksquare. The computation is based on the observation that blacksquare should be identified with \uparrow\rightarrow, \Box with →↑, blacksquare with -\Box and →← with –. Similarity to certain IQ tests is striking. Of particular relevance to our approach are the binary spatter codes (BSC) [9, 16], a method of coding and processing distributed information, based on appropriately defined superpositions of XORed binary strings.

An interesting exercise is to try to imagine the three steps of the algorithm from figure 6 as three different levels of geometric relations between the three `bags of shapes' representing F3, E3 and e2. After some training one indeed starts to understand and see why the multiplication F3 E3 e2 looks like the rightmost bag. In this way we have approached the intriguing problem of understanding via visualization, and the role played in this context by quantum geometry [17].

To conclude, we seem to be dealing with a new research field on the borderland between `quantum structures' and cognitive science. The counterintuitive elements typical of quantum computation are here absent. The basic structure is geometric and thus very general. How to build a `parallel geometric processor' based on a physical process is a separate issue, but one is no longer confined to quantum systems. In particular, realizations based on classical physics cannot be excluded. Finally, implications for `the missing science of consciousness', artificial intelligence and various representations of cognitive structures can be far reaching and should be further studied.

Acknowledgments

We acknowledge the support of the Flemish Fund for Scientific Research (FWO Project No. G.0452.04), and the Polish Ministry of Scientific Research and Information Technology (solicited) project PZB-MIN 008/P03/2003.

References
[1] 
Quantum Computation Roadmap (2004) http://qist.lanl.gov.ERA Pilot Roadmap—Quantum Information Sciences and Technologies (2006) http://qist.ect.it/Reports/reports.htm  
[2] 
Deutsch D and Jozsa R 1992 Proc. R. Soc. A 439 553 
CrossRef
[3] 
Hestenes D and Sobczyk G 1984 Clifford Algebra to Geometric Calculus A Unified Language for Mathematics and Physics (Dordrecht: Reidel)  
[4] 
Sommer G (ed) 2001 Geometric Computing with Clifford Algebras (Berlin: Springer)  
[5] 
Dorst L, Doran C J L and Lasenby J (ed) 2002 Applications of Geometric Algebra in Computer Science and Engineering (Boston: Birkhauser)  
CrossRef
[6] 
Hestenes D 1966 Space-Time Algebra (New York: Gordon and Breach)  
[7] 
Hestenes D 1986 New Foundations for Classical Mechanics (Dordrecht: Kluwer)  
[8] 
Pavsic M 2001 The Landscape of Theoretical Physics A Global View (Boston: Kluwer)  
[9] 
Aerts D, Czachor M and De Moor B 2006 Preprint cs.AI/0610075  
Preprint
[10] 
Aerts D and Czachor M 2006 Preprint quant-ph/0610187  
Preprint
[11] 
Budinich P and Trautman A 1988 The Spinorial Chessboard (Berlin: Springer)  
[12] 
Aerts D and Czachor M 2004 J. Phys. A: Math. Gen. 37 L123 
IOPscience
[13] 
Smolensky P 1990 Artif. Intell. 46 159 
CrossRef
[14] 
Plate T 2003 Holographic Reduced Representation:Distributed Representation for Cognitive Structures (Stanford: CSLI Publications)  
[15] 
Landauer T K and Dumais S T 1997 Psychol. Rev. 104 211 
CrossRef
[16] 
Kanerva P 1996 Artificial Neural Networks–ICANN Proceedings (Lecture Notes in Computer Science vol 1112) ed C von der Malsburg et al (Berlin: Springer) p 869 
[17] 
Penrose R 1994 Shadows of the Mind A Search for the Missing Science of Consciousness (Oxford: Oxford University Press)  (of particular relevance is the discussion in chapter 1.21) 
[18] 
Somaroo S, Cory D G and Havel T F 1998 Phys. Lett. A 240 1 
CrossRef
[19] 
Havel T F and Doran C J L 2000 Preprint quant-ph/0004031  
Preprint
[20] 
Van den Nest M, Dehaene J and De Moor B 2005 Phys. Rev. A 72 014317 
CrossRef

Notes

Note1
 It is enough to say that any qubit can be regarded as a 2 × 2 matrix with an empty second column, and all 2 × 2 matrices are combinations of Pauli matrices, which are a representation of some GA. Also all 2 × 2 unitary transformations can be parametrized by elements of GA. This type of formulation is behind the approaches discussed in [18–20]. It seems that such an inclusion of GA in quantum computation is more like a translation into a different language, and does not, per se, bring new conceptual elements.
Note2
 The reverse acts on blades as follows:

(e_{k_1}e_{k_2}\ldots e_{k_{j-1}}e_{k_j})^{\dagger}=
e_{k_j}e_{k_{j-1}}\cdots e_{k_2}e_{k_1},

and is extended to multivectors by linearity.

  1. Cartoon computation: quantum-like computing without quantum mechanics

    Diederik Aerts and Marek Czachor 2007 J. Phys. A: Math. Theor. 40 F259

  2. No sliding in time

    Kirill Shtengel et al 2005 J. Phys. A: Math. Gen. 38 L589

  3. Anisotropy and penetration depth of MgB2 from 11B NMR

    Bo Chen et al 2006 New J. Phys. 8 274

  4. Classification of the Weyl tensor in higher dimensions

    A Coley et al 2004 Class. Quantum Grav. 21 L35

  5. A Contracting, Turbulent, Starless Core in the Serpens Cluster

    Jonathan P. Williams and Philip C. Myers 1999 ApJ 518 L37

  6. Collision of Two Identical Hypersonic Stellar Winds in Binary Systems

    Nikolay N. Pilyugin and Vladimir V. Usov 2007 ApJ 655 1002

  7. Three-dimensional MHD Model of Wave Activity in a Coronal Active Region

    L. Ofman 2007 ApJ 655 1134

  8. A Survey of SiO 5 → 4 Emission toward Outflows from Low-Luminosity Protostellar Candidates

    Andy G. Gibb et al. 2004 ApJ 603 198

  9. GEMS Imaging of Red-Sequence Galaxies at ~ 0.7: Dusty or Old?

    Eric F. Bell et al 2004 ApJ 600 L11

  10. Spacetime in string theory

    Gary T Horowitz 2005 New J. Phys. 7 201



Please login to access our web services, or create an account if you don't yet have one.

You must have cookies enabled in your web browser to be able to login.

Username
Password

Forgotten your password? Get a new one here.