ParameterGrid input documentation

Initialize parameter grid parameters.

Used to initialize class qimpy.transport.geometry.ParameterGrid.

YAML template:

shape: [int]      # Dimensions of parameter grid (always 2D).
dimension1: null  # Parameter names and values to sweep along dimension 1.
dimension2: null  # Parameter names and values to sweep along dimension 2.
save-rho: no      # Whether to write the full density matrices to the checkpoint file.

Parameters:

shape

Type: int

Dimensions of parameter grid (always 2D).

dimension1

Type: dict[str, dict[str, typing.Union[torch.Tensor, numpy.ndarray, float, typing.Sequence[float]]]] or null, Default: null

Parameter names and values to sweep along dimension 1. The values can be specified with “loop” over explicit values, or “sweep” linearly from the initial to the final value.

dimension2

Type: dict[str, dict[str, typing.Union[torch.Tensor, numpy.ndarray, float, typing.Sequence[float]]]] or null, Default: null

Parameter names and values to sweep along dimension 2. Specification is the same as for dimension1.

save-rho

Type: bool, Default: no

Whether to write the full density matrices to the checkpoint file. If not (default), only observables are written to the checkpoint file.