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

MachineLearning.NQubitsRequired overestimates the number of qubits #270

@abacabadabacaba

Description

@abacabadabacaba

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.

Metadata

Metadata

Assignees

Labels

Kind-BugSomething isn't workingPkg-QMLIssue relates to the Microsoft.Quantum.MachineLearning package.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions