Simplify quantum circuit initialisation logic without the use of event listeners and proxies. Proposed by issue #112.
Changes
Remove the use of quantumCircuit object and quantumCircuitConfig object in state manager. Send an explicit boolean message shouldInitCircuit to the last output of the quantum circuit node to initialise quantum circuit.
validateRegisterStrucutre in errors.js can be removed.
Purpose
Simplify quantum circuit initialisation logic without the use of event listeners and proxies. Proposed by issue #112.
Changes
Remove the use of
quantumCircuit
object andquantumCircuitConfig
object in state manager. Send an explicit boolean messageshouldInitCircuit
to the last output of the quantum circuit node to initialise quantum circuit.validateRegisterStrucutre
inerrors.js
can be removed.