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

Submitting QIR jobs ignores number of shots parameter #405

Open
crazy4pi314 opened this issue Nov 30, 2022 · 0 comments
Open

Submitting QIR jobs ignores number of shots parameter #405

crazy4pi314 opened this issue Nov 30, 2022 · 0 comments

Comments

@crazy4pi314
Copy link

crazy4pi314 commented Nov 30, 2022

If you need to submit a QIR program, the only way I found was the snippet below via the from_input_data.

azure.quantum.Job.from_input_data(
    workspace=workspace,
    name="qir-demo",
    provider_id="rigetti",
    target="rigetti.sim.qvm",
    input_data_format="qir.v1",
    output_data_format="microsoft.quantum-results.v1",
    input_data=bitcode,
    input_params={
        "shots": 100,
        "entryPoint": "main",
        "arguments": []
    }
)

No matter what I changed the shots value to for the input_params, it only returned the job results having done one shot. Not sure, but #302 might be related?

Full demo: https://github.com/crazy4pi314/universe-qir-demo/blob/main/demo.ipynb

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

No branches or pull requests

1 participant