oqc-community / qat

QAT is a quantum compiler and runtime focused on low-level, just-above-driver integration.
Other
49 stars 11 forks source link

Bring back cached properties #178

Closed hamidelmaazouz closed 1 month ago

bread-oqc commented 2 months ago

This is a breaking change for dependent components. To avoid the breaking change, we could cache and return a lambda so that the expression '*.full_id' is still callable but this is grosssss.

I reckon this is the 'correct' solution.

bgsach commented 2 months ago

There are concerns from Kajsa about mutability here. We should pause and have a think.

hamidelmaazouz commented 2 months ago

There are concerns from Kajsa about mutability here. We should pause and have a think.

@keriksson-rosenqvist could you share where the mutability requirement comes from ?