-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Description
MockDWaveSampler handles initial_states differently to DWaveSampler, formats are incompatible.
This issue is complicated by suboptimal documentation https://docs.dwavequantum.com/en/latest/quantum_research/solver_parameters.html#parameter-qpu-initial-state, and related issues
dwavesystems/dwave-cloud-client#700
#299
To Reproduce
Passing initial_states as a dictionary or list of integers works for DWaveSampler, passing a list of tuples works for MockSampler, no compatible format exists. MockDWaveSampler can be corrected as other issues are addressed.
Expected behavior
MockDWaveSampler should accept the same format(s) for initial_state as DWaveSampler, to enable testing.
Environment:
- OS: [Ubuntu 16.04.4 LTS]
- Python version: [e.g. 3.7.0]
Additional context
Add any other context about the problem here.