0.9.57 • Published 3 months ago

q-convert v0.9.57

Weekly downloads
2
License
MIT
Repository
github
Last release
3 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

3 months ago

0.9.57

3 months ago

0.9.52

3 months ago

0.9.53

3 months ago

0.9.54

3 months ago

0.9.55

3 months ago

0.9.51

1 year ago

0.9.50

2 years ago

0.9.47

2 years ago

0.9.48

2 years ago

0.9.49

2 years ago

0.9.46

3 years ago

0.9.45

3 years ago

0.9.44

4 years ago

0.9.43

4 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

5 years ago

0.9.33

5 years ago

0.9.32

5 years ago

0.9.31

5 years ago

0.9.30

5 years ago

0.9.29

5 years ago

0.9.28

5 years ago

0.9.27

5 years ago

0.9.26

5 years ago

0.9.25

5 years ago

0.9.24

5 years ago

0.9.23

5 years ago

0.9.21

5 years ago

0.9.22

5 years ago

0.9.20

5 years ago

0.9.19

5 years ago

0.9.18

5 years ago

0.9.17

5 years ago

0.9.16

5 years ago

0.9.15

5 years ago

0.9.14

6 years ago

0.9.13

6 years ago

0.9.12

6 years ago

0.9.11

6 years ago

0.9.10

6 years ago

0.9.9

6 years ago

0.9.8

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

6 years ago

0.9.4

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago