Alexander Condello

Results 257 comments of Alexander Condello

> Add also to [licenses](https://docs.ocean.dwavesys.com/en/stable/licenses.html), 2nd to last We don't do pyqubo? And we haven't yet brought it in as a submodule so there is no file to link in...

Cross-link: https://github.com/dwavesystems/dwave-ocean-sdk/issues/216

Can you post the full command you're using that causes the error? I suspect `pyinstaller` is not not interacting well with the Cython/C++ libraries.

I see. The issue is that `pyinstaller` looks at the import statements to find the files it needs (see [docs](https://pyinstaller.org/en/stable/operating-mode.html#analysis-finding-the-files-your-program-needs)). However, on windows systems some of the files are imported...

I don't actually have a windows machine handy to reproduce. Can you post here the output of ```bash dir dist/test/dimod ``` or the equivalent? I am curious what binaries (if...

I think what's happening is that `pyinstaller`'s discovery is not able to follow the import path into the Cython files. So it is including the `.pyd` files that are imported...

Unfortunately we have exceeded my knowledge of `pyinstaller`. I am not entirely sure what is going wrong at this point, other than the general observation that it seems to still...

In principal, building an Ocean [ConstrainedQuadraticModel](https://docs.ocean.dwavesys.com/en/stable/docs_dimod/reference/models.html#module-dimod.constrained.constrained) from a `QuadraticProgram` should be very straightforward, and would likely provide a cleaner interface, because it would allow folks to bypass the binarization step.

To expand, the overall flow would look (something like) ```python import dimod from dwave.system import LeapHybridCQMSampler from qiskit_optimization import QuadraticProgram qp = cqm = dimod.ConstrainedQuadraticModel.from_qiskit_qp(qp) solutions = LeapHybridCQMSampler().sample_cqm(cqm) # convert...

Hello @AlvaroHuanay , For `dwave-samplers`/`Cython`, how are you installing `dwave-samplers`? It's true that `dwave-samplers` uses `Cython~=3.0` at build time, but `pip install dwave-samplers==1.2.0` should not install or require `Cython` at...