|
|
|
|
|
by ivanbakel
2426 days ago
|
|
`assert_eq(A == B, true)`? `assert_eq(A, B)`, or even `assert(A == B)` by all means. And this does not really explain what a `Ket` is, rather unfortunately. I now know it's a pair of complex numbers, but that's not very handy - and the `is_valid` definition is not explained, so I don't even get told what subset of pairs of complex numbers make up valid kets without reading code. |
|
You're right, I need to add a better explanation for what a ket is. Same applies to the validity, should explain a bit about normalization.
Thanks for the feedback!