Kevin Chern

Results 11 issues of Kevin Chern

Example of "chain break points": a chain with +++: no break points. a chain with +--: break point at (0,1) a chain with +-+: break points at (0,1) and (1,2)

**Description** `DWaveSampler().sample(bqm, num_reads=np.int8(123))` gives an error. Why `np.int8(123)`? Occurs in scenarios such as `np.linspace(2, 6, 10, dtype=np.int8)[0]` **To Reproduce** this will fail with the following error: `TypeError: Object of type...

bug/fix

**Problem** 1. SampleSet returned by neal has no timing info analogous to `DWaveSampler().sample(...).info['timing']` 2. Other useful bits of info like `num_sweeps_per_beta = max(1, num_sweeps // 1000.0)`, `num_betas = int(math.ceil(num_sweeps /...

enhancement

**Description** draw_topology functions, e.g., `draw_pegasus`, errors when you supply linear biases and not quadratic biases (vice versa too) **To Reproduce** ``` import dwave_networkx as dnx G = dnx.pegasus_graph(3) # This...

I cannot randomize nor fix the seed used in `minorminer.subgraph.find_subgraph` `find_subgraph(subgraph, big_graph, value_ordering='random')` always gives the same result

Version: be3bbce Fixed in: https://github.com/UBC-Stat-ML/blangSDK/commit/eeaba3aa493c03b170acc86a40fba6de533f6d07#diff-a82ae04972228cc12ea17d6dd56e1c22R127 Error message example: ``` ERROR:Exponential cannot be resolved. (file:Example.bl line : 13 column : 13) ERROR:Exponential cannot be resolved. (file:Example.bl line : 14 column :...

bug

Current code not robust. Reproduce by creating a dependencies.txt as follows: ``` ca.ubc.stat:conifer:2.0.4 ``` **note empty line** **NOT** ``` ca.ubc.stat:conifer:2.0.4 ``` call `blang` cli and it should crash. standalone compiler...

Currently, out-of-support-errors stemmed from underflow issues do not suggest source of error.

Use forward sampling instead of adding another dimension to the target.

Graph node attributes contain inconsistent node attributes depending on initialization. This makes downstream code unnecessarily complex and unreliable Example: ``` import dwave_networkx as dnx P = dnx.pegasus_graph(6, coordinates=False) print(P.nodes[20]) P...