Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.16 KB

microsoft.quantum.machinelearning.sampled.md

File metadata and controls

51 lines (30 loc) · 1.16 KB
uid title ms.date ms.topic qsharp.kind qsharp.namespace qsharp.name qsharp.summary
Microsoft.Quantum.MachineLearning.Sampled
Sampled function
7/28/2023 12:00:00 AM
managed-reference
function
Microsoft.Quantum.MachineLearning
Sampled
Samples a given array, using the given schedule.

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