Difference between revisions of "Quantum Computations Online"

From Qugate
Jump to: navigation, search
Line 1: Line 1:
 
<qu qubits="8" size="50" cols="12" init="0" bits="[0,1,2]" prog="yes">
 
<qu qubits="8" size="50" cols="12" init="0" bits="[0,1,2]" prog="yes">
 
 
[ H(0), H(1), H(2), U([0,1,2],[3,4,5],
 
[ H(0), H(1), H(2), U([0,1,2],[3,4,5],
 
+
function(x) { return Math.pow(7,x)%8; }, 'f'), H(2), C(1,R(1,2)), C(0, R(2,2)), H(1), C(0, R(1,1)), H(0),
 
+
M(3), M(4), M(5), Sw(0,2) ]
function(x) { return Math.pow(7,x)%8; }, 'f'), H(2), C(1,R(1,2)), C(0, R(2,2)), H(1), C(0, R(1,1)), H(0) ]
+
  
 
</qu>
 
</qu>
  
 
* [[JQ_Manual|jQ Manual]]
 
* [[JQ_Manual|jQ Manual]]

Revision as of 18:50, 24 May 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox