MarcSerraPeralta / surface-sim

Repository for simulations of surface code experiments
MIT License
0 stars 1 forks source link

Solve `Model` issues with LSP #43

Closed MarcSerraPeralta closed 1 month ago

MarcSerraPeralta commented 1 month ago

If Model is specified as typing for the circuit blocks, then the following warnings are raised by the LSP:

image

One possible solution is to add all the methods and make then raise an NotImplementedError (but with the correct typing information (see ref).