quisp icon indicating copy to clipboard operation
quisp copied to clipboard

Separate Actions into several basis actions

Open Chibikuri opened this issue 2 years ago • 1 comments

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.

Chibikuri avatar Aug 25 '22 05:08 Chibikuri

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?

Chibikuri avatar Aug 25 '22 05:08 Chibikuri