qutip/qutip-qip

View on GitHub

Showing 161 of 175 total issues

Unexpected spaces around keyword / parameter equals
Open

pytest.param(LinearSpinChain, {}, id = "LinearSpinChain"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(False, id = "No schedule"),
Severity: Minor
Found in tests/test_compiler.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(circuit2, LinearSpinChain, {}, id = "LinearSpinChain"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

result = processor.run_state(init_state = basis([2,2], [0,0]))
Severity: Minor
Found in tests/test_compiler.py by pep8

Module level import not at top of file
Open

from qutip_qip.qiskit.provider import (
Severity: Minor
Found in tests/test_qiskit.py by pep8

Missing whitespace after ','
Open

result = processor.run_state(basis([2,2], [0,0]))
Severity: Minor
Found in tests/test_compiler.py by pep8

Missing whitespace after ','
Open

assert(abs(fidelity(result.states[-1], basis([2,2], [1,1])) - 1.) < 1.e-6 )
Severity: Minor
Found in tests/test_compiler.py by pep8

Missing whitespace after ','
Open

assert(abs(fidelity(result.states[-1], basis([2,2], [1,1])) - 1.) < 1.e-6 )
Severity: Minor
Found in tests/test_compiler.py by pep8

Missing whitespace after ':'
Open

pytest.param(DispersiveCavityQED, {"g":0.1}, id = "DispersiveCavityQED"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(circuit, DispersiveCavityQED, {"g":0.1}, id = "DispersiveCavityQED"),
Severity: Minor
Found in tests/test_device.py by pep8

Continuation line under-indented for visual indent
Open

(DriftNoiseError1, "error"),
Severity: Minor
Found in tests/test_noise.py by pep8

Module level import not at top of file
Open

from packaging.version import parse as parse_version
Severity: Minor
Found in tests/test_optpulseprocessor.py by pep8

Missing whitespace after ','
Open

tlist=np.linspace(0,1,10), targets=0)
Severity: Minor
Found in tests/test_processor.py by pep8

Missing whitespace around operator
Open

tlist = abs(gate.arg_value) / (2 * g) / np.pi/ 2
Severity: Minor
Found in tests/test_compiler.py by pep8

Whitespace before ')'
Open

assert(abs(fidelity(result.states[-1], basis([2,2], [1,1])) - 1.) < 1.e-6 )
Severity: Minor
Found in tests/test_compiler.py by pep8

Missing whitespace after ':'
Open

pytest.param(circuit, SCQubits, {"omega_single":[0.02]*3}, id = "SCQubits"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(circuit, SCQubits, {"omega_single":[0.02]*3}, id = "SCQubits"),
Severity: Minor
Found in tests/test_device.py by pep8

Module level import not at top of file
Open

import qutip
Severity: Minor
Found in tests/test_optpulseprocessor.py by pep8

Module level import not at top of file
Open

from qutip_qip.operations import (
Severity: Minor
Found in tests/test_optpulseprocessor.py by pep8

Missing whitespace after ','
Open

tlist=np.linspace(0,1,10), targets=0)
Severity: Minor
Found in tests/test_processor.py by pep8
Severity
Category
Status
Source
Language