0.9.51 • Published 18 days ago

q-convert v0.9.51

Weekly downloads
2
License
MIT
Repository
github
Last release
18 days ago

Q-Convert

Quantum Computing Language Converter

Install

npm -g install q-convert

Usage

Q-Convert - Quantum Language Converter

Usage:
    q-convert -i input_file -s source_format -o output_file -d destination_format [-j] [-w]
        -i, --input	Input file
        -s, --source	Source format: qasm, quil, qobj, ionq, quantum-circuit, toaster
        -o, --output	Output file
        -d, --dest	Destination format: qiskit, qasm, qasm-ext, qobj, quil, pyquil, braket, cirq, tfq, qsharp, quest, js, quantum-circuit, toaster, svg, svg-inline
        -j, --jupyter	Output jupyter notebook (for qiskit, pyquil, braket, cirq, tfq, qsharp, and js only)
        -w, --overwrite	Overwrite output file if it already exists
        -h, --help	Print this help text

Examples

The following command will take my_circuit.qasm and output vector image of circuit diagram my_circuit.svg

q-convert -i my_circuit.qasm -s qasm -o my_circuit.svg -d svg -w

Convert from QASM to Q# (QSharp)

q-convert -i my_circuit.qasm -s qasm -o my_circuit.qs -d qsharp -w

Convert from QASM to jupyter notebook with pyQuil code inside:

q-convert -i my_circuit.qasm -s qasm -o my_circuit.ipynb -d pyquil -j -w

Online version

Online version is available at: https://quantum-circuit.com/qconvert

More languages

More input & output languages will be added soon.

License

MIT

That's it. Enjoy!

0.9.51

18 days ago

0.9.50

1 year ago

0.9.47

1 year ago

0.9.48

1 year ago

0.9.49

1 year ago

0.9.46

2 years ago

0.9.45

2 years ago

0.9.44

3 years ago

0.9.43

3 years ago

0.9.42

4 years ago

0.9.41

4 years ago

0.9.40

4 years ago

0.9.39

4 years ago

0.9.38

4 years ago

0.9.37

4 years ago

0.9.36

4 years ago

0.9.35

4 years ago

0.9.34

4 years ago

0.9.33

4 years ago

0.9.32

4 years ago

0.9.31

4 years ago

0.9.30

4 years ago

0.9.29

4 years ago

0.9.28

4 years ago

0.9.27

4 years ago

0.9.26

4 years ago

0.9.25

4 years ago

0.9.24

4 years ago

0.9.23

4 years ago

0.9.21

4 years ago

0.9.22

4 years ago

0.9.20

4 years ago

0.9.19

4 years ago

0.9.18

4 years ago

0.9.17

4 years ago

0.9.16

4 years ago

0.9.15

4 years ago

0.9.14

5 years ago

0.9.13

5 years ago

0.9.12

5 years ago

0.9.11

5 years ago

0.9.10

5 years ago

0.9.9

5 years ago

0.9.8

5 years ago

0.9.7

5 years ago

0.9.6

5 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago