Cody Wang
Cody Wang
@mho291 Ryan's suggestion should still actually work; you'll have to rework [braket_translation](https://github.com/qiboteam/qibo-cloud-backends/blob/main/src/qibo_cloud_backends/braket_translation.py) to take in targets as well, but with that, you could just add a dispatch for `CRx`, perhaps...
Thanks for this suggestion; running on different devices is explained in the README of the [Python SDK](https://github.com/amazon-braket/amazon-braket-examples/blob/main/examples/getting_started/1_Running_quantum_circuits_on_simulators/1_Running_quantum_circuits_on_simulators.ipynb), and explored in more detail in the [examples](https://github.com/amazon-braket/amazon-braket-examples/tree/main/examples/getting_started). As for mapping to hardware,...
This is a side effect of each observable being registered to `Observable`: https://github.com/amazon-braket/amazon-braket-sdk-python/blob/0370766feca0be3a5a3128b44f65cf5132ca1099/src/braket/circuits/observables.py#L73 Since they're registered as class methods, they can also be called on any _instance_ of `Observable`; unfortunately,...
Might be more helpful to have a general ARN validator rather than one just for jobs; this can already be done with boto, but perhaps there's a reason to have...
> This means that the same treatment for `Hamiltonian`, `LinearCombination` and `Sum` should extend to `SProd` and `Prod` as well, including `_translate_observable`, which should register `Sum`, `SProd` and `Prod` all...
```python measurements = [] for mp in circuit.measurements: obs = mp.obs if isinstance(obs, (Hamiltonian, LinearCombination, Sum, SProd, Prod)): obs = obs.simplify() mp = type(mp)(obs) measurements.append(mp) ``` I'm noticing that `simplify`...
Sorry for the delay; I finally managed to return to this, and I think I've found the actual issues. Looking at the device test run in #264, we observe two...
Fixed in #275
I'm actually surprised that the sampler accepts 0 shots, and returns probabilities _as_ the counts. In any case, the Braket provider doesn't have a native sampler, but just a classic...