Documentation probably not up to date

There might be a problem with perceval documentation : in the usage/circuit section the following code is returning an error :

backend = pcvl.BackendFactory().get_backend()
simulator = backend(c)

error :

TypeError Traceback (most recent call last)
Cell In[25], line 2
1 backend = pcvl.BackendFactory().get_backend()
----> 2 simulator = backend(c)

TypeError: ‘SLOSBackend’ object is not callable

Error that seems to be coherent with what I observed in the source code. So I think this part of the documentation might not be up to date.

Hi Felix,

Thanks for pointing that out. You’re totally right, the “usage” part of the user documentation got out of our attention and is not up-to-date anymore.
We’ll update it soon. You can follow the rest of the documentation which has been correctly updated.

Best wishes,

1 Like