সচরাচর জানতে চাওয়া প্রশ্ন#

** প্রশ্নঃ আমার গবেষণায় আমি কিভাবে Qiskit উদ্ধৃত করব? **

A: Please cite Qiskit by using the included BibTeX file.


Q: Why do I receive the error message AttributeError: QuantumCircuit object has no attribute save_state when using ``save_*``method on a circuit?

A: The save_* instructions are part of Qiskit Aer project, a high performance simulator for quantum circuits. These instructions do not exist outside of Qiskit Aer and are added dynamically to the QuantumCircuit class by Qiskit Aer on import. If you would like to use these instructions you must first ensure that you have imported qiskit_aer in your program before trying to call these methods. You can refer to qiskit_aer.library for the details of these custom instructions included with Qiskit Aer.

** প্রশ্নঃ আসল কোয়ান্টাম যন্ত্রের সাথে আমার সিমুলেটরেরে ফলাফলে কেন পার্থক্য দেখা যাচ্ছে? **

** উত্তরঃ ** সিমুলেটর এমনভাবে কাজ (টাস্ক/ জব) রান করে যেন এটি সত্যিকার আদর্শ কোয়ান্টাম পরিবেশে চলছে; কোনো ধরণের দূষণ বা ত্রুটি এবং অসমদশা (ডিকোহেরেন্স) ছাড়াই। যাহোক, এইসব কাজ (টাস্ক/ জব) যখন সত্যিকার মেশিনে চালানো হয় তখন কর্মপরিবেশ থেকে দূষণ বা ত্রুটি এবং অসমদশা (ডিকোহেরেন্স) যুক্ত হয়, যে কারণে কিউবিটগুলো আদর্শ দশা থেকে ভিন্নভাবে কাজ করে।


** প্রশ্নঃ আমি কেন জুপিটার নোটবুক ব্যবহার করার সময় এই ** No Module 'qiskit' ** ত্রুটি দেখতে পাচ্ছি? **

A: If you used pip install qiskit and set up your virtual environment in Anaconda, then you may experience this error when you run a tutorial in Jupyter Notebook. If you have not installed Qiskit or set up your virtual environment, you can follow the স্থাপন (ইনস্টলেশন) steps.

এই ত্রুটি হয় তখন, যখন কর্মপরিবেশে Qiskit ইন্সটল না থাকার পরেও Qiskit প্যাকেজ ইম্পোর্ট করার চেষ্টা করা হয়। আপনি যদি জুপিটার নোটবুক অ্যানাকোন্ডা-নেভিগেটর থেকে শুরু করে থাকেন তবে এরকম হতে পারে যে জুপিটার নোটবুক আপনার কৃত্রিম কর্মপরিবেশের পরিবর্তে মূল (বেইস) কর্মপরিবেশ থেকে রান হচ্ছে। একটি কৃত্রিম কর্মপরিবেশ বাছাই করুন Applications on ড্রপডাউন তালিকা থেকে। এই তালিকায় আপনি অ্যানাকোন্ডার সকল কৃত্রিম কর্মপরিবেশসমূহ দেখতে পাবেন এবং আপনি এমন একটি কর্মপরিবেশ বাছাই করতে পারবেন যেখানে Qiskit ইন্সটল করা আছে।


** প্রশ্নঃ qiskit ইন্সটল করার সময় আমি কেন কম্পাইলেশন ত্রুটি দেখতে পাচ্ছি? **

A: Qiskit depends on a number of other open source Python packages, which are automatically installed when doing pip install qiskit. Depending on your system's platform and Python version, it is possible that a particular package does not provide pre-built binaries for your system. You can refer to Platform Support for a list of platforms supported by Qiskit, some of which may need an extra compiler. In cases where there are no precompiled binaries available pip will attempt to compile the package from source, which in turn might require some extra dependencies that need to be installed manually.

যদি pip install qiskit কমান্ডের আউটপুটে একই ধরণের লাইন থাকে তবেঃ

Failed building wheel for SOME_PACKAGE
...
build/temp.linux-x86_64-3.5/_openssl.c:498:30: fatal error
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

please check the documentation of the package that failed to install (in the example code, SOME_PACKAGE) for information on how to install the libraries needed for compiling from source.