Skip to content

Commit

Permalink
Merge pull request #10 from simbilod/main
Browse files Browse the repository at this point in the history
name --> component_name
  • Loading branch information
joamatab authored Oct 29, 2023
2 parents 75adb6f + 406d596 commit cd0e39f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ubc2/ubc_simon_bends.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_mask_bends_circular(
e += [
add_gc(
c,
name=f"bends_circular_radius_{radius:1.3f}_nbends_{num_bends}",
component_name=f"bends_circular_radius_{radius:1.3f}_nbends_{num_bends}",
optical_routing_type=2,
fanout_length=1,
with_loopback=True,
Expand Down Expand Up @@ -85,7 +85,7 @@ def test_mask_bends_euler(
e += [
add_gc(
c,
name=f"bends_euler_radius_{radius:1.3f}_nbends_{num_bends}",
component_name=f"bends_euler_radius_{radius:1.3f}_nbends_{num_bends}",
optical_routing_type=2,
with_loopback=True,
fanout_length=1,
Expand Down
2 changes: 1 addition & 1 deletion ubc2/ubc_simon_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_mask_continuum(
gap=gap, width=width, length=length, slab_width=slab_width
),
with_loopback=True,
name=f"continuum_gap_{gap:1.3f}_width_{width:1.3f}_length_{length:1.3f}",
component_name=f"continuum_gap_{gap:1.3f}_width_{width:1.3f}_length_{length:1.3f}",
fanout_length=30,
optical_routing_type=1,
)
Expand Down

0 comments on commit cd0e39f

Please sign in to comment.