Remove `is_adjacent` from line and grid qubits.
See original GitHub issueLineQubit models a very sparsely connected topology. GridQubit describes devices with very dense connectivity. In a lot of real quantum hardware qubit connections are denser or more elaborate than simple lines, but still less dense than fully connected 2-D grids, see e.g. IBM Q device topologies below or Rigetti’s Aspen topology.
This issue proposes a new type of qubit class with behavior intermediate between LineQubit and GridQubit. In particular, the is_adjacent
methods should be flexible enough to adhere to any topology specified at construction.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Minimum number of CNOTs for Toffoli with non-adjacent controls
Here is the best construction I've found. It uses 8 CNOTs. 8-cnot construction. I verified this circuit in Quirk using the channel-state ...
Read more >Locality-aware Qubit Routing for the Grid Architecture - arXiv
aware qubit routing algorithm based on a graph theoretic framework. Our algorithm is designed for the grid and.
Read more >A crossbar network for silicon quantum dot qubits - Science
Crucially, the control lines define the qubit grid, such that no local components are required. Our design enables qubit coupling beyond nearest neighbors, ......
Read more >Exponential suppression of bit or phase errors with ... - Nature
Here we implement one-dimensional repetition codes embedded in a two-dimensional grid of superconducting qubits that demonstrate exponential ...
Read more >Recursively remove all adjacent duplicates - GeeksforGeeks
Given a string, recursively remove adjacent duplicate characters from the string. The output string should not have any adjacent duplicates. See ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 from me on removing
is_adjacent
on qubits. Adjacency is not a property of qubits, but a property of the devices they are embedded in (even if that device is the “unconstrained” device with an infinite lattice). The API should make this clear.I don’t think this concept lands in a nice conceptual valley. It strikes me as very general (you can do any connectivity!) mixed with very specific (it has to be on a plane at integer coordinates).
I think we should wait until we actually need a type of qubit before defining it. And my instinct is to define specific qubit types (“OctagonalTilingQubit”) rather than to create a qubit so general that it can represent anything.