This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Description
Sometimes, Microsoft.Quantum.MachineLearning.NQubitsRequired function returns bigger number than actually needed. For example, NQubitsRequired(SequentialModel([ControlledRotation((0, new Int[0]), PauliX, 0), ControlledRotation((0, new Int[0]), PauliY, 0)], [0.0], 0.0)) returns 2, but the correct number is 1.