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

Serialization Issue w/ Processor Spec Nonstd_Instruments #467

Open
pcwysoc opened this issue Jul 16, 2024 · 1 comment
Open

Serialization Issue w/ Processor Spec Nonstd_Instruments #467

pcwysoc opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
bug A bug or regression

Comments

@pcwysoc
Copy link

pcwysoc commented Jul 16, 2024

Describe the bug
An issue with the serialization of 'nonstd_instruments' in processerspec.py that causes ProtocolData with experiment designs generated from a processor spec to not write.

To Reproduce
Steps to reproduce the behavior:

  1. Create a processor spec
  2. Create a target model from the processor spec
  3. Add the quantum instrument to the target model
    target_model[('Iz', 0)] = pygsti.modelmembers.instruments.Instrument({'p0': Q0 'p1': Q1})
  4. Generate an experiment design from the target model
  5. Generate data
  6. Create a ProtocolData & attempt to save:
Screenshot 2024-07-16 at 3 48 13 PM

Expected behavior
The serialization should work correctly, allowing me to save ProtocolData with experiment designs generated from a processor spec to not write.

Environment (please complete the following information):

  • pyGSTi version feature-qiskit-mcm
  • python version 3.10
@pcwysoc pcwysoc added the bug A bug or regression label Jul 16, 2024
@pcwysoc
Copy link
Author

pcwysoc commented Jul 16, 2024

@coreyostrove I sent you over the notebook where I ran into issues over email (with the same name as this issue) because it relates to an active collaboration. I'll update this thread if I get a chance to get a chance to write a stripped down version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants