random_physics

qdflow.generate.random_physics(randomization_params, num_physics=None)

Creates a randomized set of physics parameters describing a QD device.

Parameters:
  • randomization_params (PhysicsRandomization) – Meta-parameters which indicate how the PhysicsParameters should be randomized.

  • num_physics (int, optional) – The number of PhysicsParameters sets to generate.

Returns:

The randomized physics parameters.

Return type:

simulation.PhysicsParameters or list[PhysicsParameters]