aws-cqc / aws-cqc/DeviceLayout.jl

Datatype coloring in graphical output

Open
#306 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
67
Forks
14
Avg merge
1d 16h
Merged PRs (30d)
21

Description

After #283, GDS datatype affects the color in graphical output by changing the index in the categorical color scheme. This means the `:metal_negative` layer in the DemoQPU17 example changed from a nice purple to a questionable green. It might be nice if `(layer, d1)` and `(layer, d2)` had related colors, or even the same color with different fill. I don't think Cairo gives us an easy pattern fill, but datatype could easily cycle between changing lightness, saturation, and/or blending towards black/white with different strengths.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the datatype-to-categorical-color mapping introduced after #283 and reproduce the changed :metal_negative color in the DemoQPU17 example. Decide on and document a consistent relationship between datatype variants, then verify the graphical output preserves distinguishable, related colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.