artiste-qb-net / qubiter

Python tools for reading, writing, compiling, simulating quantum computer circuits. Includes numpy and tensorflow backends. “Quantum Space, the final frontier. These are the voyages of the starship Qubiter. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.”
Other
121 stars 31 forks source link

IBM: simulator w/ all CNOT connections allowed #15

Closed gderosa closed 6 years ago

gderosa commented 6 years ago

Sometimes you want to export to QASM regardless of the limitation/constraints of physical IBM quantum processors, perhaps just to run on the IBM simulator that allows any custom topology.

rrtucci commented 6 years ago

I made it so that the Qubiter_to_IBMqasm constructor with c_to_t == None will assume that any CNOT is possible. Hope this works

gderosa commented 6 years ago

Yeah, that was the other option :) Works for me, thanks.