Retrieves a qcs_api_client.models.InstructionSetArchitecture
from the Rigetti QCS API and uses it to initialize a RigettiQCSAspenDevice.
cirq_rigetti.aspen_device.get_rigetti_qcs_aspen_device(
quantum_processor_id: str, client: Optional[httpx.Client]
) -> cirq_rigetti.aspen_device.RigettiQCSAspenDevice
Args |
quantum_processor_id
|
The identifier of the Rigetti QCS quantum processor.
|
client
|
Optional; A httpx.Client initialized with Rigetti QCS credentials
and configuration. If not provided, qcs_api_client will initialize a
configured client based on configured values in the current user's
~/.qcs directory or default values.
|
Returns |
A RigettiQCSAspenDevice with the specified quantum processor instruction
set and architecture.
|