GetGeneratorSystemFunction 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.Simulation

Package: Microsoft.Quantum.Standard

Retrieves the GeneratorIndex function in a GeneratorSystem.

function GetGeneratorSystemFunction (generatorSystem : Microsoft.Quantum.Simulation.GeneratorSystem) : (Int -> Microsoft.Quantum.Simulation.GeneratorIndex)

Input

generatorSystem : GeneratorSystem

The GeneratorSystem of interest.

Output : Int -> GeneratorIndex

An function that indexes each GeneratorIndex term in a Hamiltonian.

See Also