ans =
deviceArn: "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3"
deviceCapabilities: "{"service": {"braketSchemaHeader": {"name": "braket.device_schema.device_service_properties", "version": "1"}, "executionWindows": [{"executionDay": "Everyday", "windowStartHour": "04:00:00", "windowEndHour": "06:00:00"}, {"executionDay": "Everyday", "windowStartHour": "15:00:00", "windowEndHour": "18:00:00"}], "shotsRange": [10, 100000], "deviceCost": {"price": 0.00035, "unit": "shot"}, "deviceDocumentation": {"imageUrl": "http://d1.awsstatic.com/logos/Rigetti_logo_rgb_teal.0cbe3c0653e755ab97c04ec56f3611f53e2a780c.png", "summary": "Universal gate-model QPU based on superconducting qubits", "externalDocumentationUrl": "https://qcs.rigetti.com/qpus/"}, "deviceLocation": "California, USA", "updatedAt": "2023-09-15T15:50:33+00:00", "getTaskPollIntervalMillis": 200}, "action": {"braket.ir.jaqcd.program": {"version": ["1.0", "1.1"], "actionType": "braket.ir.jaqcd.program", "supportedOperations": ["cz", "xy", "ccnot", "cnot", "cphaseshift", "cphaseshift00", "cphaseshift01", "cphaseshift10", "cswap", "h", "i", "iswap", "phaseshift", "pswap", "rx", "ry", "rz", "s", "si", "swap", "t", "ti", "x", "y", "z", "start_verbatim_box", "end_verbatim_box"], "supportedResultTypes": [{"name": "Sample", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Expectation", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Variance", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Probability", "minShots": 10, "maxShots": 100000}], "disabledQubitRewiringSupported": true}, "braket.ir.openqasm.program": {"version": ["1.0"], "actionType": "braket.ir.openqasm.program", "supportedOperations": ["cz", "xy", "ccnot", "cnot", "cphaseshift", "cphaseshift00", "cphaseshift01", "cphaseshift10", "cswap", "h", "i", "iswap", "phaseshift", "pswap", "rx", "ry", "rz", "s", "si", "swap", "t", "ti", "x", "y", "z"], "supportedModifiers": [], "supportedPragmas": ["verbatim", "braket_result_type_sample", "braket_result_type_expectation", "braket_result_type_variance", "braket_result_type_probability"], "forbiddenPragmas": ["braket_unitary_matrix", "braket_result_type_state_vector", "braket_result_type_density_matrix", "braket_result_type_amplitude", "braket_result_type_adjoint_gradient"], "maximumQubitArrays": 1, "maximumClassicalArrays": 1, "forbiddenArrayOperations": ["concatenation", "negativeIndex", "range", "rangeWithStep", "slicing", "selection"], "requiresAllQubitsMeasurement": false, "supportPhysicalQubits": true, "requiresContiguousQubitIndices": false, "supportsPartialVerbatimBox": true, "supportsUnassignedMeasurements": false, "disabledQubitRewiringSupported": false, "supportedResultTypes": [{"name": "Sample", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Expectation", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Variance", "observables": ["x", "y", "z", "h", "i"], "minShots": 10, "maxShots": 100000}, {"name": "Probability", "minShots": 10, "maxShots": 100000}]}}, "deviceParameters": {"title": "RigettiDeviceParameters", "description": "This defines the parameters common to all the Rigetti devices.\n\nAttributes:\n paradigmParameters: Parameters that are common to gatemodel paradigm\n\nExamples:\n >>> import json\n >>> input_json = {\n ... \"braketSchemaHeader\": {\n ... \"name\": \"braket.device_schema.rigetti.rigetti_device_parameters\",\n ... \"version\": \"1\",\n ... },\n ... \"paradigmParameters\": {\"braketSchemaHeader\": {\n ... \"name\": \"braket.device_schema.gate_model_parameters\",\n ... \"version\": \"1\",\n ... },\"qubitCount\": 1},\n ... }\n >>> RigettiDeviceParameters.parse_raw_schema(json.dumps(input_json))", "type": "object", "properties": {"braketSchemaHeader": {"title": "Braketschemaheader", "const": {"name": "braket.device_schema.rigetti.rigetti_device_parameters", "version": "1"}}, "paradigmParameters": {"$ref": "#/definitions/GateModelParameters"}}, "required": ["paradigmParameters"], "definitions": {"GateModelParameters": {"title": "GateModelParameters", "description": "Defines parameters common to all gate model devices.\n\nAttributes:\n qubitCount: Number of qubits used by the circuit.\n disableQubitRewiring: Whether to run the circuit with the exact qubits chosen,\n without any rewiring downstream.\n If ``True``, no qubit rewiring is allowed; if ``False``, qubit rewiring is allowed.\n\nExamples:\n >>> import json\n >>> input_json = {\n ... \"braketSchemaHeader\": {\n ... \"name\": \"braket.device_schema.gate_model_parameters\",\n ... \"version\": \"1\",\n ... },\n ... \"qubitCount\": 1,\n ... \"disableQubitRewiring\": True\n ... }\n >>> GateModelParameters.parse_raw_schema(json.dumps(input_json))", "type": "object", "properties": {"braketSchemaHeader": {"title": "Braketschemaheader", "const": {"name": "braket.device_schema.gate_model_parameters", "version": "1"}}, "qubitCount": {"title": "Qubitcount", "minimum": 0, "type": "integer"}, "disableQubitRewiring": {"title": "Disablequbitrewiring", "default": false, "type": "boolean"}}, "required": ["qubitCount"]}}}, "braketSchemaHeader": {"name": "braket.device_schema.rigetti.rigetti_device_capabilities", "version": "1"}, "paradigm": {"braketSchemaHeader": {"name": "braket.device_schema.gate_model_qpu_paradigm_properties", "version": "1"}, "connectivity": {"fullyConnected": false, "connectivityGraph": {"0": ["1", "7", "103"], "100": ["101", "107"], "10": ["11", "17", "113"], "110": ["111", "117"], "20": ["21", "27", "123"], "120": ["121", "127"], "30": ["31", "37", "133"], "130": ["131", "137"], "40": ["41", "47", "143"], "140": ["141", "147"], "1": ["0", "2", "16"], "101": ["100", "102"], "11": ["10", "12"], "111": ["110", "112", "126"], "21": ["20", "22", "36"], "121": ["120", "122"], "31": ["30", "32", "46"], "131": ["130", "132", "146"], "41": ["40", "42"], "141": ["140", "142"], "2": ["1", "3", "15"], "102": ["101", "103", "115"], "12": ["11", "13", "25"], "112": ["111", "113", "125"], "22": ["21", "23", "35"], "122": ["121", "123", "135"], "32": ["31", "33", "45"], "132": ["131", "133", "145"], "42": ["41", "43"], "142": ["141", "143"], "3": ["2", "4"], "103": ["102", "104", "0"], "13": ["12", "14"], "113": ["112", "114", "10"], "23": ["22", "24"], "123": ["122", "124", "20"], "33": ["32", "34"], "133": ["132", "134", "30"], "43": ["42", "44"], "143": ["142", "144", "40"], "4": ["3", "5"], "104": ["103", "105", "7"], "14": ["13", "15"], "114": ["113", "115", "17"], "24": ["23", "25"], "124": ["123", "125", "27"], "34": ["33", "35"], "134": ["133", "135", "37"], "44": ["43", "45"], "144": ["143", "145", "47"], "5": ["4", "6"], "105": ["104", "106"], "15": ["14", "16", "2"], "115": ["114", "102"], "25": ["24", "26", "12"], "125": ["124", "126", "112"], "35": ["34", "36", "22"], "135": ["134", "122"], "45": ["44", "46", "32"], "145": ["144", "146", "132"], "6": ["5"], "106": ["105", "107"], "16": ["15", "17", "1"], "116": ["117"], "26": ["25", "27"], "126": ["125", "127", "111"], "36": ["35", "37", "21"], "46": ["45", "47", "31"], "146": ["145", "147", "131"], "7": ["0", "104"], "107": ["106", "100"], "17": ["16", "10", "114"], "117": ["116", "110"], "27": ["26", "20", "124"], "127": ["126", "120"], "37": ["36", "30", "134"], "137": ["130"], "47": ["46", "40", "144"], "147": ["146", "140"]}}, "qubitCount": 79, "nativeGateSet": ["rx", "rz", "cz", "cphaseshift", "xy"]}, "provider": {"braketSchemaHeader": {"name": "braket.device_schema.rigetti.rigetti_provider_properties", "version": "1"}, "specs": {"1Q": {"0": {"fActiveReset": 0.966, "fRO": 0.946, "f1QRB": 0.9972872933599024, "f1QRB_std_err": 7.838351195153969e-05, "f1Q_simultaneous_RB": 0.9953169329383368, "f1Q_simultaneous_RB_std_err": 0.00024182103479684447, "T1": 1.0019627401991471e-05, "T2": 1.8156447816365015e-05}, "100": {"fActiveReset": 0.9985, "fRO": 0.972, "f1QRB": 0.998954207277828, "f1QRB_std_err": 0.00014837187531456048, "f1Q_simultaneous_RB": 0.9971558102223412, "f1Q_simultaneous_RB_std_err": 0.00015862791239059965, "T1": 1.1816795696395488e-05, "T2": 2.0095701209033546e-05}, "10": {"fActiveReset": 0.954, "fRO": 0.981, "f1QRB": 0.9992031567592476, "f1QRB_std_err": 0.00014056593724064313, "f1Q_simultaneous_RB": 0.9976156360254491, "f1Q_simultaneous_RB_std_err": 8.608369330764301e-05, "T1": 2.5578694019978698e-05, "T2": 1.9006026304791726e-05}, "110": {"fActiveReset": 0.956, "fRO": 0.982, "f1QRB": 0.9964323820015337, "f1QRB_std_err": 0.0002538166941835989, "f1Q_simultaneous_RB": 0.9944725505869456, "f1Q_simultaneous_RB_std_err": 0.00046613884655654996, "T1": 2.1541132994906675e-05, "T2": 2.4168521929465816e-05}, "20": {"fActiveReset": 0.9925, "fRO": 0.973, "f1QRB": 0.9987680979711324, "f1QRB_std_err": 0.00024454249633089407, "f1Q_simultaneous_RB": 0.9967164854629315, "f1Q_simultaneous_RB_std_err": 0.00034938876334807785, "T1": 1.916757238906719e-05, "T2": 2.0065645767958196e-05}, "120": {"fActiveReset": 0.998, "fRO": 0.977, "f1QRB": 0.9983062074153319, "f1QRB_std_err": 5.774983328102287e-05, "f1Q_simultaneous_RB": 0.9970528341245045, "f1Q_simultaneous_RB_std_err": 0.00014167831836001615, "T1": 1.2764039701629315e-05, "T2": 2.0246986797656767e-05}, "30": {"fActiveReset": 0.944, "fRO": 0.859, "f1QRB": 0.9983567784701302, "f1QRB_std_err": 0.0001484753223172316, "f1Q_simultaneous_RB": 0.9962760717321852, "f1Q_simultaneous_RB_std_err": 0.00012898655899217618, "T1": 3.72516437563419e-06, "T2": 3.60229201220574e-06}, "130": {"fActiveReset": 0.996, "fRO": 0.931, "f1QRB": 0.9953353543402388, "f1QRB_std_err": 0.0002495782404244499, "f1Q_simultaneous_RB": 0.9923808464253132, "f1Q_simultaneous_RB_std_err": 0.0003757619231654068, "T1": 2.1055966682670402e-05, "T2": 8.279538699664696e-06}, "40": {"fActiveReset": 0.9990000000000001, "fRO": 0.977, "f1QRB": 0.998754212487603, "f1QRB…"
deviceName: "Aspen-M-3"
deviceStatus: "ONLINE"
deviceType: "QPU"
providerName: "Rigetti"
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。