Hi all,
Recently, I've been getting into quantum computing. To help my understanding, I started writing stuff in J, to get a better hang of what is going on. J fit the bill precisely, as quantum computing is mostly manipulations of complex matrices. As usual, things got a bit out of hand, and it grew into something I think could be useful to others exploring quantum computing as well, keeping in mind it is a bit of a work in progress, and things might be changed around later on.
You can install it straight from Github using install'github:jpjacobs/general_qcj' on any current J, including the
J playground.
The file '~addons/general/qcj/examples.ijs' contains some examples, from simple single state manipulations and visualisation, to quantum teleportation.
It also comes with a help function 'fh' for find help (try e.g. fh ' fh ')
All comments, ideas etc are welcome.
Best regards,
Jan-Pieter