QubitizationOracle 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.Chemistry.JordanWigner

Package: Microsoft.Quantum.Chemistry

Returns Qubitization operation and the parameters necessary to run it.

function QubitizationOracle (qSharpData : Microsoft.Quantum.Chemistry.JordanWigner.JordanWignerEncodingData) : (Int, (Double, (Qubit[] => Unit is Adj + Ctl)))

Input

qSharpData : JordanWignerEncodingData

Hamiltonian described by JordanWignerEncodingData format.

Output : (Int,(Double,Qubit[] => Unit is Adj + Ctl))

A tuple where: Int is the number of qubits allocated, Double is the one-norm of Hamiltonian coefficients, and the operation is the Quantum walk created by Qubitization.