This commit is contained in:
Noa Aarts 2026-02-06 13:49:55 +01:00
parent 9a361417e8
commit 130a64755f
Signed by: noa
GPG key ID: 1850932741EFF672
4 changed files with 85 additions and 194 deletions

View file

@ -307,7 +307,7 @@ def sample_circuit_layers(
total_single += 1
else:
if loc[1] == qubits:
loc[1] == 0
loc: tuple[int, int] = (loc[0], 0)
layer.append(Gate(GateType(gate_type), loc, params))
total_double += 1
params += param_count(gate_type)