artiste-qb-net / qubiter

Python tools for reading, writing, compiling, simulating quantum computer circuits. Includes numpy and tensorflow backends. “Quantum Space, the final frontier. These are the voyages of the starship Qubiter. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.”
Other
120 stars 31 forks source link

Fix error to get descomposition #18

Open joseplz opened 5 years ago

rrtucci commented 5 years ago

Wat is the error joseplz?

rrtucci commented 5 years ago

Oh, sorry, I misunderstood. You mean, fix a parameter epsilon so that norm(u - approx_u) < epsilon. I haven't thought about it, but now that you mention it, it is a very natural request. I am ashamed I didn't do it to begin with.

rrtucci commented 5 years ago

It is a very good request, but will take a lot of time and work. I promise to do it someday...

rrtucci commented 5 years ago

I always use the Frobenius norm, but I am not very sophisticated about norms

rrtucci commented 5 years ago

The multiplexors decompose exactly into a huge number of gates but they can be approximated. I have included software to do a possible approximation of them. But it requires ancillary qubits

rrtucci commented 5 years ago

I think multiplexors and their approximation will be important in quantum AI