ryankert01 opened a new pull request, #976:
URL: https://github.com/apache/mahout/pull/976
## Problem
When using the Amazon Braket backend, the `region` parameter in
`backend_options` was ignored, resulting in "You must specify a region" error.
## Solution
Create an `AwsSession` with a `boto3.Session` configured with the specified
region, then pass it to `AwsDevice`.
## Example
```python
qm = QuMat({
"backend_name": "amazon_braket",
"backend_options": {
"simulator_type": "default",
"shots": 1024,
"region": "us-east-1" # Now works!
}
})
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]