자주 묻는 질문#

**질문: 연구에서 Qiskit을 어떻게 인용 해야 합니까? **

답변: 다음 링크를 참고하여 Qiskit을 인용하십시오 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.

키스킷이 설치되지 않은 환경에서 키스킷 패키지를 임포트 하려고하면 오류가 발생한다. 아나콘다 네비게이터 에서 주피터노트북 을 시작한 경우 주피터 노트북이 가상 환경이 아닌 기본 (루트) 환경에서 실행될 수 있기 때문이다. 아나콘다 네비게이터 에서 Application on 드롭다운 메뉴의 가상 환경을 선택하라. 이 메뉴에서 아나콘다 내의 모든 가상 환경을 볼 수 있으며 주피터 노트북을 시작하기 위해 키스킷이 설치된 환경을 선택할 수 있다.


질문: 키스킷을 설치할때 컴파일 에러가 나는 이유는 무엇인가?

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 플랫폼 지원 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.