News for hackers. Stuff that matters.
Re:What is a ket? How do traits work? Quantum computing in R... by sampo on Monday October 28, 2019 @03:08PM (#21380399)
> In quantum computation, a ket is a vector in a Hilbert space

The blog implements kets as 2-dimensional complex vectors, so I don't see any problem there. A 2-dimensional space is a Hilbert space.

Re:What is a ket? How do traits work? Quantum computing in R... by reikonomusha on Monday October 28, 2019 @04:14PM (#21381125)
It’s woefully under-representing what a ket can be, and the data structure isn’t amenable to extension to a broader set of states. A one qubit state lives in a Hilbert space just as a one element list is still a list.