0.9.57 • Published 10 months ago

q-convert v0.9.57

Weekly downloads
2
License
MIT
Repository
github
Last release
10 months 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, qobj, quil, pyquil, braket, cirq, tfq, qsharp, quest, cudaq, js, quantum-circuit, toaster, svg, svg-inline
        -j, --jupyter	Output jupyter notebook (for qiskit, pyquil, braket, cirq, tfq, qsharp, cudaq 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 will output vector image of a 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 a 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.56

10 months ago

0.9.57

10 months ago

0.9.52

10 months ago

0.9.53

10 months ago

0.9.54

10 months ago

0.9.55

10 months ago

0.9.51

2 years ago

0.9.50

3 years ago

0.9.47

3 years ago

0.9.48

3 years ago

0.9.49

3 years ago

0.9.46

4 years ago

0.9.45

4 years ago

0.9.44

4 years ago

0.9.43

5 years ago

0.9.42

5 years ago

0.9.41

5 years ago

0.9.40

5 years ago

0.9.39

5 years ago

0.9.38

5 years ago

0.9.37

5 years ago

0.9.36

5 years ago

0.9.35

5 years ago

0.9.34

6 years ago

0.9.33

6 years ago

0.9.32

6 years ago

0.9.31

6 years ago

0.9.30

6 years ago

0.9.29

6 years ago

0.9.28

6 years ago

0.9.27

6 years ago

0.9.26

6 years ago

0.9.25

6 years ago

0.9.24

6 years ago

0.9.23

6 years ago

0.9.21

6 years ago

0.9.22

6 years ago

0.9.20

6 years ago

0.9.19

6 years ago

0.9.18

6 years ago

0.9.17

6 years ago

0.9.16

6 years ago

0.9.15

6 years ago

0.9.14

6 years ago

0.9.13

6 years ago

0.9.12

6 years ago

0.9.11

7 years ago

0.9.10

7 years ago

0.9.9

7 years ago

0.9.8

7 years ago

0.9.7

7 years ago

0.9.6

7 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago