Closed 28Smiles closed 2 years ago
If used with a bundler the stateAsArray function throws an ReferenceError. Simple workaround is to insert a var to limit the scope. Is this on purpose?
ReferenceError
var
https://github.com/quantastica/quantum-circuit/blob/0a84e31d6b6c1e058e9e28741e156b813e486693/lib/quantum-circuit.js#L12440
Fixed. @28Smiles thank you for bug report.
If used with a bundler the stateAsArray function throws an
ReferenceError
. Simple workaround is to insert avar
to limit the scope. Is this on purpose?https://github.com/quantastica/quantum-circuit/blob/0a84e31d6b6c1e058e9e28741e156b813e486693/lib/quantum-circuit.js#L12440