Skip to content

Submitting QIR jobs ignores number of shots parameter #405

@crazy4pi314

Description

@crazy4pi314

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions