aaaaa
This commit is contained in:
parent
9a361417e8
commit
130a64755f
4 changed files with 85 additions and 194 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue