Skip to content

IQM reset operation not working #4658

@zohimchandani

Description

@zohimchandani

Required prerequisites

  • Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
  • Make sure you've read the documentation. Your issue may be addressed there.
  • Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
  • If possible, make a PR with a failing test to give us a starting point to work on!

Describe the bug

reset operation is not being passed properly between CUDA-Q and IQM

Steps to reproduce the bug

if stim is changed to iqm hardware in this tutorial above, we get the following error:

"error: 'quake.reset' op unable to translate op to IQM Json quake.reset" coming from the line "dem = qec.z_dem_from_memory_circuit(surface_code, statePrep, nRounds)"

side note: the simulation uses a noise model which we believe is automatically removed when executed on hardware

Expected behavior

NA

Is this a regression? If it is, put the last known working version (or commit) here.

Not a regression

Environment

  • CUDA-Q version: latest
  • Python version:
  • C++ compiler:
  • Operating system:

Suggestions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions