xyz

quantum-xyz — quantum circuit synthesis library.

Top-level public API. For anything not listed here, import from the appropriate sub-package (xyz.gates, xyz.synthesis, xyz.passes, xyz.io, xyz.state, xyz.utils).

Functions

D_state(num_qubits, num_bits)

Dicke state.

prepare_state(state[, map_gates, ...])

Prepare the target state by synthesizing a quantum circuit.

quantize_state(state_vector)

Quantize a state to the number of qubits .

simulate_circuit(circuit)

Simulate a circuit .

Classes

QCircuit(num_qubits[, map_gates, qubits])

QState(index_to_weight, num_qubit)

Class method for QState.

stopwatch(name[, verbose])

Create a new Stopwatch class .