Adding the FlowBuilder class, which is intended to make the creation of flows for unit tests easier and more readable. Currently this only works with quantum nodes and not inbuilt ones, which I can add in the future.
I've added an explanation of the usage example in the comments of this PR.
PR #82 needs to be merged before this PR, otherwise the additions here won't work due to quantum-circuit.js not loading.
Changes
Add lastCommand property to PythonShell (beedc0e6ca9faee9b5965f6f80f15fb30c606817).
Add load tests for nodes Bloch Sphere, Circuit Diagram, and Controlled-U-Gate (6116a50e81692a914c8566523b833f3f79cb7340).
Purpose
Adding the
FlowBuilder
class, which is intended to make the creation of flows for unit tests easier and more readable. Currently this only works with quantum nodes and not inbuilt ones, which I can add in the future.I've added an explanation of the usage example in the comments of this PR.
PR #82 needs to be merged before this PR, otherwise the additions here won't work due to
quantum-circuit.js
not loading.Changes
lastCommand
property to PythonShell (beedc0e6ca9faee9b5965f6f80f15fb30c606817).FlowBuilder
(18c89ed2c37eceddfc9a2e4d5b324655c3e09c61 & 54212936b6f3713021ffe4ee49d605e5bbea9d55).FlowBuilder
usage (18c89ed2c37eceddfc9a2e4d5b324655c3e09c61 & 8b7cb726ae0702bf1ff4c02b2eb80c93b4b39cae).PythonShell
test checking for undefined instead of null (00f61a09cfad53b7d9026fd84c530f61de100ccb).