File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def __init__(
6969 is_opencl = False
7070
7171 if pyzx_circuit is not None :
72- qubitCount = pyzx_circuit .qubits
72+ qubit_count = pyzx_circuit .qubits
7373 elif qiskit_circuit is not None and qubit_count < 0 :
7474 raise RuntimeError (
7575 "Must specify qubitCount with qiskitCircuit parameter in QrackSimulator constructor!"
@@ -83,7 +83,7 @@ def __init__(
8383 self .is_pure_stabilizer = False
8484
8585 if clone_sid > - 1 :
86- self .sid = Qrack .qrack_lib .init_clone (cloneSid )
86+ self .sid = Qrack .qrack_lib .init_clone (clone_sid )
8787 else :
8888 if qubit_count < 0 :
8989 qubit_count = 0
@@ -110,8 +110,8 @@ def __init__(
110110
111111 if pyzx_circuit is not None :
112112 self .run_pyzx_gates (pyzx_circuit .gates )
113- elif qiskitCircuit is not None :
114- self .run_qiskit_circuit (qiskitCircuit )
113+ elif qiskit_circuit is not None :
114+ self .run_qiskit_circuit (qiskit_circuit )
115115
116116 def __del__ (self ):
117117 if self .sid is not None :
You can’t perform that action at this time.
0 commit comments