API reference#
In this section we present the main Qibo components and primitives included in the public API.
- Models
- Circuit models
- Circuit
- Circuit addition
- Circuit fusion
- Quantum Fourier Transform (QFT)
- Variational Quantum Eigensolver (VQE)
- Adiabatically Assisted Variational Quantum Eigensolver (AAVQE)
- Quantum Approximate Optimization Algorithm (QAOA)
- Feedback-based Algorithm for Quantum Optimization (FALQON)
- Style-based Quantum Generative Adversarial Network (style-qGAN)
- Grover’s Algorithm
- Travelling Salesman Problem
- Time evolution
- Error Mitigation
- Circuit models
- Gates
- Abstract gate
- Single qubit gates
- Two qubit gates
- Controlled-NOT (CNOT)
- Controlled-phase (CZ)
- Controlled-rotation X-axis (CRX)
- Controlled-rotation Y-axis (CRY)
- Controlled-rotation Z-axis (CRZ)
- Controlled first general unitary (CU1)
- Controlled second general unitary (CU2)
- Controlled third general unitary (CU3)
- Swap (SWAP)
- iSwap (iSWAP)
- f-Swap (FSWAP)
- fSim
- fSim with general rotation
- Parametric XX interaction (RXX)
- Parametric YY interaction (RYY)
- Parametric ZZ interaction (RZZ)
- Special gates
- IONQ Native gates
- Channels
- Noise
- Hamiltonians
- Symbols
- States
- Callbacks
- Solvers
- Optimizers
- Gradients
- Quantum Information
- Parallelism
- Backends
Backend
Backend.set_precision()
Backend.set_device()
Backend.set_threads()
Backend.cast()
Backend.issparse()
Backend.to_numpy()
Backend.compile()
Backend.zero_state()
Backend.zero_density_matrix()
Backend.plus_state()
Backend.plus_density_matrix()
Backend.asmatrix()
Backend.asmatrix_parametrized()
Backend.asmatrix_fused()
Backend.control_matrix()
Backend.apply_gate()
Backend.apply_gate_density_matrix()
Backend.apply_gate_half_density_matrix()
Backend.apply_channel()
Backend.apply_channel_density_matrix()
Backend.collapse_state()
Backend.collapse_density_matrix()
Backend.reset_error_density_matrix()
Backend.thermal_error_density_matrix()
Backend.execute_circuit()
Backend.execute_circuit_repeated()
Backend.execute_distributed_circuit()
Backend.circuit_result_representation()
Backend.circuit_result_tensor()
Backend.circuit_result_probabilities()
Backend.calculate_symbolic()
Backend.calculate_symbolic_density_matrix()
Backend.calculate_probabilities()
Backend.calculate_probabilities_density_matrix()
Backend.set_seed()
Backend.sample_shots()
Backend.aggregate_shots()
Backend.samples_to_binary()
Backend.samples_to_decimal()
Backend.calculate_frequencies()
Backend.sample_frequencies()
Backend.partial_trace()
Backend.partial_trace_density_matrix()
Backend.entanglement_entropy()
Backend.calculate_norm()
Backend.calculate_norm_density_matrix()
Backend.calculate_overlap()
Backend.calculate_overlap_density_matrix()
Backend.calculate_eigenvalues()
Backend.calculate_eigenvectors()
Backend.calculate_matrix_exp()
Backend.calculate_expectation_state()
Backend.calculate_expectation_density_matrix()
Backend.calculate_hamiltonian_matrix_product()
Backend.calculate_hamiltonian_state_product()
Backend.test_regressions()
- Models for High Energy Physics