cuquantum.tensornet.QiskitParserOptions¶
- class cuquantum.tensornet.QiskitParserOptions(decompose_gates: bool = True, check_diagonal: bool = True)[source]¶
A data class for providing Qiskit parser options to the
CircuitToEinsum
class.- decompose_gates¶
If True (default), the parser will decompose all standard gates into a sequence of gates that act on at most two qubits. Custom (user-defined or opaque) gates will be preserved as-is. If False, each gate in the circuit is treated as a logical unit, regardless of its qubit width.
- Type