You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Quantum.Job sample and readme to properly submit a job using compressed/gzip input data (#21836)
* Fixes to properly submit a job
* Generic connection parameter values
* Updating initialization of InputParams
* Update readme with new code snippets
* Update code snippets in the readme
Co-authored-by: Mahmut Burak Senol <masenol@microsoft.com>
Copy file name to clipboardExpand all lines: sdk/quantum/Azure.Quantum.Jobs/README.md
+50-10Lines changed: 50 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ var resourceGroupName = "your_resource_group_name";
81
81
varworkspaceName="your_quantum_workspace_name";
82
82
varlocation="your_location";
83
83
varstorageContainerName="your_container_name";
84
+
84
85
varcredential=newDefaultAzureCredential(true);
85
86
86
87
varquantumJobClient=
@@ -104,22 +105,59 @@ var containerUri = (quantumJobClient.GetStorageSasUri(
104
105
105
106
### Upload Input Data
106
107
107
-
Using the SAS URI, upload the json input data to the blob client.
108
+
Using the SAS URI, upload the compressed json input data to the blob client.
109
+
Note that we need to compress the json input data before uploading it to the blob storage.
108
110
This contains the parameters to be used with [Quantum Inspired Optimizations](https://docs.microsoft.com/azure/quantum/optimization-overview-introduction)
0 commit comments