-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Device Documentation Properties #25
Conversation
This class provides the details on the cost of a device. | ||
|
||
Attributes: | ||
price: Price of the device in terms of US $ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"US dollars"
|
||
class DeviceDocumentation(BaseModel): | ||
""" | ||
This class provides the device metadata like image, summary of it and external documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"device documentation"
Attributes: | ||
imageUrl: url for the image of the device | ||
summary: brief description on the device | ||
externalDocumentationLink: link to provide any useful information to the users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
externalDocumentationUrl
... "supportedResultTypes": [{ | ||
... "name": "resultType1", | ||
... "observables": ["observable1"], | ||
... "minShots": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"minShots": 0
Make provider properties specs to keep consistent with similar properties for other QHPs. Make OneQubit gate number an integer instead of a float
build_files.tar.gz
Issue
We need show certain device specific properties to the users, those are listed below. This is required to show the details in console.
Tests: Added tests to the new class and updated the old ones to pass.