QuantumLibraries icon indicating copy to clipboard operation
QuantumLibraries copied to clipboard

MachineLearning: when using a model, the number of available qubits is determined solely by the number of features

Open abacabadabacaba opened this issue 5 years ago • 1 comments

In Microsoft.Quantum.MachineLearning, there is a NQubitsRequired function which determines the number of qubits used by a model.

Unfortunately, this function is not used. Instead, only the qubits necessary to encode a sample are made available to the model, and it cannot use any additional qubits.

abacabadabacaba avatar Jun 21 '20 17:06 abacabadabacaba

@cgranade, not sure what the best solution is to this issue aside from a refactor. What are your thoughts?

guenp avatar Dec 07 '20 17:12 guenp