Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

Latest commit

 

History

History

qiskit-utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Qiskit.js utils

⚛️ Quantum Information Science Kit utils library, shared among the rest of the qiskit-* packages.

Please visit the main repository of the project to know about the rest of the tools.

Install

☕ Install lastest Node.js stable version (or LTS) and then:

npm i @qiskit/utils

Use

📝 You can visit the complete example in this test.

const utils = require('@qiskit/utils');

console.log('Version');
console.log(utils.version);

API

👀 Full specification.

version

The actual version of the library.

  • version (string) - Version number.

debug

Our debugger. A wrapper for debug.

  • debug (object) - The same object provided in the original library.

pathToTag(fullPath) -> tag

To get a consistent tag among all the project debugging. So we use with the debug method.

  • fullPath (string) - The full path of the file we're debugging.
  • tag (string) - The name of the file.

ayb

A wrapper for ayb.

  • ayb (object) - The same object provided in the original library.