Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Update Advanced Estimation RE notebook to use azure_quantum API #819

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

msoeken
Copy link
Member

@msoeken msoeken commented Aug 18, 2023

The azure_quantum API is recommended to use over the IQ# API, since it is general for all input. In this PR, we change the advanced estimation notebook to use this API.

@msoeken msoeken requested a review from katymccl August 18, 2023 13:50
"items = [{\"arguments\": [{\"name\": \"bitwidth\", \"value\": bitwidth, \"type\": \"Int\"}], **params} for (_, params) in target_params for bitwidth in bitwidths]\n",
"params = estimator.make_params(num_items=len(bitwidths) * len(target_params))\n",
"\n",
"for idx, (_, target_param) in enumerate(target_params):\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: change to index or i

Copy link
Contributor

Choose a reason for hiding this comment

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

change to i and j

@msoeken msoeken enabled auto-merge (squash) August 24, 2023 08:52
@msoeken msoeken merged commit 1869974 into main Aug 24, 2023
12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants