SamplerGradientResult¶ class SamplerGradientResult(gradients, metadata, shots)[source]¶ Bases: object Result of SamplerGradient. Attributes gradients: list[list[dict[int, float]]]¶ The gradients of the sample probabilities. metadata: list[dict[str, Any]] | list[list[dict[str, Any]]]¶ Additional information about the job. shots: int | Sequence[int]¶ Primitive number of shots for the execution of the job.