qiqb-osaka / quri-parts-riqu

QURI Parts riqu is a support library for using quantum computers provided by the cloud server with riqu (Rest Interface for QUantum computing) interface.
Apache License 2.0
1 stars 1 forks source link

simplify instantiation of RiquConfig #8

Closed snuffkin closed 11 months ago

snuffkin commented 11 months ago

You can specify a section other than default in the .riqu file to generate a backend as follows:

backend = RiquSamplingBackend(RiquConfig.from_file("section"))