Skip to content

Backends - #16

Draft
alecandido wants to merge 28 commits into
mainfrom
backends
Draft

Backends#16
alecandido wants to merge 28 commits into
mainfrom
backends

Conversation

@alecandido

Copy link
Copy Markdown
Member

Far far from completion...

@alecandido alecandido mentioned this pull request Apr 19, 2024
13 tasks
@alecandido

alecandido commented Apr 19, 2024

Copy link
Copy Markdown
Member Author

Despite a few complications, the TCP client-server pair is ready.

Now, hooks should be added, such that it can be used to execute circuits and retrieve the results:

  • on the client side, the execute method should actually take a circuit (for the time being, not an initial state or anything else, to keep it simple) and return a state
  • on the server side, an external function/struct should be able to hook into the listener, and handle execution requests

This last mechanism will be exposed in the Python API as well, and on top of that it should be pretty simple to construct the NumPy backend (only executing circuits, not any other manipulation, for the time being).

As in #6 the goal was to represent a QFT, now the aim is to execute it, and return the state vector (with a roundtrip Python script - qibo-core - Python backend).
More features in further PRs.

Comment thread examples/backend/main.rs
Base automatically changed from reboot to main June 13, 2024 18:16
Essentially, it will mainly consist of two parts: the objects serialization and the commands handling - only the first will be managed by qibo-core, while the second will be handed over to the backend implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants