• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / rustworkx / 9672352036

26 Jun 2024 02:00AM UTC coverage: 95.445% (-0.4%) from 95.882%
9672352036

push

github

web-flow
Add `periodic` to `hexagonal_lattice_graph` (#1213)

* use closure for `graph.add_edge` calls

* Add periodicity

* check input, adjust Python exception type

* add Rust tests

* Update type annotations, add Python tests

* Test for isomorphism with networkx graphs

* make tests insensitive to edge order

* move construction of graph and nodes into a builder

* move construction of edges into builder

* add `hexagonal_lattice_graph_weighted`, update tests

* add `with_positions` argument to Python functions

* add visualization tests, fix lattice position bug

---------

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>

126 of 212 new or added lines in 2 files covered. (59.43%)

3 existing lines in 1 file now uncovered.

17936 of 18792 relevant lines covered (95.44%)

1133985.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.85
/src/generators.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc