Sample GAALOPScripts: Compute center of 4-Points Sphere (CGA) Three spheres (CGA) Triangle interpolation (PGA) One Qubit Not operation (QuBit) Two Qubits Not operation (QuBit)
Choose the geometric algebra: Number of QuBits in QBA:
Choose the output type:
Define the optimization options:
Code to optimize:
NOT = { // 1: eix 2: eit 3: ei+1x 4: ei+1t 5: r rref1= sqrt(2)/2*(_P(1) + _P(3))*_P(2)*_P(4); rref2= sqrt(2)/2*(_P(2) + _P(4))*_P(1)*_P(3); R = rref1*rref2; R*_P(5)*R } r = c0x*e0x + c0t*e0t +c1x*e1x + c1t*e1t; ?rprime = NOT(e0x, e0t, e1x, e1t, r);
Variable assignments:
Multivectors to be visualized: