dwavesystems / dwavesystems/dwave-graphs

__len__() for coordinate systems

Open
#242 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
95
Forks
62
Avg merge
7d 18h
Merged PRs (30d)
1

Description

**Current Problem**
Sometimes it would be convenient to call `len(co)` for a coordinate system `co` to give the number of qubits in a fully-yielded graph of that type, for example when we are passing the coordinates object but not other parameters.

**Proposed Solution**
Writing __len__() methods for `zephyr_coordinates`, `pegasus_coordinates`, and `chimera_coordinates`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.