양자컴퓨터 28

[TFQ] 간략화된 QNN 예제 : MNIST 분류

https://www.tensorflow.org/quantum/tutorials/mnist?hl=ko MNIST 분류 | TensorFlow Quantum 도움말 Kaggle에 TensorFlow과 그레이트 배리어 리프 (Great Barrier Reef)를 보호하기 도전에 참여 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English MNIST 분류 이 가이드는 양자 신경망 ( www.tensorflow.org 본 튜토리얼을 돌려보고, 예제에 대한 분석을 합니다. 예제 요약 QNN 이진 분류기 : 숫자 3과 6을 구별하는 간략화된 이진 분류기. 사용되는 양자 레이어는 아래 블로그의 분류 부분이 classical로 구현된 부분을 따릅니다. https://..

IBMQ 클라우드 사용

qiskit으로 IBMQ 서버 사용하는 법 1.토큰 받기 2.계정 불러오기 3.불러온 계정에서 사용가능한 providers 불러오기 4.사용할 provider 지정하기 from qiskit import IBMQ IBMQ.save_account('본인 계정의 토큰') IBMQ.load_account() IBMQ.providers() IBMQ.get_provider(hub='사용할 서버 명') 사용 가능한 서버 확인 방법 ibmq 사이트 접속 : https://quantum-computing.ibm.com/ IBMQ Quantum services 에서 View all 클릭 서비스 내에서 'your services' 목록을 클릭하여 확인 가능. Systems 내의 서버는 양자 simulator, Simulat..

양자 simulator와 emulator의 차이

양자 정보 기술 연구 분야 이 중 범용 양자 컴퓨팅 카테고리의 emulator와 특수 목적 양자 컴퓨팅의 다른 이름인 양자 simulator의 차이점에 대해 간략히 알아보자. 양자 simulator (특수 목적 양자 컴퓨팅) : 특정 양자역학적 현상을 해석 / 예측하기 위해 같은 원리로 동작하도록 설계된 양자 머신 양자 emulator : 고전 컴퓨터로 구현된 양자역학적 현상을 모방하여 양자 컴퓨터와 같이 동작하도록 구현한 것. 일반적으로 말하는 '시뮬레이터’에 해당함. IBMQ 서버 사용시 주의하여야 함.

양자컴퓨터 2022.01.04

[Qiskit] Hybrid quantum-classical Neural Networks with PyTorch and Qiskit

https://qiskit.org/textbook/ch-machine-learning/machine-learning-qiskit-pytorch.html Hybrid quantum-classical Neural Networks with PyTorch and Qiskit A university quantum algorithms/computation course supplement based on Qiskit qiskit.org 본 블로그 에서는에서는 위 링키를 참고하여 손으로 그린 숫자를 분류하는 하이브리드 양자-고전 신경망을 만들것임. - 실행 구조 input, output node를 PyTorch를 이용하여 구현. hidden layer node를 Qiskit으로 구현. - 뉴런과 가중치 뉴런 : 일반적..

[Qiskit] IBM 실제 양자컴퓨터에 접근하는법 / IBM Quantum Services 분류 (simulators / systems/ Programs)

IBM real Quantum computer에 접근하려면 우선 IBM 회원가입필요. IBM Quantum Provider(qiskit.providers.ibmq) 라이브러리 이용. https://qiskit.org/documentation/apidoc/ibmq_provider.html IBM Quantum Provider (qiskit.providers.ibmq) — Qiskit 0.30.0 documentation Shortcuts qiskit.org -실제 양자 하드웨어 접근 백엔드 object는 IBMQ 패키지를 사용하여 설정 할 수 있음. IBMQ 계정으로 로그인 해야함. from qiskit import IBMQ IBMQ.save_account(TOKEN) #TOKEN은 qiskit ibmq ..

[qiskit] 키스킷 코랩에서 사용하기

구글 코랩을 키고 !pip install qiskit ipywidgets 위의 코드를 친 뒤 사용하면 사용하는 워크스페이스에 qiskit이 깔리기에 실행 가능하다. https://github.com/Qiskit/qiskit-tutorials/issues/359 How to run Qisqit using Google colab notebooks · Issue #359 · Qiskit/qiskit-tutorials Description The line : !source activate Qiskitenv is not working in colab.research.google.com notebooks the error message I'm facing is : /bin/bash: activate: No such..

[qiskit] 키스킷 초기 세팅하기

본 글은 qiskit youtube에 올라와 있는 "How to install Qiskit"을 문서화 한 글이다. 아래 링크를 첨부한다. https://youtu.be/M4EkW4VwhcI 1. 아나콘다 설치 2. 아나콘다 프롬포트 열기 >pip install qiskit 3. 주피터 노트북 열기 4. new python3 생성 >import qiskit >qiskit.__qiskit_version__ (버전확인) __________________________________________________ 토큰 넣는 법 from qiskit import IBMQ provider = IBMQ.save_account('TOKEN') #TOKEN부분에 Ibmq 사이트에서 발급받은 토큰을 넣으세요. provide..