Package com.quantum4j.examples.qasm
package com.quantum4j.examples.qasm
-
ClassesClassDescriptionShows how invalid QASM inputs are rejected with clear exceptions.Exports a small circuit (Bell + U3) to OpenQASM 2.0 and prints the result.Imports a raw OpenQASM 2.0 string and prints the resulting instruction list.Demonstrates deterministic export/import/export round-trip of a circuit.Imports QASM, runs the default transpiler, and exports back to QASM.