The Quantum IO Monad, implemented in Haskell
alexandersgreen / qio-haskell Goto Github PK
View Code? Open in Web Editor NEWThe Quantum IO Monad, implemented in Haskell
License: BSD 2-Clause "Simplified" License
The Quantum IO Monad, implemented in Haskell
License: BSD 2-Clause "Simplified" License
Hello,
First, thank you for this great library. I'm trying to learn how to use it, so maybe my question is not relevant, but I can't find any way to get the full description of a set of qubits. Even if it's not physically possible, it would be really useful in my case to check that my gates are indeed doing what they are supposed to do, and also to get some intuitions on the result of some functions. I tried to do things like runC qPlus
but the result is not really usefull:
[((Qbit:0),1.0)]
I would expect something like (up to formatting of course):
1/sqrt(2)(|0> + |1>)
Did I miss something? And also if you have a way to create a new set of qubit without a need to find the good unitary, in order to produce a state like 1/sqrt(3)(|001> + |011> + |110>))
that would be great.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.