1
$\begingroup$

In IBM Q-Experience how can I upload a data file that I intend to read from the python code?

$\endgroup$
1
$\begingroup$

If you go to the Qiskit Notebooks section, you will see this button enter image description here

If you click import you can chose to upload the file from your computer into IQX.

$\endgroup$
  • $\begingroup$ Yes, but one can only upload ipynb files, not any other file, like a csv file. $\endgroup$ – Amitava Chakraborty Nov 20 '19 at 14:33
  • $\begingroup$ I followed this method and I was able to upload a csv, you just cannot open them inside IQX. Are you receiving an error message when you try to? $\endgroup$ – met927 Nov 20 '19 at 14:39
  • 1
    $\begingroup$ no, but it does not show it. So if I upload a csv this way, I can access it from the code as if its is in the same directory as the code, is it? $\endgroup$ – Amitava Chakraborty Nov 20 '19 at 18:38
  • 1
    $\begingroup$ amazing!!, it did work! Many many thanks met927! $\endgroup$ – Amitava Chakraborty Nov 20 '19 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.