Module spinoza::openqasm

source ·
Expand description

Functionality for creating a QuantumCircuit from an OpenQASM 2.0 program

Functions

  • Parse an OpenQASM 2.0 program file, and convert it into a QuantumCircuit.
  • Parse an OpenQASM 2.0 program in str format, and convert it into a QuantumCircuit.