question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove `is_adjacent` from line and grid qubits.

See original GitHub issue

LineQubit 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:closed
  • Created 4 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
maffoocommented, Sep 26, 2019

+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.

1reaction
Strilanccommented, Sep 26, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found