Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QM + Dual-Complex Numbers

Read the paper (WIP)

git clone https://github.com/Bagoult/dual-quantum.git
make
open Paper/main.pdf

Play with the Sage file

mamba activate sage
sage

Once inside of sage, type

load("dual_comp.sage")

Then you can play around

Psi = np.array([1 + 2 * ϵ, 1 - ϵ, 1 - ϵ])
ψ = Psi / norm(Psi)
one, two, three = (np.eye(1, 3, i) for i in range(3))
A = outer(one, one)
B = outer(two, two) + outer(three, three)
M1 = A + ϵ * B
M2 = B + ϵ * A

# M1, M2 is a valid measurement operators collection
assert np.all(completeness(M1, M2) - np.identity(3) == 0)

p1 = measure_prob(M1, ψ)
p2 = measure_prob(M2, ψ)
ψ_1 = M1 @ ψ
ψ_2 = M2 @ ψ

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages