Sampled 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
Samples a given array, using the given schedule.
function Sampled<'T> (schedule : Microsoft.Quantum.MachineLearning.SamplingSchedule, values : 'T[]) : 'T[]
Input
schedule : SamplingSchedule
A schedule to use in sampling values.
values : 'T[]
An array of values to be sampled.
Output : 'T[]
An array of elements from values, following the given schedule.
Type Parameters
'T
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for