surface_sim.setups.Setup.set_param#

setups.Setup.set_param(param, param_val, qubits=())#

Sets the given value to the given parameter of the given qubit(s). For example, setting the CZ error probability requires qubits = tuple[str, str].

Parameters:
param

Name of the parameter.

param_val

Value to set to param.

qubits

Qubit(s) of which to set the parameter.