/// <summary> /// Getting a quantum circuit representation of a 2d array of data. (Most likely an image but can be other things). Not using python /// Is faster than python versions but does not support logarithmic encoding yet and may still contain some errors. /// </summary> /// <param name="imageData">The data (of the image) as a 2d double array. For image data floats is more than sufficient!</param> /// <param name="useLog">If logarithmic encoding is chosen DOES NOTHING (at the moment)</param> /// <returns></returns> public static QuantumCircuitFloat GetCircuitDirect(float[,] imageData, bool useLog = false) { return(QuantumImageHelper.HeightToCircuit(imageData)); }