Skip to content

[cirqflow] Quantum runtime skeleton #4556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from

Conversation

mpharrigan
Copy link
Collaborator

Skeleton of ExecutableGroupResult (note: name has changed since I last posted this diagram) and its members.

RequestResponse2 (2)

Most of these dataclasses only have barebones attributes which may beg the question: "why do we need a class for this?". Rest assured: I have big plans for adding more attributes to things.

Similarly, the execute function is a wrapper around a for loop in this PR. That will likely change as the framework learns more runtime features like a Batcher or Parallelizer.

@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Oct 7, 2021
@CirqBot CirqBot added the size: L 250< lines changed <1000 label Oct 7, 2021
import cirq.work


class AbstractEngineProcessorShim(metaclass=abc.ABCMeta):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dstrain115

  1. Depending on your timeframe and the timeframe for this PR, I propose including this shim for now
  2. This shim should inform your design of AbstractEngineProcessor :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dstrain115 thoughts?

CirqBot pushed a commit that referenced this pull request Oct 12, 2021
Skeleton of the constituent parts of `ExecutableGroupResult`

![RequestResponse2 (2)](https://user-images.githubusercontent.com/4967059/136300308-21dd2034-01f7-49a3-84a7-0b0d32928918.png)

Most of these dataclasses only have barebones attributes which may beg the question: "why do we need a class for this?". Rest assured: I have big plans for adding more attributes to things.

This is the first part; splitting up #4556
CirqBot pushed a commit that referenced this pull request Oct 18, 2021
Skeleton of the rest of `ExecutableGroupResult`

![RequestResponse2 (2)](https://user-images.githubusercontent.com/4967059/136300308-21dd2034-01f7-49a3-84a7-0b0d32928918.png)

Most of these dataclasses only have barebones attributes which may beg the question: "why do we need a class for this?". Rest assured: I have big plans for adding more attributes to things.

This follow #4565 ; splitting up #4556
@mpharrigan
Copy link
Collaborator Author

split up into #4565 #4566 #4584 which have been merged

@mpharrigan mpharrigan closed this Oct 26, 2021
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Skeleton of the constituent parts of `ExecutableGroupResult`

![RequestResponse2 (2)](https://user-images.githubusercontent.com/4967059/136300308-21dd2034-01f7-49a3-84a7-0b0d32928918.png)

Most of these dataclasses only have barebones attributes which may beg the question: "why do we need a class for this?". Rest assured: I have big plans for adding more attributes to things.

This is the first part; splitting up quantumlib#4556
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Skeleton of the rest of `ExecutableGroupResult`

![RequestResponse2 (2)](https://user-images.githubusercontent.com/4967059/136300308-21dd2034-01f7-49a3-84a7-0b0d32928918.png)

Most of these dataclasses only have barebones attributes which may beg the question: "why do we need a class for this?". Rest assured: I have big plans for adding more attributes to things.

This follow quantumlib#4565 ; splitting up quantumlib#4556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow cla: yes Makes googlebot stop complaining. size: L 250< lines changed <1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants