OpenQubit version NewSpin, Copyright (C) 1999 OpenQubit.org
The OpenQubit library comes with ABSOLUTELY NO WARRANTY; for details
read COPYING. This is free software, and you are welcome to redistribute
it under certain conditions. Please see the file COPYING for details.

Enter number to factor: Enter number from 1..14: Allocating 8 bits and _nUsed is 0 and _nQubits is 12.
Register Init. Offset: 0 Numbits: 8.
Allocating 4 bits and _nUsed is 8 and _nQubits is 12.
Register Init. Offset: 8 Numbits: 4.
Preparing equal superposition in first register.
Modular exponentiation.
Measure of second register.
Measuring from 8 to 11.
Got probabilities...p0=0.500, p1=0.500
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010005329897922
norm(*this) - ROUND_ERR = 0.9999999999990004662109300
p0+p1 should be between those and it is 1.0000000000
Set bit state to 1
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010005329897922
norm(*this) - ROUND_ERR = 0.9999999999990004662109300
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010005329897922
norm(*this) - ROUND_ERR = 0.9999999999990004662109300
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010005329897922
norm(*this) - ROUND_ERR = 0.9999999999990004662109300
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Second register is 1.
Fourier transformation of first register.
H(7)Mask given: 64
Remasked with offset 0: 64
Controlling: 64 	 Controlled: 128
In common: 0
S(6,7)H(6)Mask given: 32
Remasked with offset 0: 32
Controlling: 32 	 Controlled: 128
In common: 0
S(5,7)Mask given: 32
Remasked with offset 0: 32
Controlling: 32 	 Controlled: 64
In common: 0
S(5,6)H(5)Mask given: 16
Remasked with offset 0: 16
Controlling: 16 	 Controlled: 128
In common: 0
S(4,7)Mask given: 16
Remasked with offset 0: 16
Controlling: 16 	 Controlled: 64
In common: 0
S(4,6)Mask given: 16
Remasked with offset 0: 16
Controlling: 16 	 Controlled: 32
In common: 0
S(4,5)H(4)Mask given: 8
Remasked with offset 0: 8
Controlling: 8 	 Controlled: 128
In common: 0
S(3,7)Mask given: 8
Remasked with offset 0: 8
Controlling: 8 	 Controlled: 64
In common: 0
S(3,6)Mask given: 8
Remasked with offset 0: 8
Controlling: 8 	 Controlled: 32
In common: 0
S(3,5)Mask given: 8
Remasked with offset 0: 8
Controlling: 8 	 Controlled: 16
In common: 0
S(3,4)H(3)Mask given: 4
Remasked with offset 0: 4
Controlling: 4 	 Controlled: 128
In common: 0
S(2,7)Mask given: 4
Remasked with offset 0: 4
Controlling: 4 	 Controlled: 64
In common: 0
S(2,6)Mask given: 4
Remasked with offset 0: 4
Controlling: 4 	 Controlled: 32
In common: 0
S(2,5)Mask given: 4
Remasked with offset 0: 4
Controlling: 4 	 Controlled: 16
In common: 0
S(2,4)Mask given: 4
Remasked with offset 0: 4
Controlling: 4 	 Controlled: 8
In common: 0
S(2,3)H(2)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 128
In common: 0
S(1,7)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 64
In common: 0
S(1,6)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 32
In common: 0
S(1,5)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 16
In common: 0
S(1,4)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 8
In common: 0
S(1,3)Mask given: 2
Remasked with offset 0: 2
Controlling: 2 	 Controlled: 4
In common: 0
S(1,2)H(1)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 128
In common: 0
S(0,7)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 64
In common: 0
S(0,6)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 32
In common: 0
S(0,5)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 16
In common: 0
S(0,4)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 8
In common: 0
S(0,3)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 4
In common: 0
S(0,2)Mask given: 1
Remasked with offset 0: 1
Controlling: 1 	 Controlled: 2
In common: 0
S(0,1)H(0)Measuring from 0 to 7.
Got probabilities...p0=0.500, p1=0.500
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010005329897922
norm(*this) - ROUND_ERR = 0.9999999999990004662109300
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Got probabilities...p0=1.000, p1=0.000
Sum of probabilities: 1.00000; Normalized amplitudes: 1.00000
Normalized Sum + ROUND_ERR = 1.0000000000010000889005823
norm(*this) - ROUND_ERR = 0.9999999999990000221217201
p0+p1 should be between those and it is 1.0000000000
Set bit state to 0
Measurement of first register: 0
Period guess is: 0
Incorrect period guess.
Try again with different starting number.
