ScheduleLength function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.MachineLearning

Package: Microsoft.Quantum.MachineLearning

Returns the number of elements in a given sampling schedule.

function ScheduleLength (schedule : Microsoft.Quantum.MachineLearning.SamplingSchedule) : Int

Input

schedule : SamplingSchedule

A sampling schedule whose length is to be returned.

Output : Int

The number of elements in the given sampling schedule.