Describe the bug
According to the docs and tutorials, I should be able to create a model with an affine/active error generator in the lindblad_error_coeffs argument as follows:
import pygsti
pspec = pygsti.processors.QubitProcessorSpec(
num_qubits=1,
gate_names=['Gi']
)
model=pygsti.models.create_crosstalk_free_model(
pspec,
lindblad_error_coeffs={
'Gi': {('A', 'X', 'Y'): 0.1}
}
) ## results in ValueError
Attempting this results in a ValueError raised in LindbladErrorgen.__init__ apparently due to concatenation of arrays with different dimensions.
Expected behavior
The above code should construct a model with the included affine/active error processes.
Environment:
- pyGSTi version 0.9.13.3
- python version 3.12.3