Problem: template circuit and target size diverge

I am experiencing some problems while running jobs on a remote simulator with a PBS circuit. For the following circuit:

input_state = pcvl.BasicState("|{P:H},{P:V}>")
c = pcvl.Circuit(2)
c.add(0, pcvl.PBS())


I receive a runtime error, even after restarting the sessing:

“results”: “Template circuit and target size should be the same (12 != 24)”

I would appreciate if anyone could help me.



This error message isn’t really meaningful, sorry! Actually, none of our Cloud platforms is able to compute on circuits using polarized components. As our hardware doesn’t support polarization (in input states as well as in the circuits we can implement), we’ve decided to disable polarization simulation in simulators too.

Best wishes,