surface_sim.setups.Setup.param#

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

Returns the value of the given parameter for the specified qubit(s). For example, getting the CZ error probability requires qubits = tuple[str, str].

Parameters:
param

Name of the parameter.

qubits

Qubit(s) of which to get the parameter.

Returns:
val

Value of the parameter.