Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add edge_subgraph graph method #391

Merged
merged 5 commits into from
Aug 9, 2021
Merged

Conversation

mtreinish
Copy link
Member

This commit adds a new method, edge_subgraph(), to the PyGraph and
PyDiGraph classes for generating a edge induced subgraph from a graph
object.

Related to #389

This commit adds a new method, edge_subgraph(), to the PyGraph and
PyDiGraph classes for generating a edge induced subgraph from a graph
object.

Related to Qiskit#389
@mtreinish mtreinish added this to the 0.10.0 milestone Jul 20, 2021
@coveralls
Copy link

coveralls commented Jul 20, 2021

Pull Request Test Coverage Report for Build 1113002674

  • 85 of 85 (100.0%) changed or added relevant lines in 2 files are covered.
  • 11 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.03%) to 96.234%

Files with Coverage Reduction New Missed Lines %
src/shortest_path/all_pairs_dijkstra.rs 2 98.77%
src/shortest_path/astar.rs 9 91.74%
Totals Coverage Status
Change from base Build 1112975944: 0.03%
Covered Lines: 8868
Relevant Lines: 9215

💛 - Coveralls

Copy link
Collaborator

@georgios-ts georgios-ts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Once the merge conflicts are resolved, it should be ready to go.

@mtreinish mtreinish merged commit a62528b into Qiskit:main Aug 9, 2021
@mtreinish mtreinish deleted the edge_subgraph branch August 9, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants