quisp
quisp copied to clipboard
Separate Actions into several basis actions
Is your feature request related to a problem? Please describe. All actions should be composed of several atomic actions so that user can combine several actions into single set of actions. This will also allows developer to make a new actions easily.
Describe the solution you'd like Make one single action into several atomic base actions.
Possible base action candidates. Resource Preparations (This might be out of scope in the actions)
- assign() ... assign single qubit to a variable
- validate() ... resource validation in GOD layer.
Quantum Operations
- gate() ...apply quantum gate to a qubit
- measure() ... do measurement in some basis
Messaging
- send() ... send message to proper partner
Post processing
- free() ... free trash qubits
- name() ... provide a new name to the resource
- update() ... update some properties if it needs
Others?