Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QC hardware 구현 #10

Open
ijshj10 opened this issue May 4, 2021 · 2 comments
Open

QC hardware 구현 #10

ijshj10 opened this issue May 4, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@ijshj10
Copy link
Owner

ijshj10 commented May 4, 2021

Input
{
  shots: 1024,
  gates: ['H', 'X', 'M']
}
Output
{
  '0': x
  '1': 1024-x
}

이런형태로 ion trap에 연결된 서버를 구현해야 할것같습니다.

@ijshj10 ijshj10 added the help wanted Extra attention is needed label May 4, 2021
@kangz12345
Copy link
Collaborator

제가 시퀀서 서버 작업 시작하겠습니다. 대략적으로 아래와 같이 서비스될 것으로 생각중입니다.

client <=> web server <=> backend server <==socket==> sequencer server <==serial-port==> run sequencer

위의 흐름에 대해 의견 있으시면 편하게 제시부탁드리고, 어떤 형태로 데이터를 주고받을지는 차차 고민해보겠습니다.

@ijshj10
Copy link
Owner Author

ijshj10 commented Jul 20, 2021

현재 backend branch에 기본적인 구현을 올려놓았습니다.

client가 /api/experiments 에 다음 형식으로 post 하면
request.json = {"numQubits": Int, "ops":{"operator":String, "operands": [Int]}}

server 에서 experiment id를 리턴 하고
body: {id: Int}

이후 client가 /api/experiments/<id> 를 polling 하는 형식으로 구현하는게 좋을것 같습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants