qulacsvis.visualization.circuit_parser module

class qulacsvis.visualization.circuit_parser.CircuitParser(circuit: qulacs_core.QuantumCircuit)[source]

Bases: object

Parse quantum circuit into a list of gate data.

Parameters

circuit (QuantumCircuit) – Quantum circuit to be parsed.

qubit_count

Number of qubits in the circuit.

Type

int

gate_info

List of gate data.

Type

GateDataSeq