Closed AoyuQC closed 2 years ago
Hello,
Thank you for reaching out! For this issue and https://github.com/aws/amazon-braket-ocean-plugin-python/issues/63, a fix will be coming out shortly.
In this particular case, the device specific properties for arn:aws:braket:::device/qpu/d-wave/Advantage_system4
can be found here. The other D-Wave device, arn:aws:braket:::device/qpu/d-wave/DW_2000Q_6
, has device properties defined in a schema here.
Feel free to respond with any further questions.
A fix went out in https://github.com/aws/amazon-braket-ocean-plugin-python/pull/64 for this issue.
Describe the bug Cannot use the example from tutorial to test the sample_qubo function of BraketSampler
To reproduce
from braket.ocean_plugin import BraketSampler
sampler = BraketSampler(s3_folder, "arn:aws:braket:::device/qpu/d-wave/Advantage_system4")
Q = {(0, 0): -1, (4, 4): -1, (0, 4): 2}
sampleset = sampler.sample_qubo(Q, postprocessingType="SAMPLING", shots=100)
Expected behavior Run without errors
Screenshots or logs
System information
A description of your system. Please provide:
Additional context Add any other context about the problem here.