Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
Z
Zero
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sean Leavey
  • Zero
  • Issues
  • #49

Closed
Open
Opened Aug 07, 2019 by Anchal Gupta@anchal.gupta

Allow connecting sub-circuits together to form a larger circuits

We should take advantage of the circuit being a class fully by allowing connecting different circuit objects together to form bigger circuits. This will make zero scalable and will make debugging easier. I think we can define a function like:

def combineCircuits(Cir1,Cir2,['cir1n1->cir2n2','cir1n2->cir2n5',.....]):
    .
    .
    .
    return combinedCircuit

Here, Cir1 and Cir2 are two different circuit objects and the third argument is the mapping of node connections to be made. The combined circuit will have all nodes of Cir1 and all nodes of Cir2 except for those which have been merged with nodes of Cir1.

Assignee
Assign to
Node graphs
Milestone
Node graphs
Assign milestone
Time tracking
None
Due date
None
Reference: sean-leavey/zero#49