diff --git a/examples/algorithm-bitstring-query-quantum.js b/examples/algorithm-bitstring-query-quantum.js index ad6a482..9cbac60 100644 --- a/examples/algorithm-bitstring-query-quantum.js +++ b/examples/algorithm-bitstring-query-quantum.js @@ -38,14 +38,12 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { evaluate: function(main) { return main.measure() } }) - - return circuit } function Oracle(options) { diff --git a/examples/algorithm-constant-or-balanced-quantum.js b/examples/algorithm-constant-or-balanced-quantum.js index f7d2208..3fc5407 100644 --- a/examples/algorithm-constant-or-balanced-quantum.js +++ b/examples/algorithm-constant-or-balanced-quantum.js @@ -34,7 +34,7 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { kind: function() { @@ -43,8 +43,6 @@ function Circuit(name, size) { return bits.toNumber() === 0 ? 'constant' : 'balanced' } }) - - return circuit } function Oracle(options) { diff --git a/examples/algorithm-exclusive-or-pairs-quantum.js b/examples/algorithm-exclusive-or-pairs-quantum.js index e5c38ed..93aa568 100644 --- a/examples/algorithm-exclusive-or-pairs-quantum.js +++ b/examples/algorithm-exclusive-or-pairs-quantum.js @@ -47,15 +47,13 @@ function Host() { function Circuit(name, size) { - let circuit = require('../src/circuit.js')({ + return require('../src/circuit.js')({ name: name, size: size, logger: logger, engine: 'optimized', order: ['targets', 'controls'] }) - - return circuit } function Oracle(options) { diff --git a/examples/amplify-two-states.js b/examples/amplify-two-states.js index 62f70bb..cc64cf1 100644 --- a/examples/amplify-two-states.js +++ b/examples/amplify-two-states.js @@ -32,7 +32,7 @@ function circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { flip: function(bits) { @@ -72,8 +72,6 @@ function circuit(name, size, options) { .h(0).h(1).h(2).h(3) } }) - - return circuit } function main(index) { diff --git a/examples/amplify-wave.js b/examples/amplify-wave.js index 0feb893..1676e7b 100644 --- a/examples/amplify-wave.js +++ b/examples/amplify-wave.js @@ -25,7 +25,7 @@ function circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { repeat: function(value, fn) { @@ -73,8 +73,6 @@ function circuit(name, size, options) { .h(0).h(1).h(2).h(3) } }) - - return circuit } function main(index) { diff --git a/examples/amplify.js b/examples/amplify.js index 060241c..86baa91 100644 --- a/examples/amplify.js +++ b/examples/amplify.js @@ -30,7 +30,7 @@ function circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { repeat: function(value, fn) { @@ -78,8 +78,6 @@ function circuit(name, size, options) { .h(0).h(1).h(2).h(3) } }) - - return circuit } function main(index) { diff --git a/examples/frequency-approximate.js b/examples/frequency-approximate.js index d4b4a0d..0089405 100644 --- a/examples/frequency-approximate.js +++ b/examples/frequency-approximate.js @@ -50,7 +50,7 @@ function Circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { period: function(period) { @@ -143,6 +143,4 @@ function Circuit(name, size, options) { .swap(2, 3) } }) - - return circuit } diff --git a/examples/frequency.js b/examples/frequency.js index 4ef57b3..ec7bca4 100644 --- a/examples/frequency.js +++ b/examples/frequency.js @@ -44,7 +44,7 @@ function Circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { period: function(period) { @@ -80,6 +80,4 @@ function Circuit(name, size, options) { .swap(1, 2) } }) - - return circuit } diff --git a/examples/measure.js b/examples/measure.js index 6770e66..4173b3c 100644 --- a/examples/measure.js +++ b/examples/measure.js @@ -3,4 +3,4 @@ const logger = require('../src/logger')() // illustrate through measuring why it is necessary to run a circuit perhaps hundreds of times // to get a glimpse of the real certainty of an answer -// measuring only gives reveals the state vector combination - not probabilities \ No newline at end of file +// measuring only gives reveals the state vector combination - not probabilities diff --git a/examples/not-conditionally-toffoli-constructed.js b/examples/not-conditionally-toffoli-constructed.js index 84dc9f7..5b6af69 100644 --- a/examples/not-conditionally-toffoli-constructed.js +++ b/examples/not-conditionally-toffoli-constructed.js @@ -23,7 +23,7 @@ function circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { toffoli: function(target, controls) { @@ -38,6 +38,4 @@ function circuit(name, size, options) { .cx(controls[1], controls[0]) } }) - - return circuit } diff --git a/examples/phase-rotation.js b/examples/phase-rotation.js index e860ddd..6206e0b 100644 --- a/examples/phase-rotation.js +++ b/examples/phase-rotation.js @@ -26,7 +26,7 @@ function circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { repeat: function(value, fn) { @@ -46,6 +46,4 @@ function circuit(name, size) { return this } }) - - return circuit } diff --git a/examples/phase-spread-rz.js b/examples/phase-spread-rz.js index d8dc57f..cf8fd35 100644 --- a/examples/phase-spread-rz.js +++ b/examples/phase-spread-rz.js @@ -26,7 +26,7 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { spread: function(fn) { @@ -38,6 +38,4 @@ function Circuit(name, size) { return this } }) - - return circuit } diff --git a/examples/phase-spread-s.js b/examples/phase-spread-s.js index 85d5fdc..a0f7ac2 100644 --- a/examples/phase-spread-s.js +++ b/examples/phase-spread-s.js @@ -25,7 +25,7 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { spread: function(fn) { @@ -37,6 +37,4 @@ function Circuit(name, size) { return this } }) - - return circuit } diff --git a/examples/phase-spread-t.js b/examples/phase-spread-t.js index 9519ea4..a8d7848 100644 --- a/examples/phase-spread-t.js +++ b/examples/phase-spread-t.js @@ -26,7 +26,7 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { spread: function(fn) { @@ -38,6 +38,4 @@ function Circuit(name, size) { return this } }) - - return circuit } diff --git a/examples/phase-spread-z.js b/examples/phase-spread-z.js index e2a59c3..686ec59 100644 --- a/examples/phase-spread-z.js +++ b/examples/phase-spread-z.js @@ -26,7 +26,7 @@ function Circuit(name, size) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { spread: function(fn) { @@ -38,6 +38,4 @@ function Circuit(name, size) { return this } }) - - return circuit } diff --git a/examples/quantum-fourier-transform-inverse.js b/examples/quantum-fourier-transform-inverse.js index b9f6306..54785c3 100644 --- a/examples/quantum-fourier-transform-inverse.js +++ b/examples/quantum-fourier-transform-inverse.js @@ -37,7 +37,7 @@ function Circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { frequency: function(frequency) { @@ -90,8 +90,6 @@ function Circuit(name, size, options) { return this } }) - - return circuit } function repeat(number, fn) { diff --git a/examples/quantum-fourier-transform.js b/examples/quantum-fourier-transform.js index ca5c091..c800f76 100644 --- a/examples/quantum-fourier-transform.js +++ b/examples/quantum-fourier-transform.js @@ -53,7 +53,7 @@ function Circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { period: function(period) { @@ -168,8 +168,6 @@ function Circuit(name, size, options) { return this } }) - - return circuit } function repeat(number, fn) { diff --git a/examples/superdense.js b/examples/superdense.js index 54de33d..2bd5c78 100644 --- a/examples/superdense.js +++ b/examples/superdense.js @@ -9,7 +9,7 @@ encode(3) function encode(value) { - let circuit = Circuit('superdense: ' + value, 2) + let circuit = Circuit(`superdense value: ${value}`, 2) let alice = circuit.alice() let bob = circuit.bob() circuit.entangle(alice, bob) @@ -34,19 +34,18 @@ function Circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { alice: function() { let alice = this.unit(0) - Object.assign(alice, { + return Object.assign(alice, { encode: function(value) { let array = Bits.fromNumber(value, 2).toArray() if (array.pop()) alice.z() if (array.pop()) alice.x() } }) - return alice }, bob: function() { @@ -71,6 +70,4 @@ function Circuit(name, size, options) { return this } }) - - return circuit } diff --git a/examples/teleportation.js b/examples/teleportation.js index fe40880..bea85f6 100644 --- a/examples/teleportation.js +++ b/examples/teleportation.js @@ -31,7 +31,7 @@ function circuit(name, size, options) { order: ['targets', 'controls'] }) - Object.assign(circuit, { + return Object.assign(circuit, { state: function(state, target) { return this['state_' + state].apply(this, [target]) @@ -63,6 +63,4 @@ function circuit(name, size, options) { return this.h(from).h(0) } }) - - return circuit } diff --git a/output/amplify-two-states.txt b/output/amplify-two-states.txt index c353bf6..0616368 100644 --- a/output/amplify-two-states.txt +++ b/output/amplify-two-states.txt @@ -1,9 +1,9 @@ ----------------------------------------------------------------------------------- -Running circuit "amplify-two-states-input" +Running circuit "the input for amplifying two states" - Finished "amplify-two-states-input" + Finished "the input for amplifying two states" | > 6.2500% 0.25000000+0.00000000i ( 0.00) | x> 6.2500% 0.25000000+0.00000000i ( 0.00) @@ -24,10 +24,10 @@ Running circuit "amplify-two-states-input" ----------------------------------------------------------------------------------- -Running circuit "amplify-two-states-one-time" +Running circuit "amplify two states one time" - Finished "amplify-two-states-one-time" + Finished "amplify two states one time" | > 1.5625% -0.12500000+0.00000000i (180.00) | x> 1.5625% -0.12500000+0.00000000i (180.00) @@ -48,10 +48,10 @@ Running circuit "amplify-two-states-one-time" ----------------------------------------------------------------------------------- -Running circuit "amplify-two-states-two-times" +Running circuit "amplify two states two times" - Finished "amplify-two-states-two-times" + Finished "amplify two states two times" | > 0.3906% -0.06250000+0.00000000i (180.00) | x> 0.3906% -0.06250000+0.00000000i (180.00) diff --git a/output/phase-rz.txt b/output/phase-rz.txt index 28ac091..256a807 100644 --- a/output/phase-rz.txt +++ b/output/phase-rz.txt @@ -1,6 +1,6 @@ ----------------------------------------------------------------------------------- -Running circuit "phase-rz" +Running circuit "phase: rz" Initial state @@ -43,7 +43,7 @@ Running circuit "phase-rz" |x> 100.0000% 1.00000000+0.00000000i ( 0.00) <<< 100.0000% 0.70710678-0.70710678i (-45.00) - Finished "phase-rz" + Finished "phase: rz" |x> 100.0000% 1.00000000+0.00000000i ( 0.00) diff --git a/output/quantum-fourier-transform.txt b/output/quantum-fourier-transform.txt index e69de29..d12bab1 100644 --- a/output/quantum-fourier-transform.txt +++ b/output/quantum-fourier-transform.txt @@ -0,0 +1,782 @@ +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 2 using 4 qubits" + + + Finished "input phases for a period of 2 using 4 qubits" + + | > 6.2500% 0.25000000+0.00000000i ( 0.00) + | x> 6.2500% -0.25000000+0.00000000i (180.00) + | x > 6.2500% 0.25000000+0.00000000i ( 0.00) + | xx> 6.2500% -0.25000000+0.00000000i (180.00) + | x > 6.2500% 0.25000000+0.00000000i ( 0.00) + | x x> 6.2500% -0.25000000+0.00000000i (180.00) + | xx > 6.2500% 0.25000000+0.00000000i ( 0.00) + | xxx> 6.2500% -0.25000000+0.00000000i (180.00) + |x > 6.2500% 0.25000000+0.00000000i ( 0.00) + |x x> 6.2500% -0.25000000+0.00000000i (180.00) + |x x > 6.2500% 0.25000000+0.00000000i ( 0.00) + |x xx> 6.2500% -0.25000000+0.00000000i (180.00) + |xx > 6.2500% 0.25000000+0.00000000i ( 0.00) + |xx x> 6.2500% -0.25000000+0.00000000i (180.00) + |xxx > 6.2500% 0.25000000+0.00000000i ( 0.00) + |xxxx> 6.2500% -0.25000000+0.00000000i (180.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 2 using 4 qubits" + + + Finished "output for a period of 2 using 4 qubits" + + |x > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 8 from a period of 2 in 16. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 4 using 4 qubits" + + + Finished "input phases for a period of 4 using 4 qubits" + + | > 6.2500% 0.25000000+0.00000000i ( 0.00) + | x> 6.2500% 0.00000000+0.25000000i ( 90.00) + | x > 6.2500% -0.25000000+0.00000000i (180.00) + | xx> 6.2500% 0.00000000-0.25000000i (-90.00) + | x > 6.2500% 0.25000000+0.00000000i ( 0.00) + | x x> 6.2500% 0.00000000+0.25000000i ( 90.00) + | xx > 6.2500% -0.25000000+0.00000000i (180.00) + | xxx> 6.2500% 0.00000000-0.25000000i (-90.00) + |x > 6.2500% 0.25000000+0.00000000i ( 0.00) + |x x> 6.2500% 0.00000000+0.25000000i ( 90.00) + |x x > 6.2500% -0.25000000+0.00000000i (180.00) + |x xx> 6.2500% 0.00000000-0.25000000i (-90.00) + |xx > 6.2500% 0.25000000+0.00000000i ( 0.00) + |xx x> 6.2500% 0.00000000+0.25000000i ( 90.00) + |xxx > 6.2500% -0.25000000+0.00000000i (180.00) + |xxxx> 6.2500% 0.00000000-0.25000000i (-90.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 4 using 4 qubits" + + + Finished "output for a period of 4 using 4 qubits" + + |xx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 4 from a period of 4 in 16. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 8 using 4 qubits" + + + Finished "input phases for a period of 8 using 4 qubits" + + | > 6.2500% 0.25000000+0.00000000i ( 0.00) + | x> 6.2500% 0.17677670+0.17677670i ( 45.00) + | x > 6.2500% 0.00000000+0.25000000i ( 90.00) + | xx> 6.2500% -0.17677670+0.17677670i (135.00) + | x > 6.2500% -0.25000000+0.00000000i (180.00) + | x x> 6.2500% -0.17677670-0.17677670i (-135.00) + | xx > 6.2500% 0.00000000-0.25000000i (-90.00) + | xxx> 6.2500% 0.17677670-0.17677670i (-45.00) + |x > 6.2500% 0.25000000+0.00000000i ( 0.00) + |x x> 6.2500% 0.17677670+0.17677670i ( 45.00) + |x x > 6.2500% 0.00000000+0.25000000i ( 90.00) + |x xx> 6.2500% -0.17677670+0.17677670i (135.00) + |xx > 6.2500% -0.25000000+0.00000000i (180.00) + |xx x> 6.2500% -0.17677670-0.17677670i (-135.00) + |xxx > 6.2500% 0.00000000-0.25000000i (-90.00) + |xxxx> 6.2500% 0.17677670-0.17677670i (-45.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 8 using 4 qubits" + + + Finished "output for a period of 8 using 4 qubits" + + |xxx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 2 from a period of 8 in 16. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 2 using 5 qubits" + + + Finished "input phases for a period of 2 using 5 qubits" + + | > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x> 3.1250% -0.17677670+0.00000000i (180.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | xx> 3.1250% -0.17677670+0.00000000i (180.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x x> 3.1250% -0.17677670+0.00000000i (180.00) + | xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + | xxx> 3.1250% -0.17677670+0.00000000i (180.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x x> 3.1250% -0.17677670+0.00000000i (180.00) + | x x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x xx> 3.1250% -0.17677670+0.00000000i (180.00) + | xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + | xx x> 3.1250% -0.17677670+0.00000000i (180.00) + | xxx > 3.1250% 0.17677670+0.00000000i ( 0.00) + | xxxx> 3.1250% -0.17677670+0.00000000i (180.00) + |x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x x> 3.1250% -0.17677670+0.00000000i (180.00) + |x x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x xx> 3.1250% -0.17677670+0.00000000i (180.00) + |x x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x x x> 3.1250% -0.17677670+0.00000000i (180.00) + |x xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x xxx> 3.1250% -0.17677670+0.00000000i (180.00) + |xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xx x> 3.1250% -0.17677670+0.00000000i (180.00) + |xx x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xx xx> 3.1250% -0.17677670+0.00000000i (180.00) + |xxx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xxx x> 3.1250% -0.17677670+0.00000000i (180.00) + |xxxx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xxxxx> 3.1250% -0.17677670+0.00000000i (180.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 2 using 5 qubits" + + + Finished "output for a period of 2 using 5 qubits" + + |x > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 16 from a period of 2 in 32. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 4 using 5 qubits" + + + Finished "input phases for a period of 4 using 5 qubits" + + | > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x> 3.1250% 0.00000000+0.17677670i ( 90.00) + | x > 3.1250% -0.17677670+0.00000000i (180.00) + | xx> 3.1250% 0.00000000-0.17677670i (-90.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x x> 3.1250% 0.00000000+0.17677670i ( 90.00) + | xx > 3.1250% -0.17677670+0.00000000i (180.00) + | xxx> 3.1250% 0.00000000-0.17677670i (-90.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x x> 3.1250% 0.00000000+0.17677670i ( 90.00) + | x x > 3.1250% -0.17677670+0.00000000i (180.00) + | x xx> 3.1250% 0.00000000-0.17677670i (-90.00) + | xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + | xx x> 3.1250% 0.00000000+0.17677670i ( 90.00) + | xxx > 3.1250% -0.17677670+0.00000000i (180.00) + | xxxx> 3.1250% 0.00000000-0.17677670i (-90.00) + |x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x x> 3.1250% 0.00000000+0.17677670i ( 90.00) + |x x > 3.1250% -0.17677670+0.00000000i (180.00) + |x xx> 3.1250% 0.00000000-0.17677670i (-90.00) + |x x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x x x> 3.1250% 0.00000000+0.17677670i ( 90.00) + |x xx > 3.1250% -0.17677670+0.00000000i (180.00) + |x xxx> 3.1250% 0.00000000-0.17677670i (-90.00) + |xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xx x> 3.1250% 0.00000000+0.17677670i ( 90.00) + |xx x > 3.1250% -0.17677670+0.00000000i (180.00) + |xx xx> 3.1250% 0.00000000-0.17677670i (-90.00) + |xxx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xxx x> 3.1250% 0.00000000+0.17677670i ( 90.00) + |xxxx > 3.1250% -0.17677670+0.00000000i (180.00) + |xxxxx> 3.1250% 0.00000000-0.17677670i (-90.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 4 using 5 qubits" + + + Finished "output for a period of 4 using 5 qubits" + + |xx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 8 from a period of 4 in 32. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 8 using 5 qubits" + + + Finished "input phases for a period of 8 using 5 qubits" + + | > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x> 3.1250% 0.12500000+0.12500000i ( 45.00) + | x > 3.1250% 0.00000000+0.17677670i ( 90.00) + | xx> 3.1250% -0.12500000+0.12500000i (135.00) + | x > 3.1250% -0.17677670+0.00000000i (180.00) + | x x> 3.1250% -0.12500000-0.12500000i (-135.00) + | xx > 3.1250% 0.00000000-0.17677670i (-90.00) + | xxx> 3.1250% 0.12500000-0.12500000i (-45.00) + | x > 3.1250% 0.17677670+0.00000000i ( 0.00) + | x x> 3.1250% 0.12500000+0.12500000i ( 45.00) + | x x > 3.1250% 0.00000000+0.17677670i ( 90.00) + | x xx> 3.1250% -0.12500000+0.12500000i (135.00) + | xx > 3.1250% -0.17677670+0.00000000i (180.00) + | xx x> 3.1250% -0.12500000-0.12500000i (-135.00) + | xxx > 3.1250% 0.00000000-0.17677670i (-90.00) + | xxxx> 3.1250% 0.12500000-0.12500000i (-45.00) + |x > 3.1250% 0.17677670+0.00000000i ( 0.00) + |x x> 3.1250% 0.12500000+0.12500000i ( 45.00) + |x x > 3.1250% 0.00000000+0.17677670i ( 90.00) + |x xx> 3.1250% -0.12500000+0.12500000i (135.00) + |x x > 3.1250% -0.17677670+0.00000000i (180.00) + |x x x> 3.1250% -0.12500000-0.12500000i (-135.00) + |x xx > 3.1250% 0.00000000-0.17677670i (-90.00) + |x xxx> 3.1250% 0.12500000-0.12500000i (-45.00) + |xx > 3.1250% 0.17677670+0.00000000i ( 0.00) + |xx x> 3.1250% 0.12500000+0.12500000i ( 45.00) + |xx x > 3.1250% 0.00000000+0.17677670i ( 90.00) + |xx xx> 3.1250% -0.12500000+0.12500000i (135.00) + |xxx > 3.1250% -0.17677670+0.00000000i (180.00) + |xxx x> 3.1250% -0.12500000-0.12500000i (-135.00) + |xxxx > 3.1250% 0.00000000-0.17677670i (-90.00) + |xxxxx> 3.1250% 0.12500000-0.12500000i (-45.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 8 using 5 qubits" + + + Finished "output for a period of 8 using 5 qubits" + + |xxx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 4 from a period of 8 in 32. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 2 using 6 qubits" + + + Finished "input phases for a period of 2 using 6 qubits" + + | > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x> 1.5625% -0.12500000+0.00000000i (180.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx> 1.5625% -0.12500000+0.00000000i (180.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% -0.12500000+0.00000000i (180.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xxx> 1.5625% -0.12500000+0.00000000i (180.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% -0.12500000+0.00000000i (180.00) + | x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x xx> 1.5625% -0.12500000+0.00000000i (180.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx x> 1.5625% -0.12500000+0.00000000i (180.00) + | xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xxxx> 1.5625% -0.12500000+0.00000000i (180.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% -0.12500000+0.00000000i (180.00) + | x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x xx> 1.5625% -0.12500000+0.00000000i (180.00) + | x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x x> 1.5625% -0.12500000+0.00000000i (180.00) + | x xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x xxx> 1.5625% -0.12500000+0.00000000i (180.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx x> 1.5625% -0.12500000+0.00000000i (180.00) + | xx x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx xx> 1.5625% -0.12500000+0.00000000i (180.00) + | xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xxx x> 1.5625% -0.12500000+0.00000000i (180.00) + | xxxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xxxxx> 1.5625% -0.12500000+0.00000000i (180.00) + |x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x> 1.5625% -0.12500000+0.00000000i (180.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x xx> 1.5625% -0.12500000+0.00000000i (180.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x x> 1.5625% -0.12500000+0.00000000i (180.00) + |x xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x xxx> 1.5625% -0.12500000+0.00000000i (180.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x x> 1.5625% -0.12500000+0.00000000i (180.00) + |x x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x xx> 1.5625% -0.12500000+0.00000000i (180.00) + |x xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x xx x> 1.5625% -0.12500000+0.00000000i (180.00) + |x xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x xxxx> 1.5625% -0.12500000+0.00000000i (180.00) + |xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx x> 1.5625% -0.12500000+0.00000000i (180.00) + |xx x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx xx> 1.5625% -0.12500000+0.00000000i (180.00) + |xx x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx x x> 1.5625% -0.12500000+0.00000000i (180.00) + |xx xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx xxx> 1.5625% -0.12500000+0.00000000i (180.00) + |xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxx x> 1.5625% -0.12500000+0.00000000i (180.00) + |xxx x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxx xx> 1.5625% -0.12500000+0.00000000i (180.00) + |xxxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxxx x> 1.5625% -0.12500000+0.00000000i (180.00) + |xxxxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxxxxx> 1.5625% -0.12500000+0.00000000i (180.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 2 using 6 qubits" + + + Finished "output for a period of 2 using 6 qubits" + + |x > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 32 from a period of 2 in 64. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 4 using 6 qubits" + + + Finished "input phases for a period of 4 using 6 qubits" + + | > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | x > 1.5625% -0.12500000+0.00000000i (180.00) + | xx> 1.5625% 0.00000000-0.12500000i (-90.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | xx > 1.5625% -0.12500000+0.00000000i (180.00) + | xxx> 1.5625% 0.00000000-0.12500000i (-90.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | x x > 1.5625% -0.12500000+0.00000000i (180.00) + | x xx> 1.5625% 0.00000000-0.12500000i (-90.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | xxx > 1.5625% -0.12500000+0.00000000i (180.00) + | xxxx> 1.5625% 0.00000000-0.12500000i (-90.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | x x > 1.5625% -0.12500000+0.00000000i (180.00) + | x xx> 1.5625% 0.00000000-0.12500000i (-90.00) + | x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | x xx > 1.5625% -0.12500000+0.00000000i (180.00) + | x xxx> 1.5625% 0.00000000-0.12500000i (-90.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | xx x > 1.5625% -0.12500000+0.00000000i (180.00) + | xx xx> 1.5625% 0.00000000-0.12500000i (-90.00) + | xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xxx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + | xxxx > 1.5625% -0.12500000+0.00000000i (180.00) + | xxxxx> 1.5625% 0.00000000-0.12500000i (-90.00) + |x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |x x > 1.5625% -0.12500000+0.00000000i (180.00) + |x xx> 1.5625% 0.00000000-0.12500000i (-90.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |x xx > 1.5625% -0.12500000+0.00000000i (180.00) + |x xxx> 1.5625% 0.00000000-0.12500000i (-90.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |x x x > 1.5625% -0.12500000+0.00000000i (180.00) + |x x xx> 1.5625% 0.00000000-0.12500000i (-90.00) + |x xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x xx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |x xxx > 1.5625% -0.12500000+0.00000000i (180.00) + |x xxxx> 1.5625% 0.00000000-0.12500000i (-90.00) + |xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |xx x > 1.5625% -0.12500000+0.00000000i (180.00) + |xx xx> 1.5625% 0.00000000-0.12500000i (-90.00) + |xx x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx x x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |xx xx > 1.5625% -0.12500000+0.00000000i (180.00) + |xx xxx> 1.5625% 0.00000000-0.12500000i (-90.00) + |xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |xxx x > 1.5625% -0.12500000+0.00000000i (180.00) + |xxx xx> 1.5625% 0.00000000-0.12500000i (-90.00) + |xxxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxxx x> 1.5625% 0.00000000+0.12500000i ( 90.00) + |xxxxx > 1.5625% -0.12500000+0.00000000i (180.00) + |xxxxxx> 1.5625% 0.00000000-0.12500000i (-90.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 4 using 6 qubits" + + + Finished "output for a period of 4 using 6 qubits" + + |xx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 16 from a period of 4 in 64. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 8 using 6 qubits" + + + Finished "input phases for a period of 8 using 6 qubits" + + | > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x> 1.5625% 0.08838835+0.08838835i ( 45.00) + | x > 1.5625% 0.00000000+0.12500000i ( 90.00) + | xx> 1.5625% -0.08838835+0.08838835i (135.00) + | x > 1.5625% -0.12500000+0.00000000i (180.00) + | x x> 1.5625% -0.08838835-0.08838835i (-135.00) + | xx > 1.5625% 0.00000000-0.12500000i (-90.00) + | xxx> 1.5625% 0.08838835-0.08838835i (-45.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% 0.08838835+0.08838835i ( 45.00) + | x x > 1.5625% 0.00000000+0.12500000i ( 90.00) + | x xx> 1.5625% -0.08838835+0.08838835i (135.00) + | xx > 1.5625% -0.12500000+0.00000000i (180.00) + | xx x> 1.5625% -0.08838835-0.08838835i (-135.00) + | xxx > 1.5625% 0.00000000-0.12500000i (-90.00) + | xxxx> 1.5625% 0.08838835-0.08838835i (-45.00) + | x > 1.5625% 0.12500000+0.00000000i ( 0.00) + | x x> 1.5625% 0.08838835+0.08838835i ( 45.00) + | x x > 1.5625% 0.00000000+0.12500000i ( 90.00) + | x xx> 1.5625% -0.08838835+0.08838835i (135.00) + | x x > 1.5625% -0.12500000+0.00000000i (180.00) + | x x x> 1.5625% -0.08838835-0.08838835i (-135.00) + | x xx > 1.5625% 0.00000000-0.12500000i (-90.00) + | x xxx> 1.5625% 0.08838835-0.08838835i (-45.00) + | xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + | xx x> 1.5625% 0.08838835+0.08838835i ( 45.00) + | xx x > 1.5625% 0.00000000+0.12500000i ( 90.00) + | xx xx> 1.5625% -0.08838835+0.08838835i (135.00) + | xxx > 1.5625% -0.12500000+0.00000000i (180.00) + | xxx x> 1.5625% -0.08838835-0.08838835i (-135.00) + | xxxx > 1.5625% 0.00000000-0.12500000i (-90.00) + | xxxxx> 1.5625% 0.08838835-0.08838835i (-45.00) + |x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x> 1.5625% 0.08838835+0.08838835i ( 45.00) + |x x > 1.5625% 0.00000000+0.12500000i ( 90.00) + |x xx> 1.5625% -0.08838835+0.08838835i (135.00) + |x x > 1.5625% -0.12500000+0.00000000i (180.00) + |x x x> 1.5625% -0.08838835-0.08838835i (-135.00) + |x xx > 1.5625% 0.00000000-0.12500000i (-90.00) + |x xxx> 1.5625% 0.08838835-0.08838835i (-45.00) + |x x > 1.5625% 0.12500000+0.00000000i ( 0.00) + |x x x> 1.5625% 0.08838835+0.08838835i ( 45.00) + |x x x > 1.5625% 0.00000000+0.12500000i ( 90.00) + |x x xx> 1.5625% -0.08838835+0.08838835i (135.00) + |x xx > 1.5625% -0.12500000+0.00000000i (180.00) + |x xx x> 1.5625% -0.08838835-0.08838835i (-135.00) + |x xxx > 1.5625% 0.00000000-0.12500000i (-90.00) + |x xxxx> 1.5625% 0.08838835-0.08838835i (-45.00) + |xx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xx x> 1.5625% 0.08838835+0.08838835i ( 45.00) + |xx x > 1.5625% 0.00000000+0.12500000i ( 90.00) + |xx xx> 1.5625% -0.08838835+0.08838835i (135.00) + |xx x > 1.5625% -0.12500000+0.00000000i (180.00) + |xx x x> 1.5625% -0.08838835-0.08838835i (-135.00) + |xx xx > 1.5625% 0.00000000-0.12500000i (-90.00) + |xx xxx> 1.5625% 0.08838835-0.08838835i (-45.00) + |xxx > 1.5625% 0.12500000+0.00000000i ( 0.00) + |xxx x> 1.5625% 0.08838835+0.08838835i ( 45.00) + |xxx x > 1.5625% 0.00000000+0.12500000i ( 90.00) + |xxx xx> 1.5625% -0.08838835+0.08838835i (135.00) + |xxxx > 1.5625% -0.12500000+0.00000000i (180.00) + |xxxx x> 1.5625% -0.08838835-0.08838835i (-135.00) + |xxxxx > 1.5625% 0.00000000-0.12500000i (-90.00) + |xxxxxx> 1.5625% 0.08838835-0.08838835i (-45.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 8 using 6 qubits" + + + Finished "output for a period of 8 using 6 qubits" + + |xxx > 100.0000% 1.00000000+0.00000000i ( 0.00) + +The frequency is 8 from a period of 8 in 64. + +----------------------------------------------------------------------------------- + +Running circuit "input phases for a period of 4 using 8 qubits" + + + Finished "input phases for a period of 4 using 8 qubits" + + | > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x > 0.3906% -0.06250000+0.00000000i (180.00) + | xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxxx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xxx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx xx > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxxxx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xxx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x x > 0.3906% -0.06250000+0.00000000i (180.00) + | x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x x xx > 0.3906% -0.06250000+0.00000000i (180.00) + | x x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xx x > 0.3906% -0.06250000+0.00000000i (180.00) + | x xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | x xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | x xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | x xxxx > 0.3906% -0.06250000+0.00000000i (180.00) + | x xxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx xx > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx x x > 0.3906% -0.06250000+0.00000000i (180.00) + | xx x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xx xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xx xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xx xxx > 0.3906% -0.06250000+0.00000000i (180.00) + | xx xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxx xx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxxx x > 0.3906% -0.06250000+0.00000000i (180.00) + | xxxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + | xxxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + | xxxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + | xxxxxx > 0.3906% -0.06250000+0.00000000i (180.00) + | xxxxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x > 0.3906% -0.06250000+0.00000000i (180.00) + |x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xx > 0.3906% -0.06250000+0.00000000i (180.00) + |x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x x > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xxx > 0.3906% -0.06250000+0.00000000i (180.00) + |x xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x x > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x xx > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xx x > 0.3906% -0.06250000+0.00000000i (180.00) + |x xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xxxx > 0.3906% -0.06250000+0.00000000i (180.00) + |x xxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x x > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x xx > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x x x > 0.3906% -0.06250000+0.00000000i (180.00) + |x x x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x x xxx > 0.3906% -0.06250000+0.00000000i (180.00) + |x x xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xx x > 0.3906% -0.06250000+0.00000000i (180.00) + |x xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xx xx > 0.3906% -0.06250000+0.00000000i (180.00) + |x xx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xxx x > 0.3906% -0.06250000+0.00000000i (180.00) + |x xxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |x xxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |x xxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |x xxxxx > 0.3906% -0.06250000+0.00000000i (180.00) + |x xxxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx x > 0.3906% -0.06250000+0.00000000i (180.00) + |xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx xx > 0.3906% -0.06250000+0.00000000i (180.00) + |xx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx x x > 0.3906% -0.06250000+0.00000000i (180.00) + |xx x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx xxx > 0.3906% -0.06250000+0.00000000i (180.00) + |xx xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx x x > 0.3906% -0.06250000+0.00000000i (180.00) + |xx x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx x x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx x x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx x xx > 0.3906% -0.06250000+0.00000000i (180.00) + |xx x xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx xx x > 0.3906% -0.06250000+0.00000000i (180.00) + |xx xx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xx xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xx xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xx xxxx > 0.3906% -0.06250000+0.00000000i (180.00) + |xx xxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxx x > 0.3906% -0.06250000+0.00000000i (180.00) + |xxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxx xx > 0.3906% -0.06250000+0.00000000i (180.00) + |xxx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxx x x > 0.3906% -0.06250000+0.00000000i (180.00) + |xxx x xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxx xx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxx xx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxx xxx > 0.3906% -0.06250000+0.00000000i (180.00) + |xxx xxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxxx x > 0.3906% -0.06250000+0.00000000i (180.00) + |xxxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxxx x > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxxx x x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxxx xx > 0.3906% -0.06250000+0.00000000i (180.00) + |xxxx xxx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxxxx x > 0.3906% -0.06250000+0.00000000i (180.00) + |xxxxx xx> 0.3906% 0.00000000-0.06250000i (-90.00) + |xxxxxx > 0.3906% 0.06250000+0.00000000i ( 0.00) + |xxxxxx x> 0.3906% 0.00000000+0.06250000i ( 90.00) + |xxxxxxx > 0.3906% -0.06250000+0.00000000i (180.00) + |xxxxxxxx> 0.3906% 0.00000000-0.06250000i (-90.00) + +----------------------------------------------------------------------------------- + +Running circuit "output for a period of 4 using 8 qubits" + + + Finished "output for a period of 4 using 8 qubits" + + |xx > 100.0000% 1.00000000+0.00000000i ( -0.00) + +The frequency is 64 from a period of 4 in 256. + diff --git a/output/superdense.txt b/output/superdense.txt index 25eea54..c60cade 100644 --- a/output/superdense.txt +++ b/output/superdense.txt @@ -1,9 +1,9 @@ ----------------------------------------------------------------------------------- -Running circuit "superdense: 0" +Running circuit "superdense value: 0" - Finished "superdense: 0" + Finished "superdense value: 0" | > 100.0000% 1.00000000+0.00000000i ( 0.00) @@ -12,10 +12,10 @@ The value decoded from Alice and Bob together is 0. ----------------------------------------------------------------------------------- -Running circuit "superdense: 1" +Running circuit "superdense value: 1" - Finished "superdense: 1" + Finished "superdense value: 1" | x> 100.0000% 1.00000000+0.00000000i ( 0.00) @@ -24,10 +24,10 @@ The value decoded from Alice and Bob together is 1. ----------------------------------------------------------------------------------- -Running circuit "superdense: 2" +Running circuit "superdense value: 2" - Finished "superdense: 2" + Finished "superdense value: 2" |x > 100.0000% 1.00000000+0.00000000i ( 0.00) @@ -36,10 +36,10 @@ The value decoded from Alice and Bob together is 2. ----------------------------------------------------------------------------------- -Running circuit "superdense: 3" +Running circuit "superdense value: 3" - Finished "superdense: 3" + Finished "superdense value: 3" |xx> 100.0000% -1.00000000+0.00000000i (180.00)