Skip to content

MapForwardSimulator does not fail gracefully when known to have to no free parameters #604

@nkoskelo

Description

@nkoskelo
import pygsti
from pygsti.modelpacks import smq1Q_XY
from pygsti.circuits import Circuit
from pygsti.baseobjs import Label
test_model = smq1Q_XY.target_model('static')
test_circuit = Circuit([Label('Gxpi2',0)], line_labels=(0,))
test_model.sim.bulk_dprobs([test_circuit])

The above yields an Array access out-of-bounds error but does not explain that it is expected to fail.

  • pyGSTi version [v0.9.13.1]
  • python version [3.11]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions