pyquil package¶
Subpackages¶
- pyquil.api package
- pyquil.experiment package
CalibrationMethodExperimentExperiment.append()Experiment.build_setting_memory_map()Experiment.build_symmetrization_memory_maps()Experiment.count()Experiment.extend()Experiment.generate_calibration_experiment()Experiment.generate_experiment_program()Experiment.get_meas_qubits()Experiment.get_meas_registers()Experiment.index()Experiment.insert()Experiment.pop()Experiment.remove()Experiment.reverse()Experiment.serializable()Experiment.setting_strings()Experiment.settings_string()Experiment.sort()
ExperimentResultExperimentResult.additional_resultsExperimentResult.calibration_countsExperimentResult.calibration_expectationExperimentResult.calibration_std_errExperimentResult.expectationExperimentResult.raw_expectationExperimentResult.raw_std_errExperimentResult.serializable()ExperimentResult.settingExperimentResult.std_errExperimentResult.total_counts
ExperimentSettingOperatorEncoderSIC0()SIC1()SIC2()SIC3()SymmetrizationLevelTensorProductStatebitstrings_to_expectations()correct_experiment_result()get_results_by_qubit_groups()group_settings()merge_disjoint_experiments()merge_memory_map_lists()minusX()minusY()minusZ()plusX()plusY()plusZ()ratio_variance()read_json()to_json()zeros_state()
- pyquil.external package
- pyquil.latex package
- pyquil.quantum_processor package
- pyquil.simulation package
NumpyWavefunctionSimulatorReferenceDensitySimulatorReferenceDensitySimulator.do_gate()ReferenceDensitySimulator.do_gate_matrix()ReferenceDensitySimulator.do_measurement()ReferenceDensitySimulator.do_post_gate_noise()ReferenceDensitySimulator.expectation()ReferenceDensitySimulator.reset()ReferenceDensitySimulator.sample_bitstrings()ReferenceDensitySimulator.set_initial_state()
ReferenceWavefunctionSimulatorReferenceWavefunctionSimulator.do_gate()ReferenceWavefunctionSimulator.do_gate_matrix()ReferenceWavefunctionSimulator.do_measurement()ReferenceWavefunctionSimulator.do_post_gate_noise()ReferenceWavefunctionSimulator.expectation()ReferenceWavefunctionSimulator.reset()ReferenceWavefunctionSimulator.sample_bitstrings()
get_measure_probabilities()targeted_einsum()targeted_tensordot()zero_state_matrix()- Submodules
Submodules¶
- pyquil.conftest module
- pyquil.diagnostics module
- pyquil.gates module
ADD()AND()CAPTURE()CCNOT()CNOT()CONVERT()CPHASE()CPHASE00()CPHASE01()CPHASE10()CSWAP()CZ()DECLARE()DELAY()DIV()EQ()EXCHANGE()FENCE()GE()GT()GateH()HALTI()IOR()ISWAP()LE()LOAD()LT()MEASURE()MOVE()MUL()NEG()NOPNOT()PHASE()PSWAP()PULSE()QUANTUM_GATESQUILT_INSTRUCTIONSRAW_CAPTURE()RESET()RX()RY()RZ()S()SET_FREQUENCY()SET_PHASE()SET_SCALE()SHIFT_FREQUENCY()SHIFT_PHASE()STANDARD_GATESSTANDARD_INSTRUCTIONSSTORE()SUB()SWAP()SWAP_PHASES()T()WAITX()XOR()XY()Y()Z()
- pyquil.noise module
INFINITYKrausModelNoiseModelNoisyGateUndefinedadd_decoherence_noise()append_kraus_to_gate()apply_noise_model()bitstring_probs_to_z_moments()combine_kraus_maps()correct_bitstring_probs()corrupt_bitstring_probs()damping_after_dephasing()damping_kraus_map()decoherence_noise_with_asymmetric_ro()dephasing_kraus_map()estimate_assignment_probs()estimate_bitstring_probs()get_noisy_gate()pauli_kraus_map()tensor_kraus_maps()
- pyquil.noise_gates module
- pyquil.operator_estimation module
- pyquil.paulis module
HASH_PRECISIONID()PauliSumPauliTermUnequalLengthWarningZERO()check_commutation()commuting_sets()exponential_map()exponentiate()exponentiate_commuting_pauli_sum()exponentiate_pauli_sum()integer_typesis_identity()is_zero()sI()sX()sY()sZ()simplify_pauli_sum()suzuki_trotter()term_with_coeff()trotterize()
- pyquil.pyqvm module
AbstractQuantumSimulatorAbstractQuantumSimulator.do_gate()AbstractQuantumSimulator.do_gate_matrix()AbstractQuantumSimulator.do_measurement()AbstractQuantumSimulator.do_post_gate_noise()AbstractQuantumSimulator.do_program()AbstractQuantumSimulator.expectation()AbstractQuantumSimulator.reset()AbstractQuantumSimulator.sample_bitstrings()
PyQVM
- pyquil.quil module
ProgramProgram.calibrate()Program.calibrationsProgram.copy()Program.copy_everything_except_instructions()Program.dagger()Program.declarationsProgram.declare()Program.defgate()Program.define_noisy_gate()Program.define_noisy_readout()Program.defined_gatesProgram.framesProgram.gate()Program.get_calibration()Program.get_qubit_indices()Program.get_qubits()Program.if_then()Program.inst()Program.instructionsProgram.is_protoquil()Program.is_supported_on_qpu()Program.match_calibrations()Program.measure()Program.measure_all()Program.measure_calibrationsProgram.no_noise()Program.out()Program.prepend_instructions()Program.reset()Program.resolve_label_placeholders()Program.resolve_placeholders()Program.resolve_placeholders_with_custom_resolvers()Program.resolve_qubit_placeholders()Program.resolve_qubit_placeholders_with_mapping()Program.waveformsProgram.while_do()Program.wrap_in_numshots_loop()
address_qubits()get_classical_addresses_from_program()instantiate_labels()merge_programs()merge_with_pauli_noise()percolate_declares()validate_protoquil()validate_supported_quil()
- pyquil.quilatom module
AddBinaryExpDivExpressionFormalArgumentFrameFunctionLabelLabelPlaceholderMemoryReferenceMulParameterPowQubitQubitPlaceholderQuilAtomSubTemplateWaveformWaveformInvocationWaveformReferenceformat_parameter()qubit_index()quil_cis()quil_cos()quil_exp()quil_sin()quil_sqrt()substitute()substitute_array()unpack_classical_reg()unpack_qubit()
- pyquil.quilbase module
AbstractInstructionArithmeticBinaryOpCaptureClassicalAddClassicalAndClassicalComparisonClassicalConvertClassicalDivClassicalEqualClassicalExchangeClassicalExclusiveOrClassicalGreaterEqualClassicalGreaterThanClassicalInclusiveOrClassicalLessEqualClassicalLessThanClassicalLoadClassicalMoveClassicalMulClassicalNegClassicalNotClassicalStoreClassicalSubDeclareDefCalibrationDefCircuitDefFrameDefGateDefGateByPaulisDefMeasureCalibrationDefPermutationGateDefWaveformDelayDelayFramesDelayQubitsFenceFenceAllGateHaltIncludeJumpJumpTargetJumpUnlessJumpWhenLogicalBinaryOpMeasurementNopPragmaPulseRawCaptureResetResetQubitSetFrequencySetPhaseSetScaleShiftFrequencyShiftPhaseSimpleInstructionSwapPhasesUnaryClassicalInstructionWait
- pyquil.quiltcalibrations module
- pyquil.quiltwaveforms module
- pyquil.wavefunction module