# node-qsikit

> A node.js wrapper for IBM's Quantum Experience HTTP API that allows you to connect and execute OPENQASM code.

Latest version **1.0.1** (published 2017-06-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-qsikit
pnpm add node-qsikit
yarn add node-qsikit
bun add node-qsikit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-06-17 |
| First published | 2017-06-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | @nullroz007 |
| Maintainers | nullroz007 |
| Keywords | node, quantum, qasm, node-qsikit, openqasm |

## Links

- npm: https://www.npmjs.com/package/node-qsikit
- npm.io page: https://npm.io/package/node-qsikit

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.79.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-06-17
- 1.0.0 — 2017-06-17

## README

# node-qsikit 

A node.js wrapper for IBM&#39;s Quantum Experience HTTP API that allows you to connect and execute OPENQASM code.

## Installation

```sh
npm install node-qsikit --save 
```

## Dependencies

- [request](https://github.com/request/request): Simplified HTTP request client.

##Usage:
Execute Code:
```js
const qsikit = require('node-qsikit');
var q = new qsikit();
q.connect('your API token', () => {
	var qasm = 'OPENQASM 2.0;include "qelib1.inc";qreg q[5];creg c[5];u3(-1.23096,0,0) q[0];u3(pi/4,0,0) q[1];cx q[0],q[2];z q[2];h q[2];cx q[1],q[2];z q[2];u3(pi/4,0,0) q[1];h q[2];cx q[1],q[2];measure q[0] -> c[0];measure q[1] -> c[1];measure q[2] -> c[2];'
	
	var device = "simulator";
	var shots = 1000;
	var name = "API Wrapper Example";
	var timeout = 60;
	
	q.methods.executeCode(qasm, device, shots, name, null, timeout, (result) => {
		var data = result.result.data.p;
		console.log(data);
	});
});
```

## License

ISC

---
_Source: https://npm.io/package/node-qsikit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
