Skip to content

UnitaryGate.control implementation high gate count  #10313

@ewinston

Description

@ewinston

What should we add?

It seems UnitaryGate.control is producing higher gate counts than is necessary. The implementation is currently using Isometry for the definition but should probably switch to qs_decomposition. Using qs_decomposition may also help with resolve issue #10311.

nqubits Isometry QSD
N(u) 4 224 163
N(cx) 4 192 100
N(u) 5 697 1017
N(cx) 5 928 444
N(u) 6 4381 2886
N(cx) 6 4147 1868

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions