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

Further optimized SWAP into sqiswap #16

@evmckinney9

Description

@evmckinney9

Inside of OptimizedSqiswapSub

# XXX we think these can go away if have a perfect decomposition, but hard to find with our approx methods
PERFECTED_DECOMP_SWAP = False
# add random 1Q gates
if not PERFECTED_DECOMP_SWAP:
    sub_qc.u(np.random.random(), np.random.random(), np.random.random(), 0)
    sub_qc.u(np.random.random(), np.random.random(), np.random.random(), 1)

Nearing high-fidelity, but not quite without this additional internal layer:
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions