jsqubits icon indicating copy to clipboard operation
jsqubits copied to clipboard

Document QState.each()

Open davidbkemp opened this issue 13 years ago • 1 comments

QState.each() is likely to be useful to anyone wanting to add new operators and should be documented.

davidbkemp avatar Nov 25 '12 10:11 davidbkemp

The each() method needs improvement. The StateWithAmplitude class is not only badly named, but also confusing. Probably shouldn't expose the index field as it cannot be used as a parameter to the argument() method.

davidbkemp avatar Oct 17 '13 03:10 davidbkemp