Skip to content
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

Add optional memory_map parameter to QuantumComputer.run #657

Merged
merged 3 commits into from
Nov 5, 2018

Conversation

karalekas
Copy link
Contributor

closes #656

@karalekas karalekas added this to the v2.1.0 milestone Nov 4, 2018
@karalekas karalekas requested a review from mpharrigan November 4, 2018 01:13
Copy link
Contributor

@lcapelluto lcapelluto left a comment

Choose a reason for hiding this comment

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

awesome! I'll update my PR about parametric compilation, too

@mpharrigan
Copy link
Contributor

I'll update my PR about parametric compilation

This PR will only be included in pyquil 2.1 (estimated release date ~Nov30) whereas all of the docs fixes will be released as 2.0.1 shortly; so can you keep them separate for now?

if memory_map:
for region_name, values_list in memory_map.items():
for offset, value in enumerate(values_list):
# TODO (karalekas): have write_memory take a list rather than value + offset
Copy link
Contributor

Choose a reason for hiding this comment

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

open an issue and link here?

Copy link
Contributor

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

minor comment

@lcapelluto
Copy link
Contributor

@mpharrigan oh no, the docs are already merged :(

@karalekas karalekas merged commit a736f83 into master Nov 5, 2018
@karalekas karalekas deleted the run-memory-map branch November 5, 2018 22:54
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.

Writing memory should be possible from the QuantumComputer's top-level methods
4 participants