mahout

QuMat Class Methods

:::tip Auto-Generated API Documentation For complete auto-generated API documentation with type signatures and examples extracted directly from source code, see the Python API Reference. :::

Quick Reference

__init__(self, backend_config)

create_empty_circuit(self, num_qubits)

apply_not_gate(self, qubit_index)

apply_hadamard_gate(self, qubit_index)

apply_cnot_gate(self, control_qubit_index, target_qubit_index)

apply_toffoli_gate(self, control_qubit_index1, control_qubit_index2, target_qubit_index)

apply_swap_gate(self, qubit_index1, qubit_index2)

apply_cswap_gate(self, control_qubit_index, target_qubit_index1, target_qubit_index2)

apply_pauli_x_gate(self, qubit_index)

apply_pauli_y_gate(self, qubit_index)

apply_pauli_z_gate(self, qubit_index)

apply_t_gate(self, qubit_index)

execute_circuit(self)

get_final_state_vector(self)

draw_circuit(self)

apply_rx_gate(self, qubit_index, angle)

apply_ry_gate(self, qubit_index, angle)

apply_rz_gate(self, qubit_index, angle)

apply_u_gate(self, qubit_index, theta, phi, lambd)

execute_circuit(self, parameter_values=None)

bind_parameters(self, parameter_values)

_handle_parameter(self, param_name)

swap_test(self, ancilla_qubit, qubit1, qubit2)

measure_overlap(self, qubit1, qubit2, ancilla_qubit=0)