client-superstaq icon indicating copy to clipboard operation
client-superstaq copied to clipboard

Mermin-Bell circuit parametrizable size is limited at 10 qubits

Open MarzioVallero opened this issue 2 years ago • 3 comments

What is happening?

Currently, the constructor for the mermin_bell class, which is parametrizable with the number of qubits available in the system, can only produce circuits of size up to 10 qubits. In fact, if one tries to parametrize arbitrarily large circuits of N qubits (N > 10), the stabilizer will always return a matrix of shape (2*N, 10), thus triggering the shape assert at line 214 in mermin_bell.py. Is this the intended behaviour?

If it were the case that the circuit can effectively be parametrized for larger sizes, could this feature be added?

MarzioVallero avatar Feb 14 '23 15:02 MarzioVallero